Commit 8ad0c59
committed
fix(webapp): drop a skipped query's stale rows and failure
The empty-query short circuit returned before the block that resets rows and the
failure flag on a new query signature, so a caller that stopped asking kept the
last answer. On the Queues page that meant a readout which failed once on a short
range stayed hidden after widening to a range where the readout is skipped
entirely and the headline comes from the chart's own successful rows — the number
would have been missing for the rest of the session.
Reproduced by failing only the p95 readout on a 1-hour range (headline gone as
designed) and then widening to 7 days: the headline now returns at 58.3s.
Clearing rows as well as the flag, since no query means no data, and leaving
another query's rows behind is the same trap the reset below guards against.1 parent 6309b12 commit 8ad0c59
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
| |||
0 commit comments