feat: add virtual key rankings dimension to dashboard - #4427
Conversation
|
Warning Review limit reached
More reviews will be available in 5 minutes and 11 seconds. Learn how PR review limits work. To continue reviewing without waiting, enable usage-based billing in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughExtends the dimension rankings system with a new ChangesVirtual Key Ranking Dimension
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
e1fd621 to
e194038
Compare
c042391 to
ed9fb68
Compare
ed9fb68 to
fd184f7
Compare
e194038 to
efbea28
Compare
efbea28 to
f0a0f78
Compare
579ea94 to
77fdd10
Compare
627f692 to
f6d72a1
Compare
00dff79 to
869d671
Compare
f6d72a1 to
216c340
Compare
Confidence Score: 5/5Safe to merge — the change is additive, reuses well-tested generic infrastructure, and touches no critical paths. All four changed files follow the established per-dimension pattern exactly. The transports/bifrost-http/handlers/logging.go — error message strings need to include Important Files Changed
Reviews (7): Last reviewed commit: "feat: add Virtual Key Rankings tab in da..." | Re-trigger Greptile |
216c340 to
3139173
Compare
befbab1 to
f5082fa
Compare
cfbed3e to
c32fc56
Compare
f5082fa to
20f4396
Compare
20f4396 to
efb3ba1
Compare
c32fc56 to
6403ad8
Compare
efb3ba1 to
bd87d8e
Compare
6403ad8 to
5c1099c
Compare
5c1099c to
f5870e3
Compare
bd87d8e to
8f7af65
Compare
Merge activity
|
The base branch was changed.

Summary
Adds "Virtual Key" as a new ranking dimension across the backend and dashboard UI, allowing users to view and export usage rankings broken down by virtual key.
Changes
RankingDimensionVirtualKeyconstant and registered it inValidRankingDimensionsanddimensionColumnswithvirtual_key_idandvirtual_key_namecolumn mappingsvirtual_keyto theRankingDimensionTypeScript union typevirtualKeyRankingsDatato theDashboardDatainterface and initialized it asnullin the dashboard stateDimensionRankingsTabViewcomponent wired to thevirtual_keydimensionvirtual-key-rankingsto theExportTabtype and included it in CSV export logic viadimensionRankingsToCSVType of change
Affected areas
How to test
virtual-key-rankingssheet/section is included with the correct columns.Screenshots/Recordings
Add before/after screenshots of the dashboard tab bar showing the new Virtual Key Rankings tab.
Breaking changes
Related issues
Security considerations
Virtual key IDs and names are treated the same as other ranking dimension identifiers. No additional PII or secrets exposure beyond what already exists for user and customer rankings.
Checklist
docs/contributing/README.mdand followed the guidelines