Repository navigation
gate-plan: a run on a reserved final ref hosts no group (hosted Macs M3) - #158
Merged
Merged
Conversation
A final-bundle group (connectors' h-final, design's e1-final, dashboard's e2-final and p3f-final) writes the build it ran into the run's evidence only on its reserved ci/<label>- ref, on the runner that ran it. Hosted, it would run on maws-app's ref and runner, and no bundle could reach the run. So the plan reads the ref as final-bundle.ts does (GITHUB_REF or GITHUB_REF_NAME, less refs/heads/) and hosts nothing on a reserved one, whatever the lane or the list, and says so in the summary. A test keeps FINAL_LABELS equal to the reporters' labels and MAWS_E2E_FINAL_BUNDLE's. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review SummaryThis 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. |
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of hosted Macs M3 (ci-kit spec
docs/doperpowers/specs/2026-10-26-maws-hosted-mac-design.md, Placement; the architect's ruling, option (b)). Some e2e groups write an evidence bundle on their final run: connectors, dashboard and design. Their reporter writes it only on a reserved final ref (e2e/support/final-bundle.ts), on the private runner. If such a group ran hosted on a final run, the job would run on maws-app'sci/hosted/<suffix>ref and write no bundle.This change makes
gate-plan.mjsplace no group hosted on a run whose ref starts withci/<label>-for a label in the newFINAL_LABELS(e1-final, e2-final, h-final, p3f-final), whatever the lane or the lists say. The summary says why.ci/e2-final-*andci/p3f-final-*, and design onci/e1-final-*.GITHUB_REF, thenGITHUB_REF_NAME, withrefs/heads/stripped, the same way the bundle reporter does.-final-pattern would wrongly catch a branch label such ashosted-final-rule.With this landed, connectors, dashboard and design can be admitted like any other group.
Validation Evidence
scripts/ci-gate.sh … --gates static→ run 40292648237 success.gate-plan.test.mjs: 57/57 passing. It now covers:Lane: hostedand with listed groups, the outputs equal a no-hosted run's byte for byte;FINAL_LABELSequals the reporters' labels plusMAWS_E2E_FINAL_BUNDLE's;GITHUB_REF, so a static run that is itself on a final ref cannot skew the placement tests.ci-kit-mac-homeis unchanged.doperpowers:reviewer-highfound no material findings. It checked that the guard matches the bundle writer's ref selection, and that ordinary refs and the measured and live routing are unchanged.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)