Problem
The safe_outputs job in compiled .lock.yml workflows always has timeout-minutes: 15, regardless of the top-level timeout-minutes value in the workflow frontmatter.
// pkg/workflow/compiler_safe_outputs_job.go, buildSafeOutputsJobFromParts()
Job{
TimeoutMinutes: 15, // hardcoded; comment: "Slightly longer timeout for consolidated job with multiple steps"
...
}
The top-level timeout-minutes frontmatter only propagates to the agent job, not to framework jobs (safe_outputs, detection, activation).
Impact
Workflows that push to large monorepos (e.g. github/github) via create_pull_request or push_to_pull_request_branch safe outputs are hitting the 15-minute wall. In run 27273467064 for the ci-perf workflow:
- Checkout of github/github with sparse-checkout +
--filter=blob:none --depth=20: ~2m34s
- Fetch additional refs (
master + ~25 dsyme/ci-perf/* branches at depth=20): ~38s
- Process Safe Outputs (applying patches, creating/updating PRs): started at 12:36:11, killed at exactly 12:47:30 (~11m19s elapsed, hit 15m wall from job start)
The workflow has timeout-minutes: 120 in frontmatter but this only reaches the agent job (timeout-minutes: 120 at line 1131 of the compiled YAML). The safe_outputs job gets timeout-minutes: 15 (line 1864).
Request
Please add a frontmatter option to configure the safe_outputs job timeout, for example:
---
timeout-minutes: 120
safe-outputs:
timeout-minutes: 30
---
Or alternatively, propagate the top-level timeout-minutes to all framework jobs (with the current 15m as the minimum/default).
Workaround
None currently — the safe_outputs job cannot be configured via frontmatter and post-compilation patching of the lock file defeats the point of gh-aw.
Problem
The
safe_outputsjob in compiled.lock.ymlworkflows always hastimeout-minutes: 15, regardless of the top-leveltimeout-minutesvalue in the workflow frontmatter.The top-level
timeout-minutesfrontmatter only propagates to the agent job, not to framework jobs (safe_outputs,detection,activation).Impact
Workflows that push to large monorepos (e.g. github/github) via
create_pull_requestorpush_to_pull_request_branchsafe outputs are hitting the 15-minute wall. In run 27273467064 for theci-perfworkflow:--filter=blob:none --depth=20: ~2m34smaster+ ~25dsyme/ci-perf/*branches at depth=20): ~38sThe workflow has
timeout-minutes: 120in frontmatter but this only reaches the agent job (timeout-minutes: 120at line 1131 of the compiled YAML). Thesafe_outputsjob getstimeout-minutes: 15(line 1864).Request
Please add a frontmatter option to configure the safe_outputs job timeout, for example:
Or alternatively, propagate the top-level
timeout-minutesto all framework jobs (with the current 15m as the minimum/default).Workaround
None currently — the
safe_outputsjob cannot be configured via frontmatter and post-compilation patching of the lock file defeats the point of gh-aw.