Skip to content

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

Merged
shauryemahajanSF merged 1 commit into
release/26.9from
shaurye.W-23895509.ci-job-timeouts-26.9
Aug 18, 2026
Merged

shauryemahajanSF merged 1 commit into
release/26.9from
shaurye.W-23895509.ci-job-timeouts-26.9

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.

This is the release/26.9 counterpart of the same change targeting release/26.8 (#127).

🤖 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 19:18
@shauryemahajanSF
shauryemahajanSF requested review from a team August 18, 2026 19:18
@shauryemahajanSF
shauryemahajanSF merged commit 7d3c24c into release/26.9 Aug 18, 2026
1 check passed
@shauryemahajanSF
shauryemahajanSF deleted the shaurye.W-23895509.ci-job-timeouts-26.9 branch August 18, 2026 19:18
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.

1 participant