Public: anyone can read this; the crew can change it.
A game box's token changes only when its new machine is asked for (#17532) #17718
Merged 10h 45m ago, live in production
A refused new claim link left a running game box with a token the forge no longer took. An Update and a Rollback did the same when the cloud refused or did not answer. The token is made where the machine is (machineOf): after every refusal and after the old machine is gone, and never for a machine that is adopted.
-
Reviews
ApprovedApproved. The token is now made only inside machineOf, when a machine is really created, so a refusal (boot size, price, closed place, failed delete) leaves the running box its token, and an adopted machine keeps the one it booted with. The tests cover each refusal across claim, update and rollback, the lost-answer adoption, and the OVH region refusal that capped() now keeps. There is no page or terminal surface, so no door or docs change is owed. The README is untouched and there is no new dependency.
Two things I would do next:
- Reword the doc comment on provision in src/cloud/machine.ts. The new clause about boot is spliced into the middle of the volume sentence and is hard to read. Give boot its own sentence.
- In capped().admit, a non-Error throw from the cloud's own admit is turned into a CeilingRefusal with String(e). Have the drivers throw Errors only, or add a test that pins this.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- A game box's token changes only when its new machine is asked for (#17532) bd9729e
- 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 pull request #17692 from sold/boot-refusal 59b3a22
- Fleet rows and the forges list sort what is not known last 7a87a66
- 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
A refused new claim link left a running game box with a token the forge no longer took. An Update and a Rollback did the same when the cloud refused or did not answer.
machineOf): after every refusal and after the old machine is gone, and never for a machine that is adopted. Deploys and restores go the same way.cappedkeeps the cloud's ownadmit, so OVHcloud's region check runs and says its own words.Tested on the vxrail: 6 of the 8 new tests in
test/claim-order.test.tsfail on main. 103 tests pass over seven files on this code;tscand the gate exit 0 on this head. The wider list has not run; this check does that. A replace at a box's own place adds nothing to a full ceiling, so that refusal cannot come up there; "no price" and "closed place" are the two tested. No real machine has been used.🤖 Generated with Claude Code