Implement usage all accounts - #399
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ceiling | ba83fc7 | Commit Preview URL Branch Preview URL |
Aug 23 2026, 06:59 PM |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_eeaa8279-1455-4480-b4f9-ef6bd6646f82) |
|
Warning Review limit reached
Next review available in: 10 minutes Limit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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 |
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_1db6ac8d-2e65-48a9-b449-4effb664e911) |
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_5d8f4bd6-f39c-44cf-a98d-06d72abac76a) |
# Conflicts: # CHANGELOG.md
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_be106ac6-2ba7-4478-8116-bf12e012ec18) |
# Conflicts: # CHANGELOG.md
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_95a31abe-53d1-4b72-97d9-d5ddc2409aa7) |
Fixes #274.
Carries the flag into execution, expands configured Codex and Claude accounts, and fetches them with bounded concurrency while preserving output order. Each JSON or text result identifies its account, including independent failures. The default output shape remains unchanged.
Note
Medium Risk
Changes how usage fetches pin credentials to account config dirs and runs those fetches concurrently. Default CLI shape is unchanged, but a wrong pin would mix or leak the wrong seat’s quota.
Overview
Honors
usage --all-accountsinstead of ignoring it. Directory-backed Codex and Claude accounts expand to one fetch each, pinned to that account’s config dir; other providers stay a single entry.Fetches run with a concurrency cap of 4 and are reordered to configured sequence. Failures stay independent. Text and JSON tag each result with
id/label(configured_accountin JSON). Without the flag, output stays one entry per provider.Reviewed by Cursor Bugbot for commit ba83fc7. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add
--all-accountsflag tousagecommand for multi-account fetchingUsageCommand.all_accountsand expands directory-backed providers into one target per configured account inusage_targetsstream::iter(...).buffer_unordered(MAX_CONCURRENT_ACCOUNT_FETCHES)incollect_usage_output, then restores configured orderconfigured_accountidentification (id,label) for account-pinned targets viaannotate_text_accountandannotate_json_accountconfigured_accountobject; text output gains account annotation lines/suffixes. Reviewers should checkannotate_json_accountandannotate_text_accountin usage.rs for consumers that parse these outputs.Macroscope summarized ba83fc7.