Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 minutes. View limit details
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. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Code review on PR #20539 (head 2d332ec): approve. Read only. The four sections show a failed load ahead of the empty state, and the test asserts the failure text with real locale data. The |
Thinking Path
The maintainer reports that some codebase analytics reports show blank and suspected outdated routes. A static check of the panels' URLs against the backend routes found them matching, so routes are not the cause on current main. One frontend cause is fixable here: four sections could not show a failure, so a failed load read as "nothing found".
What Changed
errorprop and show an error state before their empty state, with one new en.json key.useAnalyticsDataFetchers.tsexposes the errors its endpoints already tracked, andCodebaseAnalytics.vuepasses them down.Verification
sectionLoadFailed.test.ts: 8 passed, and its 4 failure-state tests fail with the section changes reverted. 28 passed with the neighbouring section tests, using a stubbedreka-ui, so CI is the real check.CodebaseAnalytics.vuehas no test. No report was seen rendering, and no live call was made.Model Used
Claude Sonnet for the implementation, Claude Opus for coordination.
Single-issue rationale
Refs #17651 and does not close it: this covers failed versus empty for four sections only. "Not yet indexed", the remaining panels, the backend causes and the call graph 504 stay open.