mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Skip inactive TUI threads without pending user interaction (#35525)
## What changed Only collect buffered requests from inactive threads whose event store reports pending user input or approval. This keeps unrelated requests from being considered when pending interactions are surfaced after leaving a side conversation. ## Testing Extend the side-conversation routing test with an unrelated dynamic tool request and verify that only the pending subagent approval is selected. GitOrigin-RevId: 388968277bde34bedc43187c1d1746d76166131e
This commit is contained in:
1 parent
9ca6df68da
commit
0896bf6fc0
2 files changed
+29
-7
No files matched your search
@@ -389,6 +389,9 @@ impl App {
|
||||
}
|
||||
|
||||
let store = store.lock().await;
|
||||
if store.side_parent_pending_status().is_none() {
|
||||
continue;
|
||||
}
|
||||
requests.extend(
|
||||
store
|
||||
.pending_replay_requests()
|
||||
|
||||
Reference in new issue
Block a user