mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
## Why A startup timeout leaves the cloud config loader with a cached error, while the normal background refresh interval delays recovery for 15 minutes. ## What changed - Retry timed-out cloud config bundle loads after 5 seconds through the existing background worker. - Keep serving the cached snapshot to concurrent readers instead of triggering additional fetches. - Restore the normal 15-minute refresh interval after a successful retry or a non-timeout error. ## Testing Added paused-time tests covering repeated startup timeouts, successful recovery, application of the recovered bundle to later config loads, and restoration of the normal refresh interval after both success and validation failure. GitOrigin-RevId: da62abbae9be7f40af61f4c4adaf4ea5c337ec88