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
fix(ui): render live runs distinctly in "Recent Runs by Client" (#203)
## Summary
On the suite detail page's "Recent Runs by Client" heatmap, live runs
were indistinguishable from cancelled runs (grey cell + red ring + X)
and the tooltip was counting tests-not-yet-executed as failed. This PR
makes live runs a first-class state.
### Cell rendering
- Solid blue background, blue inset ring, small pulsing white dot in the
center.
- No `!` marker for "not-yet-executed" tests (only actually-reported
failures count).
- In compare mode the cell is `cursor-default` — clicking a live cell
falls through to navigate to the run detail page instead of toggling
selection.
### Tooltip
- Shows "● In progress (N/total)" in blue instead of "Cancelled".
- Hides Duration and MGas/s (not meaningful yet).
- Pass/fail summary uses reported `tests_failed` (not `total - passed`)
for live runs.
- Hint in compare mode reads: *"Live runs can't be compared — click for
details"*.
### Compare helpers
- `onCompareGroup` and `onCompareClientAcrossGroups` on SuiteDetailPage
now explicitly skip runs with `status=running`, so a live run sitting at
exactly 100% progress won't be swept into a comparison.
- The "latest successful per client" button already used
`completedRuns`, which excludes live runs — no change needed.
## Test plan
- [x] TypeScript + ESLint clean
- [x] Manual: with a live run reporting, open the suite detail page —
confirm the live row shows a blue pulsing cell and a blue "In progress"
tooltip
- [x] Manual: hover a live cell: no "failed" count for not-yet-executed
tests
- [x] Manual: enter compare mode, click a live cell: should navigate to
run detail, not add to selection
- [x] Manual: use "Compare group" / "Compare across groups" buttons with
a live run present: confirm only finished runs are included
0 commit comments