Codex entitlement failure causes infinite oscillation loop
Cluster 106475. Data as of
Nothing open on GitHub. Fix merged in #106549 on 9 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #106549. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #106549. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where both the primary and fallback models are unentitled causes the agent to oscillate indefinitely and falsely emit a 'Primary model restored' message. These members address detecting and failing closed when the full fallback chain is exhausted due to 400 entitlement errors.
Open issues0
Open PRs0
Fixes on record
-
#106549 fix(agent): unentitled Codex primary + fallback no longer oscillate or announce a false restore (#106475, salvage #106482)
files:
agent/agent_runtime_helpers.py,agent/chat_completion_helpers.py,agent/fallback_cooldown.py,agent/turn_api_error.py,tests/run_agent/test_entitlement_fail_closed.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#106482 fix(agent): fail closed when Codex account-model entitlement 400s exhaust the chain · merged via another change →
6c89cb0,#106549
Closed issues · 1
- Closed#106475[Bug]: unentitled primary + unentitled fallback oscillate forever on openai-codex; "Primary model restored" is emitted without any recovery
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #106549
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 9 Sep 2026