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

A game box runs a claimed check in a cell with no reach to Docker, worlds or its token, and a join freezes it at once #17578

Closed opened this

Landed in pull #17607 · 2 runs · run

opened this

Part of #17546. The box side.

Done:

Files: src/games/agent.sh, src/games/boot.ts, src/checks/runner_jobs.ts, docs/features/game-box.md. Risk: the box holds people's worlds; a leak from the cell is the failure that matters most. Nothing is started on a real box without trevato's go.

4 earlier comments
commented

Reviewed pull #17607 at its head: ticked A join evicts in this order: stop claiming; freeze the job's cgroup at once so the waking server has the CPU; stop the job when its memory is needed. A wake never waits on a job.; An evicted job goes back to the queue as interrupted, never red, and is never counted as that check's one loss (test in test/ on the runner claim/answer path).. left open: When the switch is on, src/games/agent.sh runs the runner and each job in a cell (bubblewrap) with no route to the Docker socket, the game network, the data volume or agent.env, and with disk and network caps. — The cell and the disk cap are there, but the install step's network has no bandwidth cap, and nothing has run on a real box.; Proof in the pull: tps and mspt (src/games/metrics.ts) of an awake server with and without a job beside it, and the wake time on join with a job running. — No measurements were taken; the pull says so itself..

commented

Left open after pull #17607 landed: 2 unticked items remain (When the switch is on, src/games/agent.sh runs the runner and each job in a cell (bubblewrap) with no route to the Docker socket, the game network, the data volume or agent.env, and with disk and network caps.; Proof in the pull: tps and mspt (src/games/metrics.ts) of an awake server with and without a job beside it, and the wake time on join with a job running.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Done on main already, waiting for you to close it: 8b6ac90f5e24b9de2ed0fd77160f6509b8858b84

commented

Done on main already, waiting for you to close it: 8b6ac90f5e24b9de2ed0fd77160f6509b8858b84

commented

Closed: already done on main in 8b6ac90. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs