Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate of this bar/percentage disagreement after a reset.
- I included the reported workflow and investigation limits below.
Area
apps/mobile
Summary
On Android, a Codex account's segment in the pooled Usage → Limits bar can appear completely full after redeeming a banked reset, while that account's numeric percentage still reads 0%. This makes the same account look both replenished and exhausted.
This is a user report from a fork, not a controlled reproduction on upstream main. The trigger and disagreement have not been independently reproduced.
Steps to reproduce
Reported workflow; not yet a deterministic repro:
- Configure CLIProxyAPI as a usage source with multiple Codex accounts.
- Open Usage → Limits in the Android client.
- Redeem a banked reset for an exhausted Codex account.
- Compare that account's bar segment with its numbered account row after the reset.
The exact redemption UI, refresh timing, and underlying quota response were not captured.
Expected behavior
The bar fill and numeric percentage for an account should represent the same remaining allowance. If a reset restores the allowance, both should update consistently; if the latest reading is still exhausted, neither should indicate full capacity.
Actual behavior
The reported account segment can appear 100% full while the corresponding row still says 0%. It is not established whether the fill, the number, or the underlying reading is stale.
Impact
Minor bug or occasional failure. The account's available capacity cannot be reliably inferred from the display.
Version or commit
Observed on a personal fork of T3 Code; exact installed mobile/server versions are not recorded. Source inspected at fork commit fb669d4539395e7bb49bce1427e7957829c7a137; this is an investigation reference, not a verified affected-build identifier.
Environment
Android native client; CLIProxyAPI usage source pooling multiple Codex accounts. Exact Android and CLIProxyAPI versions are unknown. Web, desktop, and iOS have not been checked.
Investigation and related work
In the inspected apps/mobile/src/features/usage/UsageLimitsPooled.tsx, both the AccountSegment remaining prop and the account-row percentage already call remainingPercent(window). A duplicated percentage formula has therefore not been established as the cause. Rendering/geometry invalidation is a possibility, not a confirmed diagnosis.
Related PR #24195 describes stale SVG geometry after an iPad resize, but uses a different platform/trigger and was closed without a verified after capture. It does not establish the cause of this Android reset report. Issue #22307 concerns threads not automatically resuming after an early allowance reset, rather than inconsistent bar and percentage rendering.
Logs or stack traces
No matching quota payload or runtime trace captured. No fix or controlled device verification has been performed.
Workaround
None verified.
Activity
juliusmarminge commentedon Oct 31, 2026
Tried this on current
main(a24ec90) with the Android dev client on a Pixel 9 emulator (API 36). The server pointed at a stub CLIProxyAPI hub serving three synthetic Codex accounts. One account's session was exhausted and had a banked credit, and I redeemed it through Usage → Limits → account → Use reset.In none of these did a 0% row sit next to a solid fill. To tell what you saw apart from the striped marker, could you share:
shivamhwp commentedon Oct 31, 2026
I independently checked upstream
2359643cffa6ba9ee84d6f2694b935de54a8013eon a POCO M3 Pro running Android 13, using the compatible T3 Code Dev client and this checkout's Metro bundle on corex. An isolated backend used a synthetic CLIProxyAPI hub with three Codex accounts. These were fixture credits, not real account resets.After redeeming through Usage → Limits → account → Use reset:
Cleared response, account remains first:
Stale response after redeeming:
I could not reproduce a solid full segment paired with a 0% row, so I have no verified fix to propose. Your fork build and real hub response remain unverified. Could you attach a screenshot while the mismatch is visible, identify whether the fill is solid or striped, and include the mobile/server versions from Settings → About? If it is solid, please also say whether pulling to refresh or reopening Usage changes it. That will distinguish the reported rendering fault from the reset marker shown above.
Quinntyx commentedon Oct 31, 2026
Closing this report: the reporter confirmed there is no bug and had compared the bar with a different account’s number. No fix is needed. Thank you for investigating and for the device reproductions.