Public: anyone can read this; the crew can change it.
The game agent runs compose under its time cap on Linux: timeout(1) cannot exec a shell function #17206
Merged 41h 38m ago, live in production
On Ubuntu, timeout(1) exists, so capped 5 compose ps, capped 5 compose logs and bounded30 compose exec … rcon-cli exited 127 ("compose: not found"): no services, no logs, and every console command failed. macOS has no timeout(1), which is why the tests passed. capped() now uses its own kill loop for shell functions.
-
Reviews
ApprovedThe fix is right and small: capped() now sends a shell function (compose) down the background-and-kill loop, and real programs still go to timeout(1). The test runs the sync twice, once with a coreutils-like timeout stub on PATH that execs its argument, so it fails without the fix. Nothing touches a web page, so no terminal screen or how-to is owed. No new dependency. I opened the preview:
/answers 200. The change is script-only, so there are no pictures to see.Two things I would do next: (1) brace the
for (const withTimeout ...)loop around test.skipIf in test/game-box.test.ts so the indentation shows the nesting, and putmkdirSyncin the import list in order. (2) The comment above capped() is now two stacked comments (A quick command...thenRun a command...). Merge them into one. -
Checks
shipped production is serving it deploy 8e4596d
-
History
- The game agent reaches compose where timeout(1) exists: a shell function is never handed to timeout 40253a4
- Hold the Talk pane's Live fallback by its value, not its old word (#17197) 01e9b02
- Every red check keeps its failing tests' assertions and excerpts, not only a verification (#17201) 0b95dda
- signup-fresh: main.ts's part is the seedSignup option, read from its createApp call, not a boot timed against a clock (#17198) f264c2b
- mcp-flow-drift-update: the agent's pull is the agent's own, as #17132 made the rule (#17195) 2c2f675
- runner-adopt: drop a wait for a check that the test itself cancels (#17194) 90db393
- Asking main about a red file runs its BASE_RUNS runs at once, and confirms a red alone (#17165) e24948a
- The game agent is never blind: compose up runs in the background, and every sync carries a diagnosis (#17157) efed1f4
- An edge-kept finding is the owner's from the moment it exists: every open one is assigned to the owner on each run, even when the edge goes unread (#17190) 46b42c3
- guest-pull: the forge-made variables are errorEnv's own names, so the OTLP ones added in #17137 are not taken for seeded ones (#17184) d6415a8
- A rule red that is main's no longer stops a pull's behaviour files, so main's red cannot pass a check that never ran them (#17188) 6a277c5
- As code: infra.json in a repo, written by the UI, reconciled on merge (#17149) 4fec00e
- The forge image carries jq, so the game box agent's tests run on check runners (#17175) 60cad34
- Say the screen and the fix when a terminal r binding is unlisted (#17174) bbfa7da
- MAX_UNFIXTURED: one file per page, not one shared number (#17170) f3e1a23
- Flaky test: on production's size > a cold home answers from the picture, within a few passes over the runs (#17166) 56dc9e2
- Sentinel: memory-growth was degraded 33 minutes today: The forge's own memory is 4600 MiB, over twice its first-hour 1962 MiB and past the 2176 MiB more its database caches m… (#17159) 2e8c816
- A module that calls process.exit when imported (app-backup.ts) kills any test that loads the tree (#17150) fc05e77
- A migration stamped in the future (20261201120000-first-change-forge) forces every later migration to a fake time (#17152) cec8b4d
- Merge pull request #17158 from sold/preflight d68a305
On Ubuntu, timeout(1) exists, so
capped 5 compose ps,capped 5 compose logsandbounded30 compose exec … rcon-cliexited 127 ("compose: not found"): no services, no logs, and every console command failed. macOS has no timeout(1), which is why the tests passed. capped() now uses its own kill loop for shell functions. test/game-box.test.ts runs the agent sync again with a coreutils-like timeout first on PATH: it fails without the fix and passes with it.🤖 Generated with Claude Code