Commit 6bb3c0f
authored
[hud] Match viable/strict-blocking jobs on workflow name, not substring (#8439)
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.15.0)
(oldest at bottom):
* __->__ #8439
isJobViableStrictBlocking used unanchored substring regexes, so "trunk"
matched "trunk-tagging" / "trunk-rocm-sandbox" and mislabeled them as
viable/strict blocking (shown even with "Hide non-viable-strict jobs").
Anchor patterns to the workflow-name segment to mirror the gate.
Test: yarn jest test/jobClassifierUtil.test.ts1 parent e3ac67a commit 6bb3c0f
2 files changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
0 commit comments