mirror of
https://github.com/openai/codex.git
synced 2026-10-23 08:51:54 +00:00
## Why Output produced before the streaming subscriber attaches can be missing from command completion events, even when it was returned to the model. ## What changed Record the bounded completion transcript directly in `UnifiedExecProcess` as local and exec-server output arrives. Keep it independent of output polling and streaming delta delivery, and use it for completion events. ## Testing Add regression coverage for output collected before subscription, both with and without later output. Strengthen the lifecycle test to assert that `aggregated_output` includes both early and late output. GitOrigin-RevId: 9825acbd706dc4845837c8b4ab1347d8267ce0af