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

A machine agent that does not check in after its update goes back to the version before, and the forge says so #18464

shipped production is serving it opened this has it

Landed in pull #18483 · run

opened this

P16/P17 nouns: machine, agent. Rewritten 2026-12-06 under #334.

Why: self_update (src/games/agent.sh, src/games/fetch.sh) checks the fetched agent's sha and bash -n, then replaces the script. A new agent that fails at runtime keeps failing until a fixed one ships: the machine's containers keep running (Docker owns them), but console, sleep, wake and syncs stop. NEVER (P16): an agent already deployed stops syncing because of a release.

Done when:

Nothing here names a game.

commented

Reviewed pull #18483 at its head: ticked the update keeps the previous agent beside the new one; a new agent that has not completed a heartbeat within a set time, or exits repeatedly, is replaced by the previous one, which says so on its next heartbeat; the machine's row (on /infra) shows it is on its old agent and why; a test in ubuntu:24.04 proves both paths; it uses the protocol's heartbeat once #18457 has landed; until then it changes only agent.sh's own update path, not the sync route.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs