ci: add job timeout-minutes and pin backport checkout to a SHA#2891
Merged
Conversation
Hardening of the GitHub Actions workflows: - Add timeout-minutes to every job (none had one). A hung job -- e.g. the Testcontainers/JBang integration-tests run -- previously could run up to the 6h GitHub default. Values are generous upper bounds (integration-tests 90, java-tests/ci-build 60, the rest 30). - Pin actions/checkout in backport.yml to the commit SHA already used by the other workflows (was the mutable v7.0.0 tag), for supply-chain consistency. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
davsclaus
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Small hardening of the GitHub Actions workflows (from a catalog audit). CI config only — no product changes.
timeout-minuteson every job — none of the 10 jobs had a timeout, so a hung job (most importantly the Testcontainers/JBangintegration-testsrun) could run up to GitHub's 6-hour default before being killed. Added generous upper bounds:integration-tests90,java-tests/ci-build60, the rest 30.actions/checkoutinbackport.ymlto a commit SHA (9c091bb…— the same pin the other workflows already use) instead of the mutablev7.0.0tag, for supply-chain consistency.Verification
runs-onjobs ↔ 10timeout-minutes(1:1).actions/checkout@v*tag references remain.AI-generated by Claude Code on behalf of Andrea Cosentino (@oscerd).