Skip to content

[CRCR] Show Healthy/Degraded health status on CRCR summary page - #8366

Merged
atalman merged 3 commits into
mainfrom
crcr-health-status
Jul 26, 2026
Merged

atalman merged 3 commits into
mainfrom
crcr-health-status

Conversation

@subinz1

@subinz1 subinz1 commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

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 percentages

Replace raw pass-rate percentages with semantic health labels:
- "Healthy" when pass rate is 100%
- "Degraded" when pass rate is below 100%

The CRCR Relay Health card now prominently shows the health label
with the actual percentage as a sub-label. Per-repo tables gain a
dedicated "Health" column alongside the existing numeric "Pass Rate"
column for at-a-glance status.

Fixes #8306
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2026
@vercel

vercel Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
torchci Ready Ready Preview Jul 24, 2026 10:03am

Request Review

Only pytorch/crcr-test (the top health card) should show
Healthy/Degraded labels. Per-repo tables continue showing
raw pass rate percentages with color-coded chips.
Combine pass rate percentage, job counts, and repo name into
one caption line matching the existing card sub-text style.
@subinz1
subinz1 requested a review from atalman July 24, 2026 10:17
@subinz1
subinz1 marked this pull request as ready for review July 24, 2026 15:00

@atalman atalman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@atalman
atalman merged commit 4343bee into main Jul 26, 2026
9 checks passed
@atalman
atalman deleted the crcr-health-status branch July 26, 2026 13:16

This branch was successfully deployed

1 active deployment
Preview — 9b7424b9 Deployed Jul 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CRCR][HUD] Show success rate accurately on the CRCR summary page (currently 71.8%)

2 participants