Repository navigation
ci: run Windows Tier 2 tests in parallel and align native Windows action pins - #758
Merged
Merged
Conversation
The Python 3.12 coverage job ran pytest serially and took about 38 minutes, while every other PR job finishes in under 9. Run it with -n auto and COVERAGE_CORE=sysmon: sys.monitoring removes most of the coverage overhead that made the timing-bound tests fail under xdist (#261), and reports the same line coverage. Tier 2 on Windows also runs with -n auto. Drop the standalone source boundary scan from the 3.12 job: the Package job runs the same command plus the built wheel and sdist. Pin the native Windows job to the same checkout, setup-python and setup-uv versions as the other jobs. Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 17, 2026 08:04
Main now runs the Python 3.12 pull-request tests in parallel without coverage (#492) and keeps the source OSS-boundary scan for docs-only pull requests, so this branch takes main's version of those steps. It keeps the parallel Windows Tier 2 run and the aligned native Windows action pins. Signed-off-by: Christopher Kevin <[email protected]>
The merge left two identical with: blocks on the native Windows local mode setup-uv step. GitHub rejects the duplicate key, so no jobs ran. Signed-off-by: Christopher Kevin <[email protected]>
1 of 2 tasks
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.
Summary
Speeds up two CI jobs without dropping any check.
uv run pytest -q -n auto. It was the only Tier 2 job still running tests one at a time (about 8 minutes).actions/checkout(v7.0.0),actions/setup-python(v6.3.0) andastral-sh/setup-uv(v8.3.0, uv0.13.8) as every other job inci.yml, instead of older v4/v5 pins with an unpinned uv.Main already runs the Python 3.12 pull-request tests in parallel (#492), and the source OSS-boundary scan stays because docs-only pull requests rely on it, so this PR no longer changes those steps.
Testing
tests/test_ci_workflows.pyandtests/test_oss_packaging.py: 100 passed. The one failure,test_harbor_environment_kwarg_contract_matches_installed_source, fails the same way on unmodified main in a local environment whose installed Harbor is older thanuv.lock.