feat(admin): deduplicate onboarding charts by user - #3107
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 5 minutes Limit details: You’ve used all 2 included reviews currently available under your plan. You completed 57 included PR reviews in the past 7 days; at that activity level, included reviews refill at 2 reviews per hour. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?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 reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (11)
Comment |
|
❌ The last analysis has failed. |
de9fe99 to
ee50ea9
Compare
|



Summary
Attempts rank by Setup → Organization → App details → Intent within the existing 24-hour window. Equal stages use the latest Intent timestamp. Daily attempts compete across v1/v2/v3; the v3 funnel competes only among v3 attempts.
The existing PostHog query, endpoint, raw analytics, and every other chart remain unchanged.
Test plan
bunx vitest run tests/frontend-onboarding-analytics-model.unit.test.ts tests/frontend-onboarding-analytics.unit.test.ts tests/admin-frontend-onboarding-dashboard.unit.test.ts tests/admin-chart-card-collapse.unit.test.ts— 85 passedbun run lint:backendbun run lintbun run typecheckCHOKIDAR_USEPOLLING=true bun run buildgit diff --checkScreenshots
The checkbox design was reviewed locally on the admin onboarding dashboard. The backend-driven values depend on production PostHog data.
Checklist
bun run lint:backend && bun run lint.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.