Guard agent picker from scheduled thread leaks#199
Closed
andrei-hasna wants to merge 1 commit into
Closed
Conversation
andrei-hasna
force-pushed
the
openloops/open-codewith/aa3be075-fa91-4401-a608-8011fd7890d7-dd53292c
branch
from
July 7, 2026 19:57
8f6af9e to
8ccb37d
Compare
This was referenced Jul 9, 2026
Contributor
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
/agent./agentrows and keyboard next/previous exclude the scheduled thread while schedule notifications remain buffered through thread materialization/resume refresh paths.Validation
UV_CACHE_DIR=/tmp/codewith-uv-cache just fmtjust test-fast -p codex-tui scheduled_top_level_thread_does_not_leak_into_agent_navigationgit diff --checkcargo insta pending-snapshotsfromcodex-rs/tuiNotes
just test -p codex-tuiwas run. The new regression passed, but the package gate failed in 11 unrelatedchatwidgetsnapshot/status/terminal-title tests: 3254 passed, 11 failed, 4 skipped. The generated unrelated.snap.newfiles were removed andcargo insta pending-snapshotsreports no pending snapshots.Todos task: aa3be075-fa91-4401-a608-8011fd7890d7