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

opened this

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.

Notes

opened this

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. 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

Sign in to join this conversation.

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

Keyboard shortcuts

Docs