fix: show aggregation errors in Chart.svelte instead of an infinite spinner - #9838
fix: show aggregation errors in Chart.svelte instead of an infinite spinner#9838eminemead wants to merge 1 commit into
Chart.svelte instead of an infinite spinner#9838Conversation
Chart.svelte checked isFetching before the query error, so a failed fill-missing aggregation never left the diamond.
|
1. The query client caps retries ( 2. The tests do not cover the scenario that produced the bug. Every case passes renderChart(chartData({ isFetching: false, error: new Error("...") }), []);Also, 3. The
4. Minor: a stale error now suppresses the spinner on refetch. With |
Chart.sveltecheckedisFetchingbefore the queryerror, so a failed request never left the loading state.Checklist:
Developed in collaboration with Claude Code