Skip to content

Commit 681b359

Browse files
authored
[CRCR] Only show L3/L4 repos on main HUD grid (#8343)
## Summary The main HUD grid currently displays all CRCR repos regardless of their trust level. This means L2 repos like `pytorch/crcr-test` (a health-check-only repo) show up on the main page, which is not useful for PR authors. This PR filters the `crcr_hud_results` ClickHouse query to only return L3 and L4 repos: - **L4** (merge-gating) — always visible, survives "Hide non-viable-strict jobs" filter via existing `/\(L4\)/` regex - **L3** (non-blocking check runs) — visible when "Hide non-viable-strict jobs" is unchecked, hidden when checked L2 (observation) and L1 (webhook-only) repos remain accessible on the dedicated CRCR pages (`/crcr`, `/crcr/[org]/[repo]`). ## Test plan - [ ] Verify L2 repos no longer appear as columns on `hud.pytorch.org/hud/pytorch/pytorch/main` - [ ] Verify L3/L4 repos appear when data exists - [ ] Verify "Hide non-viable-strict jobs" hides L3 but keeps L4 - [ ] Verify L2 repos still show on `/crcr` and `/crcr/[org]/[repo]`
1 parent 425e03a commit 681b359

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • torchci/clickhouse_queries/crcr_hud_results

torchci/clickhouse_queries/crcr_hud_results/query.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ FROM
1818
WHERE
1919
pr_number IN {prNums: Array(Int64)}
2020
AND pr_number > 0
21-
AND downstream_repo != 'pytorch/crcr-test'
21+
AND downstream_repo_level IN ('L3', 'L4')
2222
ORDER BY
2323
pr_number, downstream_repo, job_name

0 commit comments

Comments
 (0)