Skip to content

fix(tui): restore native V2 agents in /agent after restart - #810

Merged
GraciousGazelles merged 7 commits into
mainfrom
fix/agent-picker-live-v2-restart-20260907
Sep 8, 2026
Merged

GraciousGazelles merged 7 commits into
mainfrom
fix/agent-picker-live-v2-restart-20260907

Conversation

@GraciousGazelles

@GraciousGazelles GraciousGazelles commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Re-register persisted native V2 sub-agent activity while replaying a resumed root thread.
  • Keep the /agent picker and status feed accurate after restart/reload.
  • Add a regression covering replayed root activity registration.

Validation

  • Focused TUI test added: replayed_root_activity_registers_native_v2_descendant
  • Hosted GitHub Actions validation required; no local build or test was run.

The change is limited to codex-rs/tui/src/app/thread_routing.rs and codex-rs/tui/src/app/tests.rs.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-07T07:13:07.965348Z c4c0f3a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the thread event replay handling in the TUI application to register embedded native-V2 activity by calling cache_collab_receiver_threads_for_notification before rendering the notification. This ensures that resumed root threads after a restart correctly register path-backed descendants, aligning the replay behavior with live event delivery. A corresponding unit test has been added to verify this behavior. There are no review comments, so I have no feedback to provide.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 8, 2026
Merged via the queue into main with commit 556d6bb Sep 8, 2026
76 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/agent-picker-live-v2-restart-20260907 branch September 8, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant