Skip to content

Commit a0b0de2

Browse files
authored
Add rocm_test_stats HUD page (#8234)
Add a new **ROCm Test Stats** HUD page under Dev Infra (`/rocm_test_stats`), mirroring the existing `/cuda_test_stats` and `/mac_test_stats` pages added in #8127. This is a wrapper around the shared `TestStatsPage` component and reuses the existing `test_stats_per_commit` ClickHouse query (no query or shared-component changes). It shows per-commit total/skip/flaky/fail counts for `pytorch/pytorch` trunk ROCm jobs. - Restricted to the `trunk` workflow (runs on every push to `main`) and jobs matching `(?i)jammy.*rocm|rocm.*jammy` — i.e. the `linux-jammy-rocm-py3.10-mi355` build/test jobs defined in `trunk.yml`. - Adds a NavBar entry `ROCm test stats`. ## Test plan - Navigate to `/rocm_test_stats` and confirm per-commit ROCm counts render, with `?count=N` and `?sha=<hex>` working. Signed-off-by: pablo-garay <pgarayfe@amd.com>
1 parent 550683d commit a0b0de2

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

torchci/components/layout/NavBar.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ function NavBar() {
7575
name: "MacOS test stats",
7676
href: "/mac_test_stats",
7777
},
78+
{
79+
name: "ROCm test stats",
80+
href: "/rocm_test_stats",
81+
},
7882
{
7983
name: "CRCR CI Summary",
8084
href: "/crcr",

torchci/pages/rocm_test_stats.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { TestStatsPage } from "components/testStats/TestStatsPage";
2+
3+
export default function Page() {
4+
return (
5+
<TestStatsPage
6+
title="ROCm Test Stats"
7+
jobFilter="(?i)jammy.*rocm|rocm.*jammy"
8+
/>
9+
);
10+
}

0 commit comments

Comments
 (0)