Skip to content

Commit a880734

Browse files
authored
[HUD] Hack for rerun disable tests and mem leak regex (#6566)
The job name is so long its getting cut off <img width="1041" alt="image" src="https://github.com/user-attachments/assets/692e07ea-eb36-45a0-a5ab-b5dd0bead284" /> so the regex is returning false. This is a bad hack which I figure out what to do with the job name so I don't have to stare at those jobs in the normal periodic group of the hud page
1 parent 0b25ac2 commit a880734

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

torchci/lib/JobClassifierUtil.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ const GROUP_OTHER = "other";
3232
// Jobs will be grouped with the first regex they match in this list
3333
export const groups = [
3434
{
35-
regex: /mem_leak_check/,
35+
// Weird regex because some names are too long and getting cut off
36+
// TODO: figure out a better way to name the job or filter them
37+
regex: /, mem_leak/,
3638
name: GROUP_MEMORY_LEAK_CHECK,
3739
persistent: true,
3840
},
3941
{
40-
regex: /rerun_disabled_tests/,
42+
regex: /, rerun_/,
4143
name: GROUP_RERUN_DISABLED_TESTS,
4244
persistent: true,
4345
},

0 commit comments

Comments
 (0)