Repository navigation
ci: raise backend-unit-test pytest timeout 15m → 25m (stop spurious runner-variance cancels) - #1719
Merged
Merged
Conversation
…cancels) The pytest matrix job runs ~7-8 min on a normal GitHub runner, but the shared runners vary ~2-2.5x. A slow one was sitting at ~78% of the suite (all tests passing — pure dots in the log) when it hit the 15-min `timeout-minutes` and got killed, which surfaces as a red "pytest (…) fail" + a "regression diff" fail even though the diff itself reports "No new failures". Seen repeatedly this cycle (#1700, #1712) with zero real failures. 25 min gives headroom for the slow tail without masking a genuine hang — pytest-timeout still bounds any single test. Not payload-specific; belongs on dev so every PR stops flaking on runner variance. Related to #1712
|
Resolve by running |
vybe
approved these changes
Jul 22, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
Validated via /validate-pr: required checks green, security scan clean, scope focused.
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.
What
Raises the
backend-unit-test.ymlpytest matrix job'stimeout-minutes15 → 25.Why
The suite runs ~7-8 min on a normal GitHub runner, but the shared runners vary ~2-2.5×. A slow one sits at ~78% of the suite (all tests passing — pure dots in the log) when it hits the 15-min cap and gets killed. That surfaces as a red
pytest (…, seed …) failplus aregression difffail — even though the diff itself reports "✅ No new failures."Seen three times this cycle on PRs that can't possibly break pytest:
Each needed a manual empty-commit/branch patch. This fixes it fleet-wide so no PR flakes on runner variance.
Safety
25 min covers the observed ~19-min worst case with margin, and does not mask a genuine hang —
pytest-timeoutstill bounds any single test. One-line, workflow-only change.🤖 Generated with Claude Code