Public: anyone can read this; the crew can change it.

An evicted check on a game box loses at most one shard, and a frozen job thaws if the player leaves soon #17579

shipped production is serving it opened this has it

Landed in pull #17615 · run

opened this

Part of #17546, "keep the work, cheapest first". CRIU checkpointing is not in scope; it waits until these two prove not enough.

Done:

Files: src/checks/runner_jobs.ts, src/checks/shard_event.ts, src/games/agent.sh, docs/features/game-box.md.

commented

Reviewed pull #17615 at its head: ticked A sharded check evicted from a game box keeps every finished shard's result; only the shard that was running is queued again.; A frozen job whose memory was not needed thaws and continues when the woken server sleeps again within a window (default a few minutes), else it is stopped and queued as interrupted.; Tests: an eviction mid-run requeues one shard and keeps the rest; thaw within the window finishes the job; past the window it is requeued..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs