Skip to content

fix: handle early codex exec exit#8825

Merged
tibo-openai merged 3 commits intomainfrom
tibo/fix-exec-exit-handling
Jan 7, 2026
Merged

fix: handle early codex exec exit#8825
tibo-openai merged 3 commits intomainfrom
tibo/fix-exec-exit-handling

Conversation

@tibo-openai
Copy link
Collaborator

@tibo-openai tibo-openai commented Jan 7, 2026

Fixes CodexExec to avoid missing early process exits by registering the exit handler up front and deferring the error until after stdout is drained, and adds a regression test that simulates a fast-exit child while still producing output so hangs are caught.

@tibo-openai tibo-openai marked this pull request as ready for review January 7, 2026 12:40
@tibo-openai tibo-openai enabled auto-merge (squash) January 7, 2026 12:40
@tibo-openai tibo-openai merged commit 0d788e6 into main Jan 7, 2026
11 checks passed
@tibo-openai tibo-openai deleted the tibo/fix-exec-exit-handling branch January 7, 2026 16:54
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants