mirror of
https://github.com/openai/codex.git
synced 2026-10-20 08:19:50 +00:00
## Why Stale authorization requires refreshing local evidence, so service retry backoff unnecessarily delays the next review attempt. ## What changed Yield cooperatively before retrying `StaleAuthorization`, then check cancellation and the shared deadline. Keep retries within the existing attempt budget. ## Testing Extend paused-time tests to cover recovery with fresh evidence and exhaustion of the shared attempt budget, asserting that retries incur no backoff and return the final attempt's evidence. GitOrigin-RevId: fda7ddd040a761d08883740bb5e7aaecacfa6091