PR adds patient retry logic for model capacity errors in OpenAI Codex

bytebot · x · 2026-11-02

Peter Steinberger opened PR #31058 on openai/codex to treat structured model-capacity failures (HTTP 503 serverisoverloaded / slowdown) as a bounded, recoverable state instead of ending the turn. Sampling and remote compaction v2 now retry up to three times with minimum waits of 30s, 2min, and 5min plus positive jitter to avoid synchronized retries. Previously these errors were eaten by the fast transport retry layer, killing otherwise healthy long-running Codex tasks; switching WebSocket to HTTP doesn't relieve backend capacity. bytebot says it's a good fix that should be merged.

Original post →

More from coding & agent

coding & agent channel →