Skip to content

gate-plan: the default set holds packaged wherever it would take a hosted Mac - #425

Merged
SSFSKIM merged 1 commit into
masterfrom
packaged-default-hosted
Nov 1, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
packaged-default-hosted

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

What changes

The plan's default set (what ci-gate.sh --gates all and a dispatch with no gates both run) now includes packaged whenever packaged would run on GitHub's hosted Macs. That condition is gate-plan's existing packagedHosted:

  • the direct route;
  • HOSTED_MAC_JOBS admits packaged;
  • a macOS e2e lane;
  • not a reserved final ref.

On the mirror route and on final refs, packaged would build on the mini, so there it stays explicit (Gates: packaged), as before.

Run packaged before packaged after
default set, direct route, macOS lane (today's landing gates) not run packaged 1/2 and packaged 2/2 on macos-26
default set under Lane: hosted or no-hosted not run runs: Lane moves e2e groups only, as today for an explicit packaged
default set on mirror, a Linux lane, an unlisted HOSTED_MAC_JOBS, or a final ref not run not run
any Gates: set as asked as asked

The code changes:

  • finalRef and packagedHosted move above the default set, which now reads them.
  • The summary's "From:" names packaged only when packaged joined. So mirror's planner output stays byte-identical, and the captured mirror fixture test still passes.
  • The comments in gate.yml and ci-gate.sh that said packaged runs only on request are updated.

Why

e2e/render-host.spec.ts:144 (O5 M3, on master since #418) fails every time under the packaged binary (run 41266007870, attempt 1 and its rerun). It reached master unseen because packaged ran only when asked for by name, and --gates all is the default set: no landing gate and no default run ever built the packaged app. The packaged app is what the owner runs, and the PRs still to land in this wave (O5 landing 2, O7, O16) all change main-process code it runs.

Cost

Each default run on the direct route gains two hosted macOS jobs. On run 41266007870 they took 18–23 min each. Beside a full set of about 35 Mac jobs, that is roughly 6% more hosted time per full gate. They draw on the account's five macOS slots. The Enterprise move raises that limit to 50 (plan 2026-10-31-maws-org-enterprise-move.md).

Proposed tech-debt row (the architect's to place):

| 2026-11-01 | CI-opt, hosted-slot cap | The default set's two packaged shards take two of the account's five hosted macOS slots for about 20 minutes on every direct default run. gate-plan's EC2 overflow estimate (overflowOf, HOSTED_MAC_CAP) counts this run's hosted e2e entries but not those two shards, so on a default run it reads the hosted queue as two jobs shorter than it is. The old-rule shadow count, which the EC2 release reads, is unaffected. | .github/scripts/gate-plan.mjs (overflowOf, packagedHosted) | Cleared by the Enterprise move (50 slots). Before that, only if the overflow placements are seen to lag. |

Verification

  • .github/scripts/gate-plan.test.mjs: 105/105, on the Mac mini, since the MacBook is under a CPU hold. One new case covers the default set holding packaged on the direct hosted route (runner, shards, summary), on dispatch, and under both hosted lanes. It also covers packaged staying out on mirror or no route, an unlisted HOSTED_MAC_JOBS, a Linux lane, a narrowed Gates: set, and each final ref.
  • scripts/ci-gate-alerts.test.mjs: 35/35. Its plan-driven Mac-job check sees the hosted packaged shards as off the Mac, so the alert gate doesn't change.
  • Gate: GREEN, run 41271961327, on head 83b0798, rebased onto O5's fix render-host e2e: read main's stderr from its spawn, so the packaged binary's early ready line is not missed #426 (c2ddf0a). The run used --gates all --lane hosted --class1a pool --peer none with no Gates: trailer, so the plan's default set. That default set placed packaged 1/2 (25 min) and packaged 2/2 (20 min) on macos-26, and both passed, beside every e2e group, class 1a and unit:darwin. A spot reclaim of its pool VM interrupted unit 3/4, which passed on ci-gate's automatic rerun (attempt 2).

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

@chatgpt-codex-connector

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 ⚠️ Failed 2026-11-01T03:37:07.325081Z
We couldn’t complete this review. Comment @codex review to try again.
b64716b 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

…sted Mac

render-host.spec.ts:144 went red only under the packaged binary and landed
unseen (#418, #424): packaged was explicit-only, and --gates all is the
plan's default set, so no landing gate and no default run ever built the
packaged app. Where packaged would run on GitHub's hosted Macs
(packagedHosted: the direct route, HOSTED_MAC_JOBS admits it, a macOS lane,
not a reserved final ref) the default set now holds it, as two macos-26
shards. Mirror and final refs, where it would build on the mini, keep it
explicit. finalRef and packagedHosted move above the default set, which
reads them; the summary's From names packaged only when it joined.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM
SSFSKIM force-pushed the packaged-default-hosted branch from b64716b to 83b0798 Compare November 1, 2026 04:08
@SSFSKIM
SSFSKIM merged commit 3b04186 into master Nov 1, 2026
@SSFSKIM
SSFSKIM deleted the packaged-default-hosted branch November 1, 2026 06:39
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
… set holds packaged where it takes a hosted Mac); P5 Decision Log 186 (O5's render-host scene fixed under the packaged app, M7 promotes offscreen tab views, landing 2 is M5 to M7, the browser step cut to a new child O17); a tracker row for the hosted-slot cap; the wave 2 ledger gains O5 M6's names

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…425 and #426) into p5-o5-l2

gate.yml: the packaged job's header takes #425's text with this branch's packaged unit check named in shard 1's list.

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