Skip to content

gate-plan: a run on a reserved final ref hosts no group (hosted Macs M3) - #158

Merged
SSFSKIM merged 1 commit into
masterfrom
hosted-final-rule
Oct 26, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
hosted-final-rule

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 26, 2026

Copy link
Copy Markdown
Owner

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's ci/hosted/<suffix> ref and write no bundle.

This change makes gate-plan.mjs place no group hosted on a run whose ref starts with ci/<label>- for a label in the new FINAL_LABELS (e1-final, e2-final, h-final, p3f-final), whatever the lane or the lists say. The summary says why.

  • Labels: all four are covered, not only h-final. dashboard writes its bundle on ci/e2-final-* and ci/p3f-final-*, and design on ci/e1-final-*.
  • How the ref is read: gate-plan reads GITHUB_REF, then GITHUB_REF_NAME, with refs/heads/ stripped, the same way the bundle reporter does.
  • Why an explicit list: a -final- pattern would wrongly catch a branch label such as hosted-final-rule.

With this landed, connectors, dashboard and design can be admitted like any other group.

Validation Evidence

  • Class 1a static on 840f949 (on b765e7f, after ci: keep measured and live e2e jobs on the home Mac #155): scripts/ci-gate.sh … --gates static → run 40292648237 success.
  • gate-plan.test.mjs: 57/57 passing. It now covers:
    • on a final ref, under either variable, with or without Lane: hosted and with listed groups, the outputs equal a no-hosted run's byte for byte;
    • ordinary refs still host;
    • FINAL_LABELS equals the reporters' labels plus MAWS_E2E_FINAL_BUNDLE's;
    • the test helper blanks GITHUB_REF, so a static run that is itself on a final ref cannot skew the placement tests.
  • ci: keep measured and live e2e jobs on the home Mac #155 untouched: its placement of measured groups and live runs on ci-kit-mac-home is unchanged.
  • Review: doperpowers:reviewer-high found 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)

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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T09:00:54.899702Z 840f949 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.

@SSFSKIM
SSFSKIM merged commit b92a4b1 into master Oct 26, 2026
SSFSKIM added a commit that referenced this pull request Oct 26, 2026
…dmission changes #156, #158, #159; transcript's hosted hold on the debt tracker

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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