Files
rUv 370355015b fix(codex): close worker stdin so codex exec doesn't hang waiting for EOF (#2947) (#2997)
DualModeOrchestrator spawned both Claude and Codex workers with
stdio: ['pipe', 'pipe', 'pipe'] but never wrote to or closed proc.stdin.
Both platforms receive their prompt positionally/via flag, never over
stdin — claude -p ignores the open pipe, but codex exec blocks in
resolve_root_prompt waiting for stdin EOF that never arrives, hanging
every real Codex worker until the orchestrator's own multi-minute
timeout kills it.

Close stdin immediately after spawn for both platforms.

Regression test spawns a real child process standing in for codex exec
(waits for stdin EOF before exiting) and asserts the worker completes
well under a short configured timeout instead of failing via timeout.
2026-08-12 16:11:14 -04:00
..
2026-02-07 16:44:32 +00:00