Skip to content

Move Linux CI jobs to self-hosted runner - #17

Merged
aditzel merged 1 commit into
mainfrom
cursor/self-hosted-linux-runners-ece2
Aug 25, 2026
Merged

Move Linux CI jobs to self-hosted runner#17
aditzel merged 1 commit into
mainfrom
cursor/self-hosted-linux-runners-ece2

Conversation

@aditzel

@aditzel aditzel commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Point Linux GitHub Actions jobs at the repo self-hosted runner ([self-hosted, Linux, X64]).
  • Updates test and validate-implementation in .github/workflows/test.yml.
  • Updates test and release in .github/workflows/release.yml.

Notes

  • No macOS/Windows jobs or matrix OS entries in this repo.
  • No Blacksmith-specific actions to replace.
  • junie.yml unchanged (reusable workflow call only; no local runs-on).
  • Triggers, job graphs, and secret handling left as-is.

Test plan

  • Confirm the self-hosted runner is Online and labeled self-hosted, Linux, X64.
  • Open/update a PR and verify the Test and Build workflow picks up the self-hosted runner.
  • Optionally dispatch Release (or push to main after merge) and confirm release jobs land on the same runner.
Open in Web Open in Cursor 

Target ubuntu-latest jobs in test and release workflows at
[self-hosted, Linux, X64] so they run on the registered runner.

Co-authored-by: Allan Ditzel <aditzel@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 407535e2-0dce-4e58-9a63-9f0543bfb1ff

📥 Commits

Reviewing files that changed from the base of the PR and between a490136 and a325701.

📒 Files selected for processing (2)
  • .github/workflows/release.yml
  • .github/workflows/test.yml

Summary by CodeRabbit

  • Chores
    • Updated automated testing and release processes to run on self-hosted Linux x64 infrastructure.
    • No changes to public features or application behavior.

Walkthrough

GitHub Actions test and release jobs now run on self-hosted Linux x64 runners instead of ubuntu-latest.

Changes

Runner migration

Layer / File(s) Summary
Workflow runner updates
.github/workflows/release.yml, .github/workflows/test.yml
The test, release, and implementation validation jobs now use self-hosted Linux x64 runners.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/self-hosted-linux-runners-ece2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aditzel
aditzel marked this pull request as ready for review August 25, 2026 19:26
@aditzel
aditzel merged commit 8209a08 into main Aug 25, 2026
5 checks passed
@aditzel
aditzel deleted the cursor/self-hosted-linux-runners-ece2 branch August 25, 2026 19:26

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a325701. Configure here.


release:
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release publish breaks on self-hosted

High Severity

The release job now runs on a self-hosted runner while still requiring npm OIDC trusted publishing and provenance (id-token: write, NPM_CONFIG_PROVENANCE, npm publish --provenance, and publishConfig.provenance). npm only accepts those from GitHub-hosted runners, so publishes fail with an E422 unsupported runner_environment error and releases stop shipping.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a325701. Configure here.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a325701d18

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


release:
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep npm OIDC publishing on a hosted runner

The release job has id-token: write but no npm token, so both the recovery npm publish and semantic-release rely on npm trusted publishing. npm's trusted-publishing requirements specify GitHub-hosted runners and state that self-hosted runners are unsupported; therefore any release that needs to publish a new package version will fail after this runner change. Keep this job on a GitHub-hosted runner or introduce a supported authentication path.

Useful? React with 👍 / 👎.

jobs:
test:
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep untrusted pull requests off the self-hosted runner

For pull requests, this job checks out contributor-controlled code and executes its build and tests on the self-hosted machine. If this repository accepts outside PRs and the runner is persistent or reused, an approved malicious PR can compromise the runner, retain credentials or persistence, and later intercept the write and OIDC tokens used by the release workflow sharing these labels. Use a GitHub-hosted runner for pull_request events or an isolated, ephemeral runner pool that cannot service privileged workflows.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants