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): External Turns metrics turn a failed read into an empty SLO dashboard #3868
Scope: isolated local jsdom/Vitest component probe; no production network or writes.
Reproduction
Render ExternalTurnMetricsPage for an organization while sandbox/session_queries_public:getExternalTurnMetrics settles with data: undefined, isLoading: false, and a 503 error. The actual page renders the normal Harness turns dashboard, zero/blank SLO cards, and the success copy No harness turns have run in the selected period. There is no alert, error message, or Retry action. The combined replay passed the External Turns case against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.
Root cause and impact
The container destructures only data and isLoading, then passes data ?? undefined into a view that defaults every metric to zero, an em dash, or an empty byHarness array. A rejected metrics query therefore looks exactly like a successful period with no sandbox traffic. Operators may interpret missing reliability data as healthy absence and have no way to retry without leaving or remounting the page.
Expected behavior is an explicit failed-read state with retry and preservation of the selected period. The empty-period teaching copy should be reserved for a successful response with no turns.
Activity