You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicate of #32963 (merged 2026-05-27). The null-output recovery this PR adds is already on main: agent/codex_runtime.py assembles the final Responses payload from response.output_item.done / output_text.delta deltas and never reads the terminal response.output field, and agent/auxiliary_client.py already routes the auxiliary text-only path through the raw responses.create(stream=True) + _consume_codex_event_stream fallback (documented there as "structurally immune" to the TypeError: 'NoneType' object is not iterable drift). Both halves of this PR's scope (main stream + auxiliary client) are covered. Same canonical as the earlier closed cluster (#32890, #32915, #32918).
Note: This is NOT a duplicate of the prior closed PRs (#32963, #32890, #32915, #32918). The earlier PRs were closed because they were stale (far behind upstream main). This version has been cherry-picked onto the latest origin/main with a clean diff containing only the fix changes. No conflicts. CI green. Ready for review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
comp/agentCore agent runtime: loop, agent_init, prompt builder, context-compression, responses endpointduplicateThis issue or pull request already existsP2Medium — degraded but workaround existsprovider/openaiOpenAI / Codex Responses APItype/bugSomething isn't working
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test Plan