Skip to content

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Jan 22, 2026

Screen.Recording.2026-01-22.at.16.33.43.mov

@jif-oai
Copy link
Collaborator Author

jif-oai commented Jan 23, 2026

@codex review

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

Here are some automated review suggestions for this pull request.

Reviewed commit: 472c177dc3

ℹ️ 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".

@jif-oai
Copy link
Collaborator Author

jif-oai commented Jan 23, 2026

@codex review

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

Here are some automated review suggestions for this pull request.

Reviewed commit: fab3f30c30

ℹ️ 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".

Comment on lines +2882 to +2883
let Event { msg, .. } = event;
if matches!(msg, EventMsg::ShutdownComplete) {
Copy link
Contributor

Choose a reason for hiding this comment

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

P1 Badge Preserve event IDs when replaying thread snapshots

When switching to an agent thread, replayed events flow through handle_codex_event_replay, but this method drops the original event.id. Approval requests depend on that ID: dispatch_event_msg passes id.unwrap_or_default() into on_exec_approval_request / on_apply_patch_approval_request, and the resulting ApprovalRequest is keyed by that ID. If an approval was requested while the thread was inactive, replaying it with an empty ID makes the approval response impossible to match in core, leaving the agent thread permanently blocked. This can be reproduced by letting a background agent hit an approval, then switching to it via /agent.

Useful? React with 👍 / 👎.

@jif-oai jif-oai merged commit f30f39b into main Jan 23, 2026
51 of 53 checks passed
@jif-oai jif-oai deleted the jif/tui-collab branch January 23, 2026 12:58
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 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.

3 participants