pi-mono/packages/agent/test
Qiaochu Hu c2d3dc55b0
fix(agent): map signal-killed processes to non-zero exit codes (#8994)
waitForChildProcess resolved null for the exit code when a child was killed by a signal (e.g. OOM killer), and exec mapped it with code ?? 0, so the bash tool treated killed commands as successful.

Track the termination signal and fall back to the shell convention of 128 + signal number (137 for SIGKILL) when no exit code is available.

fixes #8992

closes #8882
2026-09-04 00:06:16 +02:00
..
harness fix(agent): map signal-killed processes to non-zero exit codes (#8994) 2026-09-04 00:06:16 +02:00
utils feat(agent): add AgentHarness R2 minimal run 2026-08-14 16:18:33 +02:00
agent-loop.test.ts fix(coding-agent): compact before post-tool model requests (#8782) 2026-08-28 13:40:59 +02:00
agent.test.ts Revert "feat(agent): expose provider context construction" 2026-08-19 09:53:15 +02:00
e2e.test.ts fix(agent): restore streamFn extension compatibility 2026-07-21 18:37:07 +02:00
proxy.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00