Skip to content

@W-23895509: Add job-level timeout to CI workflows - #127

Merged
shauryemahajanSF merged 2 commits into
release/26.8from
shaurye.W-23895509.ci-job-timeouts
Aug 18, 2026
Merged

shauryemahajanSF merged 2 commits into
release/26.8from
shaurye.W-23895509.ci-job-timeouts

Conversation

@shauryemahajanSF

Copy link
Copy Markdown
Contributor

What

Adds timeout-minutes: 10 to the three CI jobs:

  • test-scripts (test-scripts.yml)
  • security (security.yml)
  • verify-zips (verify-zip.yml)

Why

On PR #123, a test-scripts run hung ~38 minutes on the apt-get "Install XML tools" step because the ubuntu-latest runner was wedged — the identical step in the security job on the same commit finished in 90s, confirming it was a bad runner, not the code. Without a cap, a wedged runner runs up to GitHub's 6h default before failing.

A job-level timeout is the minimal backstop: it caps the whole job (all steps, current and future) so a hung runner fails fast and is retriable, with no per-step maintenance. 10 min is generous over the normal ~2 min runtime, so it only fires on a genuine hang.

🤖 Generated with Claude Code

Backstop against a wedged ubuntu-latest runner hanging up to the 6h
default (as happened on an apt-get step in PR #123). Job-level cap
covers all steps, current and future, with no per-step maintenance.

Co-Authored-By: Claude Opus 4.8 (1M context) <claude.noreply@salesforce.com>
@shauryemahajanSF
shauryemahajanSF marked this pull request as ready for review August 18, 2026 18:58
@shauryemahajanSF
shauryemahajanSF requested review from a team August 18, 2026 18:58
@shauryemahajanSF
shauryemahajanSF merged commit f6a5c68 into release/26.8 Aug 18, 2026
1 check passed
@shauryemahajanSF
shauryemahajanSF deleted the shaurye.W-23895509.ci-job-timeouts branch August 18, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants