Skip to content

ci: cap Build & Test at 30 minutes - #4055

Merged
B4nan merged 2 commits into
masterfrom
ci/build-test-timeout
Aug 26, 2026
Merged

ci: cap Build & Test at 30 minutes#4055
B4nan merged 2 commits into
masterfrom
ci/build-test-timeout

Conversation

@B4nan

@B4nan B4nan commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Build & Test has no timeout-minutes, so it inherits GitHub's 6h default. A green run takes about 5 to 10 minutes, but a flaky test that leaks a handle (an orphan node process that never exits) hangs the whole job until the 6h kill. That burns a runner and leaves the PR red for hours.

This just happened on #4052: node 22 and 26 hung to the 6h limit while node 24 passed in about 10 minutes, and a plain rerun then passed all three in about 5 minutes. Same code, same PR, so it was a flaky hang rather than a real failure.

Capping the job at 30 minutes keeps a wide margin over a normal run while failing fast on these hangs. test-e2e.yml already sets a step-level timeout, so this follows existing practice.

A green Build & Test run is ~5-10 min. Without a job timeout it inherits the
6h default, so a flaky test that leaks a handle (orphan node process) hangs the
whole job to the 6h limit and burns a runner. 30 min is a wide margin over a
normal run while failing fast on such hangs.
@B4nan B4nan added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Aug 20, 2026
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 20, 2026
@B4nan
B4nan requested a review from janbuchar August 20, 2026 08:20
@B4nan
B4nan enabled auto-merge (squash) August 20, 2026 08:23
@B4nan
B4nan merged commit a8da146 into master Aug 26, 2026
10 checks passed
@B4nan
B4nan deleted the ci/build-test-timeout branch August 26, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants