Skip to content

ci: run Windows Tier 2 tests in parallel and align native Windows action pins - #758

Merged
chrisknvidia merged 3 commits into
mainfrom
ci/christopherk/parallel-coverage
Nov 17, 2026
Merged

chrisknvidia merged 3 commits into
mainfrom
ci/christopherk/parallel-coverage

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Speeds up two CI jobs without dropping any check.

  • Tier 2 (Windows) now runs uv run pytest -q -n auto. It was the only Tier 2 job still running tests one at a time (about 8 minutes).
  • Native Windows local mode now uses the same pinned actions/checkout (v7.0.0), actions/setup-python (v6.3.0) and astral-sh/setup-uv (v8.3.0, uv 0.13.8) as every other job in ci.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.py and tests/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 than uv.lock.

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]>
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]>
@chrisknvidia chrisknvidia changed the title ci: run the coverage job and Windows Tier 2 in parallel ci: run Windows Tier 2 tests in parallel and align native Windows action pins Nov 17, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

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]>
@chrisknvidia
chrisknvidia merged commit 0b08ae1 into main Nov 17, 2026
23 checks passed
@chrisknvidia
chrisknvidia deleted the ci/christopherk/parallel-coverage branch November 17, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant