Commit 4d792f1
fix(codex): make stream error handler idempotent in sandbox exec processes
If both stdout and stderr emit errors, the second error would
overwrite the first failure message. Add an early return guard so
only the first stream error is preserved, matching the expected
behavior where Codex consumes process/read.failure.
Co-Authored-By: Claude <[email protected]>1 parent 694ca1b commit 4d792f1
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments