Commit a03e5a3
## Summary
- Adds `timeout-minutes: 10` to all 8 jobs in `governance-reusable.yml`.
A transient `codeload.github.com` outage that hangs the implicit
`actions/checkout` mid-fetch can no longer burn the default 6-hour
runner budget per stuck job.
- Documents the situation + recommended downstream mitigation in the
workflow's header doc block.
## Why not more
Codeload's tarball-fetch retry policy is **runner-side**, controlled by
GitHub, not surfaced via workflow inputs. The 2026-05-26 incident (cited
in #208) saw `actions/checkout` itself fail to download, which happens
*before* any per-step `continue-on-error` can fire. The workflow file
therefore can't natively make those fetches resilient.
The honest mitigation hierarchy:
1. **Workflow-level (this PR)**: bound the cost of a stuck job via
`timeout-minutes`.
2. **Operational (today's pattern)**: `gh run rerun --failed --repo
<owner>/<repo> <run-id>` — restored 60-80% of failures in the 2026-05-26
sweep.
3. **Opt-in per-repo (future)**: a `workflow_run`-triggered
`auto-rerun-on-codeload-fail.yml` that scrubs the failing run's logs for
the codeload signature and reruns once. Needs `actions: write`, which
this reusable deliberately doesn't request — left as a sidecar pattern
for repos that want it.
## Closes
Closes #208.
## Test plan
- [ ] Workflow YAML parses (governance jobs still discover at PR time)
- [ ] No behaviour change for green runs
- [ ] 10-minute upper bound observed via GH UI on next post-merge run
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1a06816 commit a03e5a3
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
42 | 60 | | |
43 | 61 | | |
44 | 62 | | |
| |||
58 | 76 | | |
59 | 77 | | |
60 | 78 | | |
| 79 | + | |
61 | 80 | | |
62 | 81 | | |
63 | 82 | | |
| |||
123 | 142 | | |
124 | 143 | | |
125 | 144 | | |
| 145 | + | |
126 | 146 | | |
127 | 147 | | |
128 | 148 | | |
| |||
366 | 386 | | |
367 | 387 | | |
368 | 388 | | |
| 389 | + | |
369 | 390 | | |
370 | 391 | | |
371 | 392 | | |
| |||
393 | 414 | | |
394 | 415 | | |
395 | 416 | | |
| 417 | + | |
396 | 418 | | |
397 | 419 | | |
398 | 420 | | |
| |||
479 | 501 | | |
480 | 502 | | |
481 | 503 | | |
| 504 | + | |
482 | 505 | | |
483 | 506 | | |
484 | 507 | | |
| |||
527 | 550 | | |
528 | 551 | | |
529 | 552 | | |
| 553 | + | |
530 | 554 | | |
531 | 555 | | |
532 | 556 | | |
| |||
584 | 608 | | |
585 | 609 | | |
586 | 610 | | |
| 611 | + | |
587 | 612 | | |
588 | 613 | | |
589 | 614 | | |
| |||
626 | 651 | | |
627 | 652 | | |
628 | 653 | | |
| 654 | + | |
629 | 655 | | |
630 | 656 | | |
631 | 657 | | |
| |||
0 commit comments