fix(notifications): show best quota and earliest reset - #241
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughQuota notifications now select the highest remaining percentage and earliest valid reset independently across enabled accounts. Tests cover different source accounts and invalid usage data. Documentation describes the updated behavior. ChangesQuota notification aggregation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change updates quota notifications to choose the highest remaining quota and earliest future reset across eligible windows while preserving existing filters; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description includes the change summary, verification commands, regression scope, and documentation updates. It omits the template's Compliance Confirmation and Notes sections, and uses "Verification" instead of "Testing," but it remains mostly complete and relevant.
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Verification
npm test -- quota-notificationsnpm test -- doc-paritynpm run typechecknpm run lintgit diff --checkSummary by CodeRabbit
Bug Fixes
Documentation
Tests
note: greptile review for oc-chatgpt-multi-auth. cite files like
lib/foo.ts:123. confirm regression tests + windows concurrency/token redaction coverage.Greptile Summary
the pr independently selects the highest remaining quota and earliest valid future reset across enabled accounts.
Confidence Score: 5/5
the pr appears safe to merge.
no blocking failure remains.
Important Files Changed
Reviews (2): Last reviewed commit: "fix(notifications): ignore resets withou..." | Re-trigger Greptile