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

opened this

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.

Notes

opened this

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. Deploys and restores go the same way.
  • A create whose answer was lost: the next try adopts that machine, and it keeps the token it booted with.
  • capped keeps the cloud's own admit, so OVHcloud's region check runs and says its own words.
  • A boot config that cannot be built is refused first on a cloud with no known limit too.

Tested on the vxrail: 6 of the 8 new tests in test/claim-order.test.ts fail on main. 103 tests pass over seven files on this code; tsc and 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

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs