Skip to content

fix(codex-quota): support monthly rate limit windows#164

Merged
seakee merged 1 commit into
mainfrom
fix/codex-quota-windows
Jun 3, 2026
Merged

fix(codex-quota): support monthly rate limit windows#164
seakee merged 1 commit into
mainfrom
fix/codex-quota-windows

Conversation

@seakee
Copy link
Copy Markdown
Owner

@seakee seakee commented Jun 3, 2026

Summary

Fix Codex quota parsing for accounts that now report monthly or custom rate-limit windows.

Changes

  • Classify Codex quota windows by explicit duration, including monthly windows.
  • Update account quota cards to show percentage-based usage for Codex windows.
  • Adjust Codex inspection to use long-term windows for disable/enable suggestions.
  • Add i18n labels and regression tests for monthly quota behavior.

Testing

  • npm run type-check
  • npm run test
  • npm run lint (passes with one existing Fast Refresh warning in src/pages/MonitoringCenterPage.tsx)

Classify Codex quota windows by explicit duration so monthly and custom windows are displayed accurately across quota views.

Update monitoring account quota labels and Codex inspection decisions to use long-term windows, preventing short-term exhaustion from triggering disable recommendations.

Add coverage for monthly windows, account quota mapping, and inspection behavior; risk is limited to Codex quota presentation and inspection suggestions.
@seakee seakee merged commit 248a441 into main Jun 3, 2026
3 checks passed
@seakee seakee deleted the fix/codex-quota-windows branch June 3, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant