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): Guardrails overview hides a failed recent-events read as “No events yet” #3874
Scope: isolated local jsdom/Vitest component probe; no production network or writes.
Reproduction
Render GuardrailsOverview with the policy cards settled and chat_filter_events/queries:listRecent settled with data: undefined, isLoading: false, and a 503 error. The actual page renders the section heading and the normal No events yet empty state. It renders no alert, error copy, or Retry button. The probe passed one test against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.
Root cause and impact
RecentEvents destructures only data: events and isLoading from the list query. Its branch treats !events || events.length === 0 as a successful empty response and never consumes the query's error or retry capability. Because guardrail events are security telemetry, an outage or permission failure can be mistaken for a clean organization with no detections, blocks, or circuit events. Changing filters simply issues another silent request.
Expected behavior is a failed-list state with an error explanation and Retry while preserving the policy status cards. The existing empty copy should only render after a successful empty response; this is distinct from policy configuration read failures and from the Chat Health guardrail metrics candidate.
Current-main source clarification (b7f8ca02ec249c004652b1ee52e112d9cdfa53ea): the recent-events query now consumes isError to keep Filter usable, so the blanket wording that it never consumes an error flag is too broad for this source. It still does not display the failed-events state or Retry; the reported “No events yet” failure remains. This update is source/history triage, not a fresh UI replay, and adds no finding. Retained comparison: settings-triage/report.md and triage.json in the audit notes.
Activity
yannickmonney commentedon Sep 29, 2026
Current-main source clarification (
b7f8ca02ec249c004652b1ee52e112d9cdfa53ea): the recent-events query now consumesisErrorto keep Filter usable, so the blanket wording that it never consumes an error flag is too broad for this source. It still does not display the failed-events state or Retry; the reported “No events yet” failure remains. This update is source/history triage, not a fresh UI replay, and adds no finding. Retained comparison:settings-triage/report.mdandtriage.jsonin the audit notes.