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

A console that works with the firewall closed: a shell on the box through its agent, and Hetzner's own console #17247

opened this

Merged 36h 41m ago, live in production

Phase V4 of #17151 (the owner: "you really shouldnt be blind"). Shell through the game agent: owner-only, queued like rcon, audited (game.shell.asked and done). It runs as bash -lc under the agent's cap: 30 s, 16 KB, no TTY.

Notes

opened this

Phase V4 of #17151 (the owner: "you really shouldnt be blind").

  • Shell through the game agent: owner-only, queued like rcon, audited (game.shell.asked and done). It runs as bash -lc under the agent's cap: 30 s, 16 KB, no TTY. Interactive programs are refused with what to run instead. /games/<box> gets a Console section with answers streamed; the terminal key is !.
  • Hetzner request_console: a "Provider console" button shows the wss URL and password once, kept nowhere.
  • capped waits with one watchdog instead of polling.
  • Proven in an ubuntu:24.04 container (jq 1.7, GNU timeout): real output, a command stopped at its limit, output cut at 16 KB.

preflight: green (186 files).

🤖 Generated with Claude Code

3 earlier comments
commented

<!-- look-pages 72753563167a --> Look pages for 7275356, from the gate:

  • look pages (inferred): this pull changes src/web/pages/games.ts, src/web/pages/infra.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 91e51206f815 --> Look pages for 91e5120, from the gate:

  • look pages (none): this pull changes src/web/pages/games.ts, src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages b598eb6e88f9 --> Look pages for b598eb6, from the gate:

  • look pages (none): this pull changes src/web/pages/games.ts, src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages f17589b589e1 --> Look pages for f17589b, from the gate:

  • look pages (none): this pull changes src/web/pages/games.ts, src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

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

Keyboard shortcuts

Docs