Skip to content

[CRCR] Add CRCR results to main HUD grid with monsterization#8285

Open
subinz1 wants to merge 1 commit into
pytorch:mainfrom
subinz1:crcr-hud-grid-monsterize
Open

[CRCR] Add CRCR results to main HUD grid with monsterization#8285
subinz1 wants to merge 1 commit into
pytorch:mainfrom
subinz1:crcr-hud-grid-monsterize

Conversation

@subinz1

@subinz1 subinz1 commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Integrates CRCR downstream CI results into the main HUD commit grid (hud.pytorch.org) as native columns with full monsterization support.

  • CRCR jobs appear under a "CRCR" group alongside existing groups (Linux, Windows, ROCm, etc.)
  • All existing HUD features work automatically: grouped view, hide-green, hide-always-skipped, job filter, tooltips, and monsterization
  • Only fetches for pytorch/pytorch — no impact on other repos
  • L4 (merge-gating) CRCR jobs are treated as viable/strict blocking; L3 (non-blocking) jobs are hidden when "Hide non-viable-strict jobs" is checked

Mockup

Main HUD grid mockup with CRCR columns

Approach

Mirrors the AI advisor verdicts pattern:

  1. New ClickHouse query (crcr_hud_results) fetches CRCR results by commit SHA
  2. Parallel client-side fetch via useClickHouseAPIImmutable (no changes to fetchHud)
  3. Maps CRCR results → JobData and merges into each row's nameToJobs before grouping
  4. Zero new UI components — existing JobCell, HudGroupedCell, and JobConclusion handle everything

Level-based filtering

Column names include the CRCR level — e.g. CRCR pytorch/crcr-test / l1-critical (L3). This integrates with the existing "Hide non-viable-strict jobs" filter:

Filter state L3 (non-blocking) L4 (merge-gating)
Unchecked Visible Visible
Checked Hidden Visible

L4 CRCR jobs are registered as viable/strict blocking via the (L4) pattern in VIABLE_STRICT_BLOCKING_JOBS.

Monsterization

Failed CRCR jobs produce monster sprites by hashing:

  • failed_tests_json content (when available from downstream test reports)
  • Synthetic string downstream_repo/job_name (fallback — gives each unique CRCR failure type its own monster)

Files changed

File Change
clickhouse_queries/crcr_hud_results/ New — SHA-keyed query for CRCR results
lib/JobClassifierUtil.ts Add "CRCR" group + regex + sort order; register (L4) as viable/strict blocking
pages/hud/.../[[...page]].tsx CRCR data fetch, mapping, and merge logic

Test plan

  • Verify CRCR columns appear on hud.pytorch.org/hud/pytorch/pytorch/main
  • Verify CRCR group is collapsible in grouped view
  • Verify monsterization works on failed CRCR jobs
  • Verify hide-green filters out all-green CRCR columns
  • Verify "Hide non-viable-strict jobs" hides L3 but keeps L4 CRCR columns
  • Verify no CRCR columns on non-pytorch repos

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

@subinz1 is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@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 13, 2026
@subinz1 subinz1 force-pushed the crcr-hud-grid-monsterize branch from 0642f92 to 2ee566c Compare July 13, 2026 05:51
Integrates CRCR downstream CI results (L2/L3) into the main HUD commit
grid as native columns. CRCR jobs appear under a "CRCR" group alongside
existing groups (Linux, Windows, etc.) and support all existing HUD
features: grouped view, hide-green, hide-always-skipped, job filter,
tooltips, and monsterization.

The approach mirrors the AI advisor verdicts pattern — a parallel
ClickHouse query fetches CRCR results by SHA, maps them into JobData,
and merges them into each row's nameToJobs before grouping runs. This
means zero new UI components; existing JobCell, HudGroupedCell, and
JobConclusion handle rendering and monsterization automatically.

For monsterization, failed CRCR jobs use failed_tests_json (when
available) or a synthetic string (downstream_repo/job_name) as the
failure line hash input, giving each unique failure type its own
monster sprite.

Authored with an AI assistant.
@subinz1 subinz1 force-pushed the crcr-hud-grid-monsterize branch from 2ee566c to c65fbdf Compare July 13, 2026 05:57
@subinz1 subinz1 requested a review from atalman July 14, 2026 12:55
@subinz1 subinz1 marked this pull request as ready for review July 14, 2026 12:55
@vercel

vercel Bot commented Jul 14, 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 14, 2026 4:09pm

Request Review

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.

3 participants