Skip to content

Cap CI jobs at 30 minutes - #228

Merged
DABH merged 1 commit into
mainfrom
ci-job-timeout
Sep 11, 2026
Merged

Cap CI jobs at 30 minutes#228
DABH merged 1 commit into
mainfrom
ci-job-timeout

Conversation

@DABH

@DABH DABH commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The CI workflow sets no timeout-minutes, so a hung job burns GitHub's 6-hour default before failing — this bit temporalio/samples-python twice (a 360-minute job on main and a 4.5-hour hang on a PR) before temporalio/samples-python#364 added a cap there. Recent jobs finish in ~4 minutes, so a 30-minute cap is generous headroom while turning a hang into a fast, visible failure instead of a stuck PR.

Without an explicit limit a hung job burns GitHub's 6-hour default
timeout before failing; recent jobs finish in ~4 minutes, so 30 minutes is
generous headroom while failing hangs fast.
@DABH
DABH requested a review from a team as a code owner September 10, 2026 16:51
@DABH
DABH enabled auto-merge (squash) September 10, 2026 17:09
@DABH
DABH merged commit 24e1ef6 into main Sep 11, 2026
8 checks passed
@DABH
DABH deleted the ci-job-timeout branch September 11, 2026 14:33
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