You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(platform): Feedback analytics hides a failed recent-feedback list read as empty #3873
Scope: isolated local jsdom/Vitest component probe; no production network or writes.
Reproduction
Render FeedbackMetricsPage with a valid stats response showing feedback and a useCachedPaginatedQuery('feedback/queries:listRecentFeedback') result that has results: [], status: 'Exhausted', and a 503 error/retry function. The actual page still renders the loaded Feedback metrics dashboard, but the Recent feedback table displays its normal empty copy. There is no alert, failed-read message, or Retry button. The probe passed one test against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.
Root cause and impact
useCachedPaginatedQuery explicitly exposes error and retry, but FeedbackMetricsPage passes only results, status, and the loading flags into RecentFeedbackTable. The table therefore receives an empty array with isLoading: false and renders the successful empty state. Stats cards can say feedback exists while the recent list silently claims there is no feedback, and users cannot recover the failed list request without remounting or changing filters.
Expected behavior is to pass the paginated error and retry callback into the table/list empty state, preserving successful summary data while clearly marking the recent list unavailable. This is distinct from a failed stats query, which the page already surfaces as an alert.
Activity