You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Safe-output publication defaults to ubuntu-slim despite a 45-minute timeout and heavyweight checkout #72092
The generated safe_outputs job defaults to runs-on: ubuntu-slim and timeout-minutes: 45. ubuntu-slim has a hard 15-minute execution limit, so the declared timeout is misleading for publication jobs that prepare large repository checkouts.
Observed with gh-aw 0.93.2; regenerated 0.93.5 locks still have this runner/timeout combination. This is a sanitized report from a private deployment; no private source or run links are included.
Observed behavior
Two publication jobs ended with the check annotation:
The job has exceeded the maximum execution time of 15m0s
They were publishing cross-repository PR/branch changes against a large repository. Additional-ref fetching took approximately 6-11 minutes, on top of initial checkout and setup.
One job applied its mutations and produced per-item receipts, then was cancelled near completion.
The other was cancelled while fetching refs, before its requested PR could be created.
These are not interchangeable failures: blindly replaying either job can duplicate already-applied effects.
Existing workaround
Explicitly select a runner suitable for heavyweight publication:
Narrowing fetched refs and avoiding unnecessary checkout work also helps. Raising timeout-minutes alone does not override the runner's hard limit.
Requested change
Choose a suitable default runner for safe-output jobs requiring repository checkout/fetch and code publication, or require an explicit choice with an actionable compiler diagnostic.
Warn when an effective ubuntu-slim job declares a timeout above its supported limit. The compiler's own default combination should not imply 45 minutes are available.
Document the runner constraint beside the safe-output timeout setting and add compilation regression tests.
Keep lightweight API-only publication eligible for ubuntu-slim; a blanket increase in runner size is not necessary.
Activity
pelikhan commentedon Oct 27, 2026
The compiler upgrades to Ubuntu-latest when timeout > 15