Public: anyone can read this; the crew can change it.
The backup holds uploaded plugin jars, and a restore names each one that did not come back (#17284) #17716
Merged 10h 40m ago, live in production
games/jars/ was in no snapshot, so a restored forge listed jars it did not have. Snapshot: the jars go up the way drop/ does, for the forge and for hosted forges (under the existing 512 MiB history cap). Restore: every jar row is checked for its file and size, and missing ones are named.
-
Reviews
ApprovedThe snapshot now takes
games/jars/, and a restore names each jar the database lists whose file is missing or the wrong size. The hosted-forge path carries the jars too, with a guard against a linked parent directory. The jar test goes through the real restore command and checks the sha256 of the restored file. TheNeverlist is not touched: nothing is deleted and no cap is added. I read the diff and the snapshot code, and the preview answers 200. I did not run the test suite myself.Two things I would do next:
- Test the size-mismatch branch of
jarsMissing(a truncated jar file). Only theno filebranch is tested now. - Test that
restoreHostedfillsjarsMissing, and thatscripts/standby-restore.tsprints it. Those two paths have no test that would fail without them.
- Test the size-mismatch branch of
-
Checks
shipped production is serving it deploy c4333e8
-
History
- The jar check's one database open is on the list of opens a Worker can reach 379945d
- The backup holds uploaded plugin jars, and a restore names each one that did not come back 215bbcc
- Merge pull request #17692 from sold/boot-refusal 59b3a22
- Full suite red: test/snapshot.test.ts (#17703) e174c35
- Merge pull request #17646 from sold/nav-areas 4c6a89c
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 3e71baa
- The boot size check: no guessed limit, the row as it would boot, and a limit that can be given (#17532) 3543275
- The kept-log flush timer runs in background(), as #17634's timer rule asks (#17697) 22820dc
- Merge commit '2119f0d722d9647765fdc04933a1960133432690' into HEAD 4fb0b50
- The signed-out home sends no source indentation df35521
- The infra tool names every cloud resource, what each is part of and attached to (#17695) 516a968
- test/pulls-merge-budget.test.ts once answered a conflict where there is none (#17700) 82c923d
- Merge remote-tracking branch 'origin/main' into sold/boot-fetch 8d13531
- Home: the lanes, their graphs, then one row of figures, each number said once (#17678) 2119f0d
- The forge keeps its stall and minute memory lines in its data dir, so its performance history survives a release (#17681) d3e188b
- The agent says back which /forge answers it has, and never writes one twice (#17696) 6164cd2
- A background job's error is logged and counted, never thrown into the process (#17634) c8ebb1e
- Merge commit 'ffc21dc6032849c8cd627a676ace00fa63c4f0bc' into sold/boot-fetch 0c40480
- Merge commit '9a352ce8122c5a9e4b3ea934d0cc043d973fe57b' into sold/boot-fetch 1050e3c
- Merge commit '621b363177f22f360d7d110587bdacd278d84be7' into sold/boot-fetch 30f3410
games/jars/was in no snapshot, so a restored forge listed jars it did not have.drop/does, for the forge and for hosted forges (under the existing 512 MiB history cap).docs/features/backup-left-out.mdlists what else is in no backup, as read from the code; no test checks that list.Tested on the vxrail: 3 new tests fail without the change. With it, 35 pass over the four files that matter;
tscand the gate exit 0. An earlier run of 117 files had 808 passes and 2 failures. One was this branch's own test, now fixed. The other,one-click-drill, passes in the four-file run; I have not shown whether it also fails on main. The full suite and a real bucket have not been tried.🤖 Generated with Claude Code