-
Notifications
You must be signed in to change notification settings - Fork 7.6k
feat: tui beta for collab #9690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@codex review |
There was a problem hiding this 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".
|
@codex review |
There was a problem hiding this 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".
| let Event { msg, .. } = event; | ||
| if matches!(msg, EventMsg::ShutdownComplete) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 👍 / 👎.
Screen.Recording.2026-01-22.at.16.33.43.mov