mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## Why An app-server thread can still be closing when the TUI reconnects. Its `thread/resume` request then uses the same `-32600` error code as an unavailable thread, even though the thread can be resumed once closing finishes. ## What changed Treat the thread-specific "is closing" response as a transient reconnect error so the existing reconnect loop retries instead of marking the conversation unavailable. ## Testing Extend the active reconnect and end-to-end reconnect tests to cover a closing thread that resumes successfully on the next attempt. GitOrigin-RevId: 30ce232b8894065fef346a86128b3ff9bf36ba1f