Redeeming a Codex reset credit leaves T3 stuck: Usage keeps showing exhausted limits and limit-held threads never resume
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend-api-design, desktop
Direzione di ricerca
Start by tracing CodexDriver.consumeResetCredit, snapshot.refresh, and resolveUsageLimitsAfterProbe to see why fresh limits do not update usageLimits.checkedAt. Then inspect needsUsageRecovery and UsageLimitRecoveryWorker, including how linked environments learn about fresh usage readings. The fix is done when redemption displays current limits without a false error and limited threads resume after an early reset, including on linked environments.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
I hit the Codex weekly limit and redeemed a reset credit from Usage → Limits in the desktop app. Codex reset the account, but T3 behaved as if nothing happened:
- The redeem action failed with "The reset was applied, but Codex could not confirm the new limits. Refresh to check."
- Afterwards the Codex tile kept showing Session 0% left and Weekly 0% left, resetting in "4d 13h" (the old weekly reset), with 1 credit left. It kept showing that for at least 20 minutes and showed fresh values by the next morning, after the linked server had rebooted overnight.
- A Codex thread stopped by the limit, on a linked environment with the same account, never resumed, and a message queued in it stayed held. It only ran again after I typed "Continue" by hand.
So from the UI the reset looked like it did not work, though Codex had applied it.
Diagnosis
Codex side worked. account/rateLimitResetCredit/consume returned reset; afterwards account/rateLimits/read on both machines returns usedPercent: 0 for both windows, the weekly resetsAt restarts from the redemption, and availableCount dropped by one.
False error and stale tile. After redeeming, CodexDriver.consumeResetCredit calls snapshot.refresh. That refresh completed account/rateLimits/read in 523 ms and checkCodexProviderStatus succeeded, yet usageLimits.checkedAt did not move, so it threw "could not confirm". Per resolveUsageLimitsAfterProbe, either the probe yielded no usable limits (probeFailed republishes the old snapshot) or the published checkedAt won; the read failure is logged only at debug level, so the trace cannot tell. The republished snapshot is not unavailable, so needsUsageRecovery stays false and nothing re-probes soon.
Threads not resuming is #22307: limitRecovery.resetAt still said 2026-11-14 and UsageLimitRecoveryWorker waits for that deadline. New here: the redemption ran on the desktop's local environment while the limited thread lived on a linked one with the same account, so dispatching only from the redeem action would miss it; a check driven by fresh usage readings (#24511) would cover it.
References are against main 45e0143c.
Steps to reproduce
- Use a ChatGPT-plan Codex account until the weekly limit is hit, with a reset credit available, and have a Codex thread stopped by the limit (ideally on a second, linked environment with the same account).
- In the desktop app, redeem the Codex reset in Usage → Limits.
- See the "could not confirm" error, the tile still at 0% left with the old reset time, and the limited thread not resuming.
account/rateLimits/readfromcodex app-serverreports 0% used.
Version
0.1.8-nightly.20261109.4433 (desktop app and its local server); linked environment server 0.1.8-nightly.20261108.4367
Environment
Linux (Arch) desktop app; linked Debian 13 server environment, same Codex account. codex-cli 0.167.0, Plus plan.
Evidence
# 2026-11-09 UTC
23:05 linked env: follow-up queued behind an active run
23:20 linked env: usageLimitExceeded, limitRecovery.resetAt 2026-11-14T13:45:21Z, queued run queueHeld true
23:35:05 desktop: consumeResetCredit -> consume Success (3485 ms)
23:35:09 account/rateLimits/read Success (523 ms), checkCodexProviderStatus Success
23:35:10 consumeResetCredit Failure: "The reset was applied, but Codex could not confirm the new limits."
23:48 linked env: manual "Continue" -> runs; 23:05 message still held
# account/rateLimits/read afterwards, both machines
primary usedPercent 0 (300 min), secondary usedPercent 0 (10080 min, resetsAt +7d), availableCount 1
Screenshot of the Usage → Limits tile to follow.
Related issues
#22307 and its fix #24511 (thread recovery ignores early resets), #26037 (held queue). #23054 is about duplicate per-environment tiles, not stale values.
Fix applied or workaround
Send "Continue" by hand in each limited thread. The tile showed fresh values the next morning after a reboot; I did not find a way to refresh it sooner from the app.
Filed by
Claude (Opus 5.5) in Claude Code, following the T3 triage playbook.
- Lingua principale
- TypeScript
- Stelle
- 24.8k
- Fork
- 6.4k
- Merge medio
- 10h 56m
- PR unite (30g)
- 226
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pingdotgg/t3code
-
[Bug]: request_secret file delivery has no trailing newline, and the tool text does not say soForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Changing the sidebar project filter collapses an expanded Settled shelf back to 10 threadsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pingdotgg/t3code#34291 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pingdotgg/t3code
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
lingdojo/kana-dojo#33947 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
paperclipai/paperclip#20942 ·
I maintainer di solito rispondono entro 1 giorno
-
area: documentation good first issue package: rule-data status: accepting prs
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
mastra-ai/mastra#30109 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno