Commit 0c006ce
authored
Follow release reusables whose runner comes from _select-release-runner outputs (#8530)
`_build-triton-wheel-linux.yml` never made it into the release
runner-group allow-list, so all 40 `build-wheel-{cuda,aarch64,rocm,xpu}`
jobs in "Build Triton wheels" sat `queued` with `runner_group_name: ""`
— see [pytorch/pytorch run
31811475863](https://github.com/pytorch/pytorch/actions/runs/31811475863).
`collect_release_workflow_paths` used two disagreeing notions of
"release related":
- **Entry detection** propagates the `rel-` signal through a local
reusable, so a workflow calling `_select-release-runner.yml` is
discovered. `build-triton-wheel.yml` was.
- **Edge traversal** only followed a `uses:` when the *calling job body*
held an inline `rel-` label.
pytorch/pytorch#193378 split the triton build into
`_build-triton-wheel-linux.yml`, invoked as:
```yaml
build-wheel-cuda:
needs: select-runner
uses: ./.github/workflows/_build-triton-wheel-linux.yml
with:
runs_on: ${{ needs.select-runner.outputs.x86 }}
```
No inline label, so the edge was never taken and the reusable that
actually consumes the release runner never reached the allow-list.
`_binary-build-linux.yml` survived only incidentally: its generated
caller still inlines the label in `runs_on:`.
### Testing
Run locally and
https://github.com/pytorch/pytorch/actions/runs/31811475863/job/94802925779
is working now1 parent b199540 commit 0c006ce
2 files changed
Lines changed: 145 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
257 | 259 | | |
258 | 260 | | |
259 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
260 | 309 | | |
261 | 310 | | |
262 | 311 | | |
| |||
334 | 383 | | |
335 | 384 | | |
336 | 385 | | |
337 | | - | |
| 386 | + | |
338 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
339 | 396 | | |
340 | 397 | | |
341 | 398 | | |
| |||
356 | 413 | | |
357 | 414 | | |
358 | 415 | | |
| 416 | + | |
359 | 417 | | |
360 | 418 | | |
361 | 419 | | |
362 | 420 | | |
363 | | - | |
| 421 | + | |
364 | 422 | | |
365 | 423 | | |
366 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
268 | 348 | | |
269 | 349 | | |
270 | 350 | | |
| |||
0 commit comments