Commit 0460f9d
authored
[autorevert] Filter out disabled workflows in workflow resolver (#7617)
Autorevert had trouble dispatching `inductor` workflow. Turns out, we
have an old deleted workflow with the same name:
https://github.com/pytorch/pytorch/actions/workflows/inductor-cu126.yml
The short term fix (this PR) is to filter out disabled workflows from
the cache, and warn about naming conflicts.
### Testing
```
python -m pytorch_auto_revert autorevert-checker inductor --hours 18 --hud-html --as-of "2025-12-22 23:25:05"
```
Successfully dispatched workflow inductor for commit
270863426366da61609430dffb479a452311d02b (run:
https://github.com/pytorch/pytorch/actions/workflows/inductor.yml?query=branch%3Atrunk%2F270863426366da61609430dffb479a452311d02b
Successfully dispatched workflow inductor for commit
9be4f54558636a68d068b40d424c1bf129f17f59 (run:
https://github.com/pytorch/pytorch/actions/workflows/inductor.yml?query=branch%3Atrunk%2F9be4f54558636a68d068b40d424c1bf129f17f59)1 parent 960d462 commit 0460f9d
File tree
1 file changed
+14
-0
lines changed- aws/lambda/pytorch-auto-revert/pytorch_auto_revert
1 file changed
+14
-0
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
119 | 133 | | |
120 | 134 | | |
121 | 135 | | |
| |||
0 commit comments