Repository navigation
ci: keep unit-daemon e2e groups out of the home account - #412
Merged
Merged
Conversation
Route LAUNCHD_E2E off hosted to the guest alone or EC2, refuse home-account conflicts and unavailable EC2, and sweep units before stopping peer processes. 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. |
Disable actual EC2 overflow for every group while preserving the old-rule shadow count. Only a protected group's mandatory non-hosted EC2 placement refuses. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Update the real-planner launcher regression to require the EC2-specific runner instead of the home account's generic Mac labels. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Pass MAC_EC2 through local planner inputs. Share placement-independent peer eligibility so a held check can remove mandatory EC2 work before final validation, while unheld and explicit checks retain the refusal. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Discover this run's eligibility before placement, but reject older candidates whose own ref or lane cannot produce a peer verdict. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 31, 2026
…for landing 1 O7 M2 (#410), CI-opt's #412 (LAUNCHD_E2E, the sweep before gate-peer.sh stop) and #416 (e2e:remote on the hosted Macs), #411, #414, #415. Conflicts reconciled side by side: the render and remote namespaces in names, grades, schema and its test, and the link surface's client rules; the router's host binding keeps daemonRenders under master's routeLaneB; the default-spec count is 103 (render-host and remote); gate.yml's comment keeps both groups' notes. #410's host-supervisor forward and StandIn.clients hunks merged to master's text (no duplicate). The wire minor and the generated snapshots follow in their own commits. 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.
Enforce the architect's ruling: e2e groups that install a unit daemon never run in the mini's home account, where the owner's real mawsd lives.
What changes
LAUNCHD_E2E: cross-build daemon-unitis the single workflow list for protected placement and cleanup. Outside hosted/overflow placement, listed groups take the proven guest alone, or EC2. Peer groups never take the guest; neither current group is admitted to it, so both use EC2 when not hosted.MEASURED_E2E,MAC_HOME_E2EorMAC_SHARED_E2E, live runs, and a listed group's EC2 placement whenMAC_EC2=off. Both workflow planner callers receive the repository variable; nothing sets it.launchd: true, including hosted, guest and overflow entries. The shared e2e steps sweep those units before stopping peer processes, so a leftover KeepAlive unit cannot relaunch after the stop.Placement pinned by tests
Cross-build has the same placement on Linux and macOS lanes. Daemon-unit is macOS-only. A future effective guest admission sends a non-hosted daemon-unit to the guest alone (trial guest under vm-trial); cross-build stays off the guest even if listed. Neither group is newly admitted here.
Verification
Head:
1afa327d7a2652f7f5356ed549212e24c315f021.scripts/ci-gate.test.mjs: the protected peer now requires EC2, not generic Mac labels. Updated that assertion; the launcher file passes 26/26 locally. A search of both caller-test directories found no other real-workflow placement expectation needing changes. Run 41232746889 was cancelled after this fixture fix superseded its head.origin/masterwith--gates static --class1a pool --peer none --label launchd-groups-off-home. This repository has no automatic PR-branch checks; gate.yml runs on ci/** pushes or dispatch.Review follow-up
Both P2 findings are fixed in
7583cbd5e:MAC_EC2now passes through the shared local planner-variable list and the launcher’s identity/pool-demand handoffs. The preflight no longer blocks hosted-only work on an EC2 alert when EC2 is off.Final candidate-validation correction
1afa327d7limits placement-independent eligibility to the current run. Older holder candidates again go through their full plan with their own ref and lane, so a no-hosted candidate that must refuse with EC2 off cannot suppress a newer direct-hosted peer job. The regression first returned the invalid hold90 plan in_progress; after the fix it leaves cross-build on macos-26 with no waiter. All four authorized files pass 188/188 serially. Final-head static acceptance 41234805652 passed on attempt 1: plan and static succeeded, the launcher exited 0 and removed its temporary CI ref. Same detached origin/master launcher and prescribed flags.For the architect
This includes both O5 landing 1 cleanup changes: cross-build participates through the shared list, and the sweep runs before peer stop. Whichever lands second rebases.
MAC_EC2remains unset for CI-opt to set at release. WithMAC_EC2=off, optional overflow stays hosted for every group, listed or not; the old-rule shadow count stays unchanged. Only a listed group requiring EC2 outside hosted placement refuses. This follows CI-opt’s correction of the initial implementation: the new regression first reproduced the erroneous whole-run refusal, then passed with all three eligible groups hosted and the shadow count still three.This PR is for the architect to land; this worker does not merge it.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)