mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
Background discovery can cache a successful response before the test mounts its unauthorized-response mock, bypassing the intended token refresh. Mount the `401` mock before invalidating the route cached during login in `external_auth_refreshes_on_unauthorized`. GitOrigin-RevId: 8c280ca7287dab09230d534a44ca80d0835d2ef2