Expected
cargo test -p codex-tui --lib discard_side_thread_keeps_local_state_when_server_close_fails passes.
Actual
thread 'app::tests::discard_side_thread_keeps_local_state_when_server_close_fails' has overflowed its stack
fatal runtime error: stack overflow, aborting
(signal: 6, SIGABRT)
Repro
On a clean checkout of clanker @ 2cb1d2c (linux, debug profile):
cargo test -p codex-tui --lib discard_side_thread_keeps_local_state_when_server_close_fails
Fails identically in isolation and in the full -p codex-tui run; it aborts the whole test binary, so the full suite cannot complete. Verified unrelated to any local diff (reproduces with a stashed-clean tree).
Likely an unbounded recursion or oversized stack frame on the server-close-fails path rather than a thread-stack-size tuning issue, since it also overflows when run alone.
Found during a desk wake-sweep (warren), 2026-08-11.
🤖 Generated with Claude Code
Expected
cargo test -p codex-tui --lib discard_side_thread_keeps_local_state_when_server_close_failspasses.Actual
Repro
On a clean checkout of
clanker@ 2cb1d2c (linux, debug profile):Fails identically in isolation and in the full
-p codex-tuirun; it aborts the whole test binary, so the full suite cannot complete. Verified unrelated to any local diff (reproduces with a stashed-clean tree).Likely an unbounded recursion or oversized stack frame on the server-close-fails path rather than a thread-stack-size tuning issue, since it also overflows when run alone.
Found during a desk wake-sweep (warren), 2026-08-11.
🤖 Generated with Claude Code