Repository navigation
ci: overflow hosted-eligible e2e to the mini when it would start sooner, only on lanes it publishes as free - #535
Merged
Merged
Conversation
Sample mini capacity and fail-closed published lane holds alongside the hosted and EC2 queues. Choose the earliest expected start, preserve guest placement and retries, and carry target names through peer checks and relaunches. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Preserve lanesAt through sampling and reject expired or future publication time at planning. Require strictly typed ISO UTC timestamps and publication fields; malformed availability holds the mini without discarding EC2 backlog. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
…rst-overflow Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis 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
Nov 8, 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 owner asked for this (2026-11-08). Over the previous 24 h the Mac mini ran about 5 job-hours, against 22 on GitHub's hosted macOS (5 at a time). When the hosted queue is long, hosted-eligible e2e groups wait while the mini idles. The planner already overflowed such groups to EC2; EC2 is released (MAC_EC2=off), and the planner said "the mini is never overflow". Now the mini is a target the same way.
Sampler (
scripts/ci-gate-backlog.mjs, the Mac-Backlog trailer):ci-kit-mac-ec2runner now means EC2 offline. Before, it threw. So every sample since EC2's release had failed ("Mac backlog unavailable"), and placement fell back to normal.Lane availability comes from the repo variable
MAC_MINI_LANES, which the mini publishes (ci-kit CI: guard public self-hosted workflows against outside triggers #197, deployed 2026-11-08 10:28Z withinstall.sh --publish-lanes).lanesAt) or unreadable value holds both lanes.Planner (
gate-plan.mjs): each eligible direct group goes where it is expected to start soonest:MINI_SLOTS= 1.Ties stay hosted. Between EC2 and the mini, the mini wins.
MAC_MINI_OVERFLOWis on unless set tooff(architect 1316). A mini-overflowed group takes its no-hosting placement,placed(group): host labels, or the guest's for MAC_VM_E2E groups, with their variant and timeouts. It keeps the hosted retry policy; the retry and flaky guards now covere2e-vmtoo. Groups whose normal placement needs EC2 (LAUNCHD without a usable guest) are never mini candidates. EC2's shadow accounting is unchanged.Names: an entry's
overflowis'ec2'or'mini', and job names read(EC2 overflow)or(mini overflow). Every consumer of that suffix is updated: alerts, refusals, ci-gate's tail, peer-held and peer-wait.Review: an independent review (reviewer-medium) found two fail-closed defects, both fixed with tests that reproduce them (dfee238): the publication's age wasn't rechecked at plan time, and a non-string timestamp was coerced.
Tests: 278/280 focused locally. The 2 failures are launcher import-coverage tests that need TypeScript, and they fail on master too. Gate 42474110066 (static, unit) on the merge with master 5fc234d: GREEN.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)