Public: anyone can read this; the crew can change it.
A hold's end always brings the games up, and a failed look at the hold cannot empty a sync's diagnosis #17761
Merged 9h ago, live in production
Two follow-ups to #17746, in the game box's agent. A held box that had its compose file up, was asked only to stop a service and then got its volume mounted by hand never came up again: .compose-sha still said the file was up.
-
Reviews
ApprovedApproved. Clearing .compose-sha and .up.failed at the moment a hold is written (vol_hold) means every way a hold ends brings the games up at the next sync, and the held box now reports an empty compose sha so the forge resends it. The mount path at line 300 already clears the sha, so removing the per-tick rm in job_tick loses nothing. The sync diag now survives a failed look at the hold, and the unreadable-hold test pins {why: unknown}. The tests cover the stop and pull queued while held, and the compose-up-then-held box. Nothing here touches a page or the terminal, so no new door or how-to is needed. Two things I would do next: (1) log a line when vol_hold discards a compose sha that was current, so a person reading the box's log sees why an up comes after the hold; (2) test the held tick for a
startqueued while held, since that one is answered false and re-asked at each sync. -
Checks
shipped production is serving it deploy c4333e8
-
History
- The wait for a held box's three results says when they never came 99fb413
- Merge the current base into game-hold-end 313d78b
- A stall's line says whether the thread was computing, queued for a CPU, or blocked (#17752) 411033b
- The watchdog's line says where the silent main thread sits (#17754) 4fe940a
- A hold's end always brings the games up, and an empty diag cannot hide a hold (#17610) a758642
- Merge pull request #17755 from sold/leaf-table-fetch-stub 38eecbb
- Merge pull request #17746 from sold/game-hold e95ca15
- Merge pull request #17750 from sold/leaf-table-2 a4750d3
- infra-page.test.ts puts the real network back when it ends 201dc8b
- Merge pull request #17751 from sold/boot-profile-guard d6c118f
- Merge remote-tracking branch 'origin/main' into sold/games-held 834521e
- Record #17743's squash: its tree is ee1ae6f93 on the same base, both in here 0c9f9a9
- Merge commit '023e432f3a5246bdb0fc87952d183656367a864c^' into sold/games-held e6b9f2b
- Flaky test: no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice (#17749) cacf546
- The cloud tree's lists sort by any column, from the one line, at every door (#17532) e6cb4d8
- A profile on a live data directory is refused each time 238cd9f
- Merge pull request #17747 from sold/game-putback 74b5cae
- Merge the current base into game-putback 3181d6c
- A plugin's config text with a secret written as an alias is hidden whole (#17745) e2a2838
- A failed up never puts the old AutoStopper back beside ours (#17610) a3038de
Two follow-ups to #17746, in the game box's agent.
.compose-shastill said the file was up. The hold itself now takes.compose-shaand.up.failedaway, in place of the job tick that dropped a job.json_oris last where the hold joins the diagnosis, so a failed look at the hold leaves valid JSON. An empty hold file, or one with an odd word, reads asunknown.Ran on a758642f8, before main was joined: 120 tests in 13 files, tsc, the gate. The second new test failed before the fix. Not run: the joined head (the join had no conflict), the full suite, a real volume, mount and boot.
Try: bun test test/game-volume.test.ts No door: the box's agent only. No look: no page changes.
🤖 Generated with Claude Code