Skip to content

ci: move secondary, scheduled and contract workflows to GitHub-hosted runners - #34568

Merged
OrcaWin merged 3 commits into
mainfrom
ci/hosted-runners-secondary
Oct 27, 2026
Merged

OrcaWin merged 3 commits into
mainfrom
ci/hosted-runners-secondary

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​10 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5
Prod 23 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​48 $\color{#cf222e}{\Huge{\mathbf{−}}}$​38 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​10

Moves secondary, scheduled, contract and maintenance workflows from Blacksmith to free GitHub-hosted standard runners (public repo, Enterprise concurrency).

  • Label mapping: blacksmith-*-ubuntu-2204 → ubuntu-22.04, -2404 → ubuntu-24.04, -2404-arm → ubuntu-24.04-arm, windows-2025 → windows-2025, macos-15/latest → macos-15/latest. fromJSON(...)[matrix.os] || matrix.os collapses to matrix.os.
  • dependency-security keeps its runner input; release-cut's runner: ubuntu-latest override is untouched.
  • node-next-compat passes runner: ubuntu-24.04 to unit-tests.yml so its shards restore the native cache its hosted prime job writes.
  • ci-xterm-cache seeds both Blacksmith and GitHub cache stores (same key, per-runner concurrency) until its PR consumer's runner pool is decided.

Release/build, benchmark, e2e.yml and unit-tests.yml are unchanged.

… runners

Public-repo standard hosted runners are free under Enterprise. Release, build,
benchmark, e2e and unit workflows stay on Blacksmith. ci-xterm-cache seeds both
cache stores since its PR consumer's pool is undecided.
@OrcaWin
OrcaWin requested a review from Jinwoo-H as a code owner October 27, 2026 22:03
#34148 pulled zod into the commit-message planner graph; the bundle in the
OS temp dir could not resolve it on any runner.
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 58f0f984-9715-439b-9277-a6c1f913d8ae
Commits

Reviewing files that changed from the base of the PR and between 5cdb94a and a69c5f9.

Files selected for processing: 2
  • .github/workflows/unit-tests.yml
  • config/scripts/ci-unit-module-cache.test.mjs
Walkthrough

Workflow jobs across CI, verification, release, and test workflows now use GitHub-hosted runner labels or matrix OS labels directly. The xterm cache seed job runs on both Blacksmith and GitHub ARM runners with separate concurrency groups. The dependency-security and Node compatibility workflows update runner configuration. A provider runtime smoke test now links node_modules into its bundle directory.

Priority: Low

Merge Risk: Low · previous review 5cdb9

The node compatibility workflow still sends relay integration jobs to Blacksmith, leaving this scheduled workflow dependent on the old runner pool.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the main runner migration and several important exceptions, but it omits required template sections and information, including the linked issue, testing results, visual proof … Add the required template sections. Provide an actual linked issue after "Fixes #", document testing and affected platforms, state "N/A" with a reason for visual proof, complete the checklist, and address review notes including security, cr…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the primary change: moving secondary, scheduled, and contract workflows to GitHub-hosted runners. It is concise and specific enough for the change history.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (22 skipped: 22 unsupported.)

Full details: Description check

Explanation

The description explains the main runner migration and several important exceptions, but it omits required template sections and information, including the linked issue, testing results, visual proof or an explicit N/A, checklist status, and review notes.

Resolution

Add the required template sections. Provide an actual linked issue after "Fixes #", document testing and affected platforms, state "N/A" with a reason for visual proof, complete the checklist, and address review notes including security, cross-platform, SSH, mobile, compatibility, and performance impact.

Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b4f0a200-1eda-473b-ba56-837742c025cf
Commits

Reviewing files that changed from the base of the PR and between c791ee2 and 5cdb94a.

Files selected for processing: 24
  • .github/workflows/ci-closed-pr-caches.yml
  • .github/workflows/ci-runner-demand.yml
  • .github/workflows/ci-xterm-cache.yml
  • .github/workflows/cloud-verify.yml
  • .github/workflows/computer-e2e.yml
  • .github/workflows/computer-macos-native.yml
  • .github/workflows/dependency-security.yml
  • .github/workflows/docs.yml
  • .github/workflows/node-next-compat.yml
  • .github/workflows/packaged-browser-e2e.yml
  • .github/workflows/pi-owner-runtime.yml
  • .github/workflows/pi-provider-runtime.yml
  • .github/workflows/preflight-cli-platforms.yml
  • .github/workflows/release-policy.yml
  • .github/workflows/release-ref-validation.yml
  • .github/workflows/ssh-hostile-hosts.yml
  • .github/workflows/ssh-windows-hosts.yml
  • .github/workflows/windows-typecheck-parity.yml
  • .github/workflows/wsl-orcad-e2e-frozen-runner-retry.yml
  • .github/workflows/wsl-orcad-e2e.yml
  • .github/workflows/zcode-credential-contract.yml
  • .github/workflows/zcode-transcript-contract.yml
  • config/scripts/ssh-windows-mobile-bundle.test.mjs
  • tests/tools/pi-provider-runtime-smoke.mjs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

with:
node_versions: '["24", "26"]'
# Shards restore the native cache primed above, so both use the same hosted cache.
runner: ubuntu-24.04

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor · Functional Correctness · Quick win

Supported by static analysis

Script executed:

sed -n '1,110p' .github/workflows/node-next-compat.yml
printf '\n--- unit-tests references ---\n'
rg -n -C 5 'relay_integration|runner:|runs-on:|workflow_call|inputs:' .github/workflows/unit-tests.yml .github/workflows

Repository: stablyai/orca

Length of output: 41372


Script executed:

printf '%s\n' '--- unit-tests relay block ---'
nl -ba .github/workflows/unit-tests.yml | sed -n '1,25p;55,75p;175,270p'
printf '%s\n' '--- targeted relay references and rationale ---'
rg -n -C 8 -F --glob '.github/workflows/*.yml' -e 'run_relay_integration' -e 'relay_integration' -e 'blacksmith-4vcpu-ubuntu-2404' .github/workflows

Repository: stablyai/orca

Length of output: 42710


Forward a separate runner input to relay_integration.

node-next-compat enables relay integration through the default run_relay_integration: true, but its runner: ubuntu-24.04 input applies only to unit shards. The relay matrix still runs on blacksmith-4vcpu-ubuntu-2404. Preserve existing callers by adding a separate relay runner input instead of changing the unit-shard input’s meaning.

Suggested fix
       runner:
         description: Hosted runner for the unit shards.
         required: false
         default: blacksmith-4vcpu-ubuntu-2404
         type: string
+
+      relay_runner:
+        description: Runner for relay integration.
+        required: false
+        default: blacksmith-4vcpu-ubuntu-2404
+        type: string
...
-    runs-on: blacksmith-4vcpu-ubuntu-2404
+    runs-on: ${{ inputs.relay_runner }}
       runner: ubuntu-24.04
+      relay_runner: ubuntu-24.04
       shards: ${{ needs.unit_plan.outputs.shards }}

@OrcaWin
OrcaWin merged commit 791502f into main Oct 27, 2026
99 of 101 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Oct 28, 2026
… runners (stablyai#34568)

* ci: move secondary, scheduled and contract workflows to GitHub-hosted runners

Public-repo standard hosted runners are free under Enterprise. Release, build,
benchmark, e2e and unit workflows stay on Blacksmith. ci-xterm-cache seeds both
cache stores since its PR consumer's pool is undecided.

* test(pi): resolve the smoke bundle's external packages from the repo

stablyai#34148 pulled zod into the commit-message planner graph; the bundle in the
OS temp dir could not resolve it on any runner.

* ci(unit): use four workers on the hosted four-core x64 runner

---------

Co-authored-by: OrcaWin <[email protected]>

(cherry picked from commit 791502f)
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.

1 participant