Commit 4343bee
authored
[CRCR] Show Healthy/Degraded health status on CRCR summary page (#8366)
## Summary
Replaces raw pass-rate percentages with semantic health labels on the
CRCR summary page (`/crcr`):
- **Healthy**: displayed when pass rate = 100%
- **Degraded**: displayed when pass rate < 100%
### Changes
- **CRCR Relay Health card**: Shows "Healthy" or "Degraded" prominently,
with the actual percentage and job counts as sub-labels. Border color
uses green (healthy) or orange (degraded) instead of the previous
green/red threshold.
- **Per-repo tables**: Added a dedicated "Health" column with
Healthy/Degraded chips alongside the existing numeric "Pass Rate"
column.
- Health threshold simplified: 100% = Healthy, anything below = Degraded
(per sync meeting action item).
### Mockup
Live mockup:
https://subinz1.github.io/CRCR/mockups/oot-hud-mockup-crcr-summary.html
Fixes #8306
## Test plan
- [ ] Verify CRCR summary page loads without errors
- [ ] Verify the health card shows "Healthy" when crcr-test pass rate is
100%
- [ ] Verify the health card shows "Degraded" with orange border when <
100%
- [ ] Verify per-repo table "Health" column shows correct
Healthy/Degraded chips
- [ ] Verify numeric "Pass Rate" column still shows accurate percentages1 parent ad6627e commit 4343bee
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
333 | | - | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | | - | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
0 commit comments