Repository navigation
let the paid live suites run at once from one checkout - #360
Draft
polyominal wants to merge 1 commit into
Draft
polyominal wants to merge 1 commit into
polyominal wants to merge 1 commit into
Conversation
`cargo xtask live ec2`, `live ec2 --lost` and `live modal` each built the smoke's task repository at `target/live/repo`. Each run began by deleting the last run's copy of `examples`. So a suite started while another ran deleted that one's files and replaced its install. The suites ran one after another, though the controller takes concurrent jobs. Each suite now builds `live/<target>/repo` in the target directory, or `live/<target>-lost/repo` with `--lost`. Each keeps a `.pumpkin` workspace of its own: its install, its run records and its client state of the controller. What the suites still share holds when they run at once. Cargo serializes the builds in the target directory. The tool cache and the musl compiler's links are replaced by rename. The controller takes an install of a build that another client put there first. Each check looks only for its own run's id. Two `--lost` suites still clash. The reap of each takes every ended or lost run on the controller. It can remove the other run's sandboxes before they end by themselves. The help says to run one `--lost` at a time. AI-assisted: claude-opus-5.5
polyominal
marked this pull request as draft
November 22, 2026 12:03
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.
A contributor can now start
cargo xtask live ec2,cargo xtask live ec2 --lostandcargo xtask live modalat once from one checkout. They then wait for the slowest suite, not for the sum of all three. The controller already takes concurrent jobs. Only the suites' local task repository kept them apart.What clashed
Each suite built the smoke's task repository at
target/live/repo. Each run began by deleting the last run's copy ofexamples. So a suite started while another ran deleted that one's files and replaced its install in.pumpkin/bin.Each suite now builds its own:
live/<target>/repoin the target directory, orlive/<target>-lost/repowith--lost. For the gate's suites these aretarget/live/ec2/repo,target/live/ec2-lost/repoandtarget/live/modal/repo. Each keeps a.pumpkinworkspace of its own, with its install, its run records and its client state of the controller. A checkout's oldtarget/live/repois no longer used.cargo cleanremoves it.What the suites still share
HEAD. Cargo doesn't link a fresh artifact again, so one suite's copy from the target directory never meets another's build. The pinned tools' cache and the musl compiler's links intarget/musl-ccare replaced by rename.~/.config/pumpkin/ssh. The key is made once, by rename. The pinned key isn't written again.systemctl killare its run's own.pumpkin reapleaves a live run to its driver. A record appears only once its driver holds the lock. So a--lostsuite's reap leaves the other suites' running runs alone. The lost check already ignores a reap failure that names other runs alone.Two
--lostsuites at once still clash. The reap of each takes every ended or lost run on the controller. It can remove the other run's sandboxes before they end by themselves, which that check is meant to show. The--losthelp now says to run one--lostat a time. The release gate runs one,ec2 --lost.The same reap can also take a non-lost suite's run in the seconds between that run's end and its check of what is left. It would then hide what that run left. The reap comes about 95 to 110 minutes after the
--lostsuite starts, so this needs the other run to end in that window. Another member's reap on the controller can do the same today.Two runs of one target at once, such as
live modalwith two GPU models, still share a task repository. The help says that different targets can run at once.live dockerinstalls intobin/livein the checkout and doesn't usetarget/live.Verification
cargo xtask cipasses.examplesand installed the build in its own task repository: the three copies came within about a second of one another, and the three installs within 7 ms. Each then stopped atpumpkin-admin check's read of the missing SSM parameter, before any run started.live ec220261122-114350-2dd1c54e,live ec2 --lost20261122-114414-71f37461(the reap left nothing) andlive modal20261122-114410-7605d6b0passed, started at once from this checkout, each in its own task repositoryAI-assisted: claude-opus-5.5