ci: balance heavy tests across test matrix legs - #5964
Draft
jezdez wants to merge 1 commit into
Draft
Conversation
This was referenced Apr 28, 2026
jezdez
force-pushed
the
ci/heavy-test-marker
branch
from
July 24, 2026 15:33
db3ff71 to
9b17470
Compare
jezdez
force-pushed
the
ci/heavy-test-marker
branch
from
July 24, 2026 16:17
9b17470 to
db56bbb
Compare
jezdez
force-pushed
the
ci/heavy-test-marker
branch
from
July 24, 2026 17:48
db56bbb to
baa286f
Compare
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.
Description
Stacked on top of #5963.
This PR introduces an
@pytest.mark.heavymarker and uses it to distribute five high-duration integration tests between the two xdist matrix legs.The current
durations/Linux.jsonrecords:These stored call durations total about 1,286 seconds. They overlap when tests run under xdist, so they are useful for selecting expensive tests but are not a wall-time estimate.
Linux and macOS route heavy tests to the matrix leg named
serial. Both matrix legs continue to run withpytest -n auto. On Windows,heavy and slowtests remain excluded, preserving the existing exclusion oftest_conda_py_no_period.The intended effect is to distribute long-running tests more evenly between concurrently scheduled CI jobs without changing their execution semantics.
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?