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

The game agent is never blind: compose up runs in the background, and every sync carries a diagnosis #17157

opened this

Merged 41h 53m ago, live in production

Phase V1 of #17151. On production, game box mc synced once and went silent: the agent was stuck inside a synchronous compose up, and nothing showed why. Agent: compose up, pull, restart and the rest run as background jobs, one at a time, with output to .up.log.

Notes

opened this

Phase V1 of #17151. On production, game box mc synced once and went silent: the agent was stuck inside a synchronous compose up, and nothing showed why.

  • Agent: compose up, pull, restart and the rest run as background jobs, one at a time, with output to .up.log. The 5 s sync never blocks. A failed up is not retried in a loop.
  • Every sync carries diag (about 8 KB at most): the job and the .up.log tail, docker ps and images, the agent and docker journals, cloud-init, disk, data-root mount and versions.
  • Forge: the latest diag is kept per box; /games/<box> shows plain status lines ("Pulling … since", "compose up failed: …", "Docker's data is on the root disk") over a folded run log; also the terminal and the games tool.
  • Boot: waits up to 60 s for the volume mount before Docker starts.
  • test/game-diag.test.ts: a 30 s compose up while the agent keeps syncing, the bounds and the lines.

preflight: green in 30 s.

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages cbeb797125cb --> Look pages for cbeb797, from the gate:

  • look pages (inferred): this pull changes src/web/pages/games.ts; the forge pictures / (src/web/pages/games.ts), /docs (src/web/pages/games.ts), /explore (src/web/pages/games.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages ffc553f73981 --> Look pages for ffc553f, from the gate:

  • look pages (inferred): this pull changes src/web/pages/games.ts; the forge pictures / (src/web/pages/games.ts), /docs (src/web/pages/games.ts), /explore (src/web/pages/games.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

<!-- look-pages a2fa1ecdf08b --> Look pages for a2fa1ec, from the gate:

  • look pages (inferred): this pull changes src/web/pages/games.ts; the forge pictures / (src/web/pages/games.ts), /docs (src/web/pages/games.ts), /explore (src/web/pages/games.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Sign in to join this conversation.

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

Keyboard shortcuts

Docs