mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Code-mode `wait` and `terminate` requests can remain pending when the host transport stalls. ## What changed - Add a 60-second transport allowance to the runtime timeout for `wait`, and apply the same transport deadline to `terminate`. - Return a model-visible timeout error and invalidate the connection when the deadline expires, so the next execution reconnects to the host. ## Testing - Cover queued `wait` and `terminate` requests that exceed their deadlines. - Verify that a timed-out `wait` reports the error and reconnects on the next code-mode execution. GitOrigin-RevId: 5d772e5a6f3793aa8865a1160639b851fd4824fb