Public: anyone can read this; the crew can change it.
A proxy held back for a jar comes up once the jar is there, with no new commit #17798
Merged 6h 52m ago, live in production
A full sync names the jars with or without a compose file, and an up that a missing jar held back is tried again once the jar is there: after 5 minutes, 15, then hourly. The first try right after a commit restarts the proxy as before; a later one only when nobody is on, and not known counts as someone on.
-
Reviews
ApprovedReviewed against the direction and the list. The held-back proxy now comes up once the jar is uploaded, with no new commit. The wait for the last player to leave is read from the proxy's own count, and an unreadable count counts as someone on. A revert ends the wait. The box's page and the terminal both say "Waiting: ..." through the shared
boxStatus.docs/features/games.mdhas the how-to and README is untouched. Both commits carry aNo door:line. Tests cover the upload, the retry wait, the wait for players, the revert, and wrong bytes tried once. I opened the preview:/answers 200 with 14458 bytes of server-rendered HTML. The changed sentences sit on the signed-in Games box pages, which a guest cannot reach, so I read those from the diff. I did not run the suite.Two things I would do next:
diag.tsfinds the wait by comparing the last line of the up log withJARS_WAIT. The agent already sendsjarsWaitin the diag, soboxStatusandboxStatusSharedshould read that field and drop the log-line match. That removes a coupling that breaks if anyone adds a line after it.- The tests wait on real sleeps (
FORGE_GAME_LIGHT_SLEEP=0.1) with 60 to 120 s ceilings. Watch for flakes on a loaded runner. If one shows up, make the wait explicit on the sync count rather than the clock, as the retry test already does.
The 5, 15 and 60 minute retry steps are a schedule, not a cap, and removing them would hammer the forge. I left them.
-
Checks
waiting merged; waiting for the forge to restart on it deploy a544da9
-
History
- The jars' tests wait for syncs, not for the clock (#17610) 42bcf5c
- A proxy held back for a jar comes up once the jar is there, with no new commit (#17610) 4d35d99
- Merge pull request #17778 from sold/held-worlds 8d747cf
- Games: one list of what a player's game needs, with what those mods require (#17738) 89f7c82
- Merge pull request #17768 from sold/log-reader 5e9e073
- A test file that sets the pinned `net` gives it back, and pinned-ceiling starts clean (#17776) 1540995
- Merge pull request #17774 from sold/leaf-editor-9 eaeb462
- A held box says "held" for a world's import, restore and snapshot too (#17532) d33b316
- The hourly disk check sizes the data directory on a worker, not the serving thread (#17771) 449ec32
- unread-tables reads src/ in one pass, in its test and not at load (#17770) 705fd94
- Games: heal what is safe alone and say so: retry a stuck agent or a stuck wake, with a limit (#17621) 29bd32a
- The games page imports core/users.ts once 7f458f0
- Plugin config: Edit opens the file's own text, and a revert is planned from the history alone b1e38ef
- A deploy says where its name points before it moves it (#17741) ba85a0f
- Sentinel: memory-growth was degraded 12 minutes today: The forge's own memory is 3928 MiB, over twice its first-hour 1430 MiB and past the 2176 MiB more its database caches m… (#17764) a6e9305
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-2 0734f59
- A hold's end always brings the games up, and a failed look at the hold cannot empty a sync's diagnosis (#17761) b19b3da
- Full suite red: test/client-size.test.ts (#17765) 2b7f7ba
- Merge pull request #17758 from sold/leaf-editor-5 6f4dc0f
- Merge pull request #17759 from sold/held-buttons 4629119
A full sync names the jars with or without a compose file, and an up that a missing jar held back is tried again once the jar is there: after 5 minutes, 15, then hourly. The first try right after a commit restarts the proxy as before; a later one only when nobody is on, and not known counts as someone on. The log and the pages say so. A kept jar with the right sha256 needs no address.
Ran on the vxrail, on this head: every game test that runs agent.sh, the proxy jars and the flake test: 257 pass, 0 fail; tsc and the gate pass. On the old agent.sh and proxy_jars.ts, the 7 new tests that were reached fail; that run was cut off by its time limit, so the rest are not shown failing yet (nobody on, first try after a commit, the revert, wrong bytes at every sync, proxy-jars). Not proven: a real proxy image, its real glist answer, and that compose leaves a running proxy alone at a revert.
Part of #17610.
🤖 Generated with Claude Code