mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## Why Background refreshes previously warmed only the on-disk cache, so new sessions in the same process continued using the startup snapshot. ## What changed - Make `CloudConfigBundleLoader` retrieve the latest shared bundle on each configuration load. - Update the in-memory bundle after successful refreshes while preserving the last successful bundle when a refresh fails. - Stop refresh work when its loader is replaced or its final clone is dropped. ## Testing - Cover refreshed requirements and managed configuration in later sessions. - Cover concurrent initial loads, refresh failures and recovery, bundle clearing, and refresh-task cancellation. GitOrigin-RevId: ae3d79b575bad71a1eed370cee6dc66dc022ffa8