fix: stop live polarization fallback - #2036
Conversation
Empty serving-model results are valid and must not trigger a live scan of deduped sensor data. Refs #1997
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 40 minutes 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
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 |
PR Summary by QodoFix polarization trend: remove live ClickHouse fallback on empty serving model
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
|
Storybook previews for This comment updates automatically on each PR push. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
156 rules✅ Skills:
fix-provider, write-tests, cloudflare 1. No runbook evidence reference
|
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
Keep the new record before the existing final section so concurrent appended baseline entries merge cleanly.
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
CI follow-up on the latest head:
|
Summary
activity_polarization_zonesthe sole source for polarization trend responsesdeduped_sensorscanRoot cause
An empty serving-model query was treated as a signal to recompute polarization from
activity_summaryanddeduped_sensor, turning a valid no-data response into a long-running request.Validation
pnpm vitest run --project unit packages/server/src/repositories/efficiency-repository.test.tspnpm vitest run --project unit packages/server/src/routers/efficiency.test.tsTEST_DATABASE_URL="$DATABASE_URL" pnpm vitest run --project integration packages/server/src/repositories/efficiency-repository.integration.test.tsTEST_DATABASE_URL="$DATABASE_URL" pnpm vitest run --project integration packages/server/src/routers/efficiency.integration.test.tspnpm lintpnpm tsc --noEmitcd packages/server && pnpm tsc --noEmitcd packages/web && pnpm tsc --noEmitThe coordinating agent is serializing the full Docker-free workspace suite across issue branches.
Fixes #1997