Repository navigation
gate: the plan's hosted runner from GATE_LIGHT_RUNNER; docs and static on ubuntu-24.04 - #762
Conversation
…RUNNER From 2026-11-17 16:21Z GitHub acquires no ubuntu-slim runner for the SSFSKIM account: each slim job sits to the slim runner's hard 15-minute limit and is cancelled "not acquired by Runner of type hosted", and since the plan job runs there, every gate run ends at plan with every other job skipped (44124758589, 44127947614, 44128827340). ubuntu-latest and ubuntu-24.04 jobs on the account run normally. The three light jobs now read runs-on from the repository variable GATE_LIGHT_RUNNER, defaulting to ubuntu-slim, so an outage like this one is one variable flip (ubuntu-24.04) and back. GATE_RUNNER=macos still puts the plan on the Mac. The two tests that pin the plan's runs-on follow, and the pool-demand test reads the variable form as hosted. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55bea3095b
ℹ️ 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".
| needs: plan | ||
| if: needs.plan.outputs.docs == 'true' | ||
| runs-on: ubuntu-slim | ||
| runs-on: ${{ vars.GATE_LIGHT_RUNNER || 'ubuntu-slim' }} |
There was a problem hiding this comment.
Update the Mac-job walker for the new runner expressions
Every gate run selecting static now fails the existing Mac-job safety test: labelSets() in .github/scripts/gate-plan.test.mjs treats unrecognized runner expressions as potentially Mac-hosted, so these changes add both docs and static to refusedStartWalk().macJobs, while gateMacJobs still excludes them. Reproduced with node --test --test-name-pattern='a step of a Mac job' .github/scripts/gate-plan.test.mjs. Both the hosted gate-scripts matrix and static-local execute this test, so changing GATE_LIGHT_RUNNER cannot restore a green static gate until the walker or its expected job set is updated.
Useful? React with 👍 / 👎.
…_RUNNER gate-plan.test.mjs's refused-start walk reads a runs-on it cannot resolve as a Mac job, by design (a repository variable could name a self-hosted label), so a variable runs-on on docs and static listed both as Mac jobs and failed tests 148-150 (run 44132497714). The plan was already an expression the walk counts. docs and static take the literal ubuntu-24.04 instead: a minute each at the standard rate, and the next slim outage cannot stop them. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Why. From 2026-11-17 16:21Z GitHub acquires no
ubuntu-slimrunner for the SSFSKIM account. Each slim job sits to slim's hard 15-minute limit and is cancelled "The job was not acquired by Runner of type hosted even after multiple attempts"; the plan job runs there, so every gate run ends atplanwith all other jobs skipped (44124758589, 44127947614, 44128827340).ubuntu-latestjobs on the same account ran in seconds (probe: SSFSKIM/ci-kit branchprobe-slim); githubstatus green.Change.
planreadsruns-onfrom the repository variableGATE_LIGHT_RUNNER, defaulting toubuntu-slim(GATE_RUNNER=macosstill puts it on the Mac). During an outage set it toubuntu-24.04; unset it when slim is acquired again. The plan's runs-on pins inci-gate-alerts.test.mjsandci-gate-pool-demand.test.mjsfollow.docsandstatic(the roll-up) move to the literalubuntu-24.04. A variable there failedgate-plan.test.mjs's refused-start walk (tests 148-150, run 44132497714), which reads any runs-on it cannot resolve as a Mac job, rightly, since a variable could name a self-hosted label. A literal hosted label keeps the walk's guarantee; the cost is about a minute per run at the standard rate instead of slim's.Landing. Per the architect (1776): lands on master after B3, so it does not move B3's merge base; branches pick it up at their next merge-down. A
ci/**push runs the pushed tree's workflow, so the variable acts only on commits that contain this change.GATE_LIGHT_RUNNERis set toubuntu-24.04now; no workflow on master reads it.Verification. Run 44132497714 at 55bea30 proved the switch:
planran onubuntu-24.04while slim was out. At b771ffb,gate-plan.test.mjs,ci-gate-pool-demand.test.mjsandci-gate-alerts.test.mjspass locally (188 of 188); the static gate on Actions follows.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)