Repository navigation
ci: shard the hosted packaged gate across two Macs - #370
Merged
Merged
Conversation
Build once per hosted shard, keep every self-hosted route unsharded, and preserve shard identities in reports and relaunch summaries. 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. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 30, 2026
…370); the mirror route's runs-on also matches the EC2 Mac desktop Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 30, 2026
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.
The direct hosted
packagedgate now runs as two jobs,packaged 1/2andpackaged 2/2, each building the unsigned app and running its half of the bare Playwright collection. Every self-hosted route still builds once and runs the unsharded suite.Why
The hosted bare suite is approaching the job's 45-minute timeout. Master run 41020368991 collected 452 tests, with 213 passed and 239 skipped in 30.5 minutes before the small checks. An O3-D run reached test 382 of 456 before the timeout, with nothing failed. Two hosted Macs supply parallel capacity without putting a second build on the mini.
What changes
packaged_shards, following the unit job's matrix pattern. Only admitted direct-hosted placement gets two entries. Mirror, unlisted jobs, Linux lane fallback and reserved final refs retain one unsharded entry.pnpm e2e:packaged --shard=k/2. Shard 1 owns the supervisor, daemon-shape and voice checks, preserving their existing order and running each exactly once. Every job retains the launchd sweep.fail-fast: falselets the other shard finish if one fails.e2e-packaged-1of2ande2e-packaged-2of2; self-hosted retainse2e-packaged. The launcher downloads all artifacts into separate artifact directories, so no download selector changes are needed.--gates packaged. Preemption handling already preserves whole job names and excludes hosted runners; a regression test covers those shard names.Verification
Head
c84125a8aff59df4de8f8bb4b118dff4c54c20d5(basec7d9c9750)..github/scripts/gate-plan.test.mjs,scripts/ci-gate-alerts.test.mjs,scripts/ci-gate-refusals.test.mjsandscripts/ci-gate-preemptions.test.mjs. Tests first failed on the missing matrix and invalid relaunch gate names; both now pass. The legacy mirror snapshot remains unchanged after separately checking its newly added one-job matrix output.--runner macos --class1a pool --peer none --hosted-route direct --label packaged-shards.packaged 1/2: 24m15s job wall time; bare suite 98 passed + 132 skipped = 230, in 17.4m. Supervisor: 1 passed/1 skipped; daemon shape: 1 passed/1 skipped; voice: 1 passed.packaged 2/2: 19m49s job wall time; bare suite 115 passed + 107 skipped = 222, in 15.7m. All three small-check steps skipped, as intended.macos-26runners, passed fuse verification and launchd cleanup. Combined bare collection: 213 passed + 239 skipped = 452, exactly matching baseline 41020368991. The baseline and this head have no diff ine2e/,playwright.config.tsorpackage.json.gh pr checks --watchreports no checks and the PR'sstatusCheckRollupis empty. This repository's only workflow runs onci/**pushes or manual dispatch; the linked acceptance run is the verification.For the architect
The small checks stay together on shard 1 because they are short and keeping their existing sequence avoids changing their interaction. Sharding leaves the 45-minute timeout and the one-worker Playwright configuration unchanged. Review the placement matrix and the shard-to-gate normalization together.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)