Skip to content

Commit b89e132

Browse files
authored
[HUD] Remove minihud page (#6984)
Reason: * I think people just use the main hud page now. Google analytics says it's <1% of HUD traffic? I am not sure how much I trust this * Remove a bunch of (sort of) dead code * Not that important but it does free up some space in the header <img width="1032" height="54" alt="image" src="https://github.com/user-attachments/assets/c4e3386b-e6c8-441d-9b1d-86dae39fdef5" />
1 parent 8b5d29e commit b89e132

File tree

7 files changed

+3
-839
lines changed

7 files changed

+3
-839
lines changed

tools/torchci/check_alerts.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,8 @@ def get_num_issues_with_label(owner: str, repo: str, label: str, from_date: str)
261261

262262

263263
def generate_failed_job_hud_link(failed_job: JobStatus) -> str:
264-
# TODO: I don't think minihud is universal across multiple repositories
265-
# would be good to just replace this with something that is
266-
hud_link = "https://hud.pytorch.org/minihud?name_filter=" + urllib.parse.quote(
267-
failed_job.job_name
268-
)
264+
# TODO: Handle other branches/repos
265+
hud_link = f"https://hud.pytorch.org/hud/pytorch/pytorch/main/1?per_page=100&name_filter={urllib.parse.quote(failed_job.job_name)}&mergeEphemeralLF=true"
269266
return f"[{failed_job.job_name}]({hud_link})"
270267

271268

torchci/components/layout/NavBar.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ function NavBar() {
219219
PyTorch CI HUD
220220
</Link>
221221
</li>
222-
<li>
223-
<Link prefetch={false} href="/minihud">
224-
MiniHUD
225-
</Link>
226-
</li>
227222
<li>
228223
<Link prefetch={false} href="/hud/pytorch/pytorch/main">
229224
PyTorch

torchci/components/minihud.module.css

Lines changed: 0 additions & 131 deletions
This file was deleted.

torchci/next.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ module.exports = {
2727
source: "/ci/:repoOwner/:repoName/:branch",
2828
destination: "/hud/:repoOwner/:repoName/:branch/1",
2929
},
30-
{
31-
source: "/minihud",
32-
destination: "/minihud/pytorch/pytorch/main/1",
33-
},
3430
{
3531
source: "/tts",
3632
destination: "/tts/pytorch/pytorch/main",

0 commit comments

Comments
 (0)