Repository navigation
ci: balance the 3 full-suite parts by recorded test durations (#4825) - #4829
Merged
Merged
Conversation
#4828's count-based split ran 11.3 / 5.7 / 7.1 min (part 1 held the heavy tests). .test_durations (16,617 tests, 20.3 min of test time, recorded locally with --store-durations, rounded to 0.01 s) lets pytest-split balance by time: simulated 6.8 / 6.8 / 6.7 min of test time per part. Refresh with `pytest tests/ -n 8 --store-durations`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
Contributor
squid-protocol
marked this pull request as ready for review
October 10, 2026 03:01
squid-protocol
added a commit
that referenced
this pull request
Oct 10, 2026
…ilures stop blocking after 3 reruns; keep watching an empty queue (#4790) (#4830) * ci shepherd: a failure main has too is main's, not the PR's; non-required infra failures stop blocking after 3 reruns (#4790) - ci_digest: one more call fetches the checks failing on main's newest commit; a real failure of the same check on a PR is triaged `main` (repro: fix main). The shepherd logs it and posts no PR note -- on 2026-10-09 every open PR got a misleading "real failure" note while main itself was red. - ci_shepherd: when every remaining failure is infra, none of those checks is required by main's rules (read from rules/branches/main; unreadable rules = everything required) and each has used its 3 reruns, the PR merges with one note saying so. muninn failed every PR for an hour on 2026-10-09 because Docker Hub throttled the image GitHub builds before any step runs. A real finding in a non-required check (muninn, CodeQL) still blocks; a required check always does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV * ci shepherd: keep watching an empty queue (a PR queued later still merges); --exit-when-empty for the old stop 2026-10-09: it merged its last PR, found the queue empty and exited; #4818, queued minutes later, sat green. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV * ci: advisory summaries run in full-suite part 3, entry-point checks stay in part 1 (balance; #4829 ran 10.1 / 6.9 / 7.6 min) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV * ci_digest: suite part names get the pytest repro; test_prism_suppression_regex_bomb is a #4477 timing flake #4830's part 2 failed on it: 1.006 s against a 1.0 s bound on a loaded runner; the digest called it real and fell back to pr_gates --fast because 'full-suite part 2/3' did not match the repro table. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Follow-up to #4828: its count-based split ran 11.3 / 5.7 / 7.1 min, because part 1 held the heavy tests.
Change:
.test_durationsholds per-test seconds for 16,617 tests (20.3 min of test time), recorded locally with--store-durationsand rounded to 0.01 s. pytest-split reads it automatically and balances the parts by time: simulated 6.8 / 6.8 / 6.7 min of test time per part. A test the file doesn't list counts at the average. Refresh withpytest tests/ -n 8 --store-durations(noted in smoke-test.yml).Not done (#4814): caching main's "before" translation for the port diff. GitHub's Actions cache is scoped per branch, so a cache a PR saves only helps re-runs of that PR. It would have to be built by a main run per main commit, which is a low hit rate for ~2 min on translator PRs only.
pr_gates --fast5/5. This PR's own CI shows the new split.🤖 Generated with Claude Code
https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV