CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

Codex usage not updating for like the past hour

Open takove opened this issue 3 months ago • 2 comments

Image

stuck here even after the most recent reset

takove avatar Aug 24 '26 02:08 takove

Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 23, 2026, 10:40 PM ET / August 24, 2026, 02:40 UTC.

Summary Keep open for targeted diagnosis: CodexBar has an established refresh contract, but the report does not reveal which supported usage source or refresh path failed, so no safe repair boundary is proven yet.

Reproducibility: no. The report shows a stale display but does not provide the app version, selected usage source, refresh frequency, refresh action result, or provider error needed to reproduce the current-main path.

Ways to help us reproduce this

  • Add a screenshot or short recording showing the behavior.
  • Add expected vs actual behavior.

Next step The report needs source-specific refresh evidence before an automated repair can be scoped safely.

Review details

Best possible solution:

Obtain a redacted current-version refresh result showing the selected Codex source, refresh frequency, last-updated time, and any provider error; then add a regression test at the identified scheduler, source, or publication boundary.

Do we have a high-confidence way to reproduce the issue?

No. The report shows a stale display but does not provide the app version, selected usage source, refresh frequency, refresh action result, or provider error needed to reproduce the current-main path.

Is this the best way to solve the issue?

Unclear. Current code has distinct OAuth, CLI, web, scheduling, and account-publication paths, so a source-specific diagnostic is needed before choosing a narrow repair.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • Changing the reset or refresh path without the selected source, cadence, and provider error could regress intentional manual-mode behavior or account-scoped result rejection.

Codex review notes: model internal, reasoning high; reviewed against d8d03a122109.

Label changes

Label changes:

  • add P2: A stale Codex quota display is a bounded user-facing provider-data problem, but the report does not establish a widespread outage or urgent regression.
  • add impact:auth-provider: The affected display is populated through Codex-specific credentials and source routing.
  • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
  • add clawsweeper:needs-info: Current issue advisory state selects this label.

Label justifications:

  • P2: A stale Codex quota display is a bounded user-facing provider-data problem, but the report does not establish a widespread outage or urgent regression.
  • impact:auth-provider: The affected display is populated through Codex-specific credentials and source routing.
Evidence reviewed

What I checked:

  • Supported source paths: Codex uses OAuth by default, with CLI RPC fallback and optional web extras; each can produce different refresh failures. (docs/codex.md:11, d8d03a122109)
  • Current reset scheduling: A non-manual cadence schedules a refresh shortly after a displayed reset boundary; manual cadence intentionally supplies no automatic interval. (Sources/CodexBar/UsageStore+ResetBoundaryRefresh.swift:10, d8d03a122109)
  • Current contract coverage: Tests cover adaptive reset-boundary refresh scheduling and explicitly assert that manual cadence does not schedule it. (Tests/CodexBarTests/AdaptiveRefreshHeuristicsTests.swift:72, d8d03a122109)
  • Relevant history: The behavior appears to have received dedicated Codex manual-reset refresh work in commit 5014285, so the existing contract is an important diagnostic starting point rather than evidence that this report is already fixed. (5014285fa781)
  • Maturity rubric unavailable: The required shortlist helper could not find qa/maturity-scores.yaml in this checkout, so a maturity label cannot be supported.

Likely related people:

  • steipete: Recent main history includes fixes for the Codex RPC timeout gate and menu-open dashboard refresh behavior. (role: recent Codex refresh contributor; confidence: medium; commits: c89d52315437, 1f3bb5804812; files: Sources/CodexBar/UsageStore+Refresh.swift, Sources/CodexBar/UsageStore+ResetBoundaryRefresh.swift)
  • JiaJian: Commit 5014285 specifically addressed Codex manual reset refresh behavior. (role: historical reset-refresh contributor; confidence: medium; commits: 5014285fa781; files: Sources/CodexBar/UsageStore+ResetBoundaryRefresh.swift)
How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

clawsweeper[bot] avatar Aug 24 '26 02:08 clawsweeper[bot]

nvm this suddenly started working again

takove avatar Aug 24 '26 02:08 takove