Skip to content

Conversation

@aibrahim-oai
Copy link
Collaborator

The deltas produce the whole json output. ignore them.

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

https://github.com/openai/codex/blob/778d1669821d9a9fa70c4e4e3eac7a4128eff160/core/src/tasks/review.rs#L123-L126
P1 Badge Restore ItemCompleted guard

This pattern no longer checks item: TurnItem::AgentMessage(_), so every ItemCompleted emitted by the reviewer (including tool calls, uploads, etc.) now gets swallowed. Previously we only skipped assistant message completions to avoid re-emitting legacy agent messages; other completions were forwarded so the outer session/UI could mark the item done. With this change, those completions never arrive, so any non-assistant item produced during review will remain stuck in a "running" state. Please reinstate the TurnItem::AgentMessage(_) guard and keep ignoring only the new delta events.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

item: TurnItem::AgentMessage(_),
..
}) => {}
EventMsg::ItemCompleted(ItemCompletedEvent { .. })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we test?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we need item completed for non-agent message items

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh ok.

@aibrahim-oai aibrahim-oai enabled auto-merge (squash) October 30, 2025 00:33
@aibrahim-oai aibrahim-oai merged commit 7aa46ab into main Oct 30, 2025
25 checks passed
@aibrahim-oai aibrahim-oai deleted the fix-review branch October 30, 2025 00:47
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants