Skip to content

ci: let the runner pool route jobs via CI_* variables - #16

Merged
sak0a merged 1 commit into
masterfrom
ci/runner-pool-routing
Nov 19, 2026
Merged

sak0a merged 1 commit into
masterfrom
ci/runner-pool-routing

Conversation

@sak0a

@sak0a sak0a commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

What changed

.github/workflows/ci.yml: the runs-on of both jobs (offline, packed-consumers) now reads the CI_LINUX repository variable that the runner-pool controller writes:

runs-on: ${{ fromJSON(format(vars.CI_LINUX || '["ubuntu-latest"]', github.run_id, github.run_attempt)) }}

2 runs-on lines changed, plus a one-line comment. Job names, steps, permissions and triggers are untouched.

Behaviour when the variable is unset

Unchanged: the literal default is ubuntu-latest, the label the jobs use today. This applies wherever vars is empty, for example on pull requests from forks.

Jobs left alone

None; this workflow only has these two jobs.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • CI jobs can now use a configured Linux runner, with a default runner when none is specified.

Both CI jobs now read their runner labels from the CI_LINUX repository
variable written by the runner-pool controller. When the variable is
unset (for example on fork pull requests) they fall back to
ubuntu-latest, the label they use today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T14:16:52.063727Z b4c770b PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The offline and packed-consumers jobs now select runners from the CI_LINUX repository variable, with ubuntu-latest as the fallback.

Changes: CI runner selection

Layer / File(s) Summary
Configure job runners
.github/workflows/ci.yml
Both jobs use a CI_LINUX-based runner expression, formatted with the GitHub run ID and attempt. The expression defaults to ["ubuntu-latest"] when the variable is unset or empty.

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

Change: Other

Merge Risk: Minimal · up to b4c77

Both CI jobs now pick their runner from the CI_LINUX variable and fall back to ubuntu-latest when it is unset. The change is small and easy to revert. Make sure the runner-pool controller writes CI_LINUX as a JSON-encoded value.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: let the runner pool route jobs via CI_* variables" matches the change. Both the offline and packed-consumers jobs in .github/workflows/ci.yml now read runs-on from the CI_LINUX reposito…
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: Title check

Explanation

The title "ci: let the runner pool route jobs via CI_* variables" matches the change. Both the offline and packed-consumers jobs in .github/workflows/ci.yml now read runs-on from the CI_LINUX repository variable, with ubuntu-latest as the fallback when the variable is unset or empty. The objectives confirm this intent. The title names the main change, though it says CI_* rather than the specific CI_LINUX variable, which is a minor broadening and does not make it misleading.

Finishing Touches

Generate unit tests (beta)

  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c72cc887-fe9b-4f2d-b9b5-51f865e8fd78
Commits

Reviewing files that changed from the base of the PR and between b5ce65b and b4c770b.

Files selected for processing: 1

  • .github/workflows/ci.yml

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

@sak0a
sak0a merged commit 67cc614 into master Nov 19, 2026
3 checks passed
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