mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why When the active backend reconnects, the TUI can discard pending work on other connected backends. Completions queued before the reconnect can also arrive after the replacement connection is active. ## What changed - Preserve pending requests and thread state for other connected backends. Track asynchronous completions by connection so retired connections cannot update the TUI. - Apply request resolution from background backends to pending prompts and the agents overview. Require users to end a voice call before switching sessions across backends. - Close the verification prompt when verification finishes and suppress queued proofs when the user cancels the prompt. ## Testing Add regression coverage for preserving another backend's pending work during reconnect, dropping stale completions, resolving background requests, and cancelling verification after a proof has been queued. GitOrigin-RevId: fc932b0d13fd1cf04404bd5ccfce71ff776e259f