Public: anyone can read this; the crew can change it.
A boot keeps its previews' checkouts, so they come back asleep instead of all deploying (#17629) #17726
Merged 17h 1m ago, live in production
The cause is read from the code and fits the production logs; nobody watched the deletion happen. The tests had not been run when this was opened: this check is their first run. The release timer is paused until this and #17717 are in.
-
Reviews
ApprovedThe guard is correct: in the production pass no preview is in state yet, so every old checkout read as a stray and was dropped, which left nothing for the preview pass to settle asleep, and all previews deployed. Skipping dropStrayCheckouts there, while the preview pass still runs it, fixes that. The new test drives the two passes in the order start() does and would fail without the guard, since the old head checkout would be deleted after the production pass. It also checks that a true stray is still removed and that the preview settles asleep at its head. The change is small and has no dependency, no new door and no web change, so no README, docs or TUI change is needed. Two things I would do next: (1) assert in the test that no deploy was requested for the preview, which is the user-visible symptom; (2) drop the
as anyand eslint-disable by exposing a small read accessor for the asleep state. -
Checks
shipped production is serving it deploy f29a578
-
History
- A boot keeps its previews' checkouts, so they come back asleep instead of all deploying (#17629) f3c2188
- Plain words find Games and Infrastructure, and a player's home leads to their games (#17704) 1ce8fec
- A pull's Next line says a person lands it where autonomy is off, not the queue (#17719) 7015bd2
- Merge pull request #17716 from sold/jars-backup 27f9d0a
- Merge pull request #17718 from sold/claim-order 4054eea
- test/traffic-truth.test.ts fails in about 0.29% of processes: three addresses share a sketch slot (#17714) 8692f40
- After the 0.7.718 release the forge's event loop was blocked for 159.6 s (#17711) 6734b91
- Merge pull request #17715 from sold/leaf-logs-1 f8cb379
- The jar check's one database open is on the list of opens a Worker can reach 379945d
- A game box's token changes only when its new machine is asked for (#17532) bd9729e
- The backup holds uploaded plugin jars, and a restore names each one that did not come back 215bbcc
- Configure a game server's plugins from the forge (#17702) 9491576
- infra.json is compared with the forge's record and says so, and a machine no file names is never "remove" (#17710) 77b94dc
- A game command no box answered: the server's state line goes on saying "the server has it" (#17712) 64b2b4f
- A pull's checks API says ok when its check failed and a deploy ended after it (#17706) fd96b5c
- Merge pull request #17709 from sold/leaf-table-0 4a84ee9
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-1 3e146b9
- What failed is masked where it is read, before it is cut 4008bae
- Merge pull request #17692 from sold/boot-refusal 59b3a22
- Fleet rows and the forges list sort what is not known last 7a87a66
The cause is read from the code and fits the production logs; nobody watched the deletion happen. The tests had not been run when this was opened: this check is their first run. The release timer is paused until this and #17717 are in.
start()reconciles every app's production, then every app's previews. The stray-checkout sweep ran at the end of both passes. In the production pass no preview is in state yet, so every preview checkout older than ten minutes read as a stray and was removed; the preview pass then found nothing to settle asleep, and deployed each one something asks for.On production every release did this: 16 previews of the forge itself deployed at the 23:09 boot and 17 at the 23:44 boot, some at a commit that had not moved over six boots (pull-11811 at 545d481). One, pull-17711, came back asleep at 23:44. Each is a whole forge that boots beside production.
The sweep now runs in the preview pass only, once every preview is in state. The existing test made one pass with both halves, which never showed it; the new one makes the two passes
start()makes.Try: with a pull's preview built more than ten minutes ago, restart the forge: its log says "asleep from boot" for the preview, and no deploy run is made for it.
Direction: a release must not boot every preview beside production (#17629)
🤖 Generated with Claude Code