Skip to content

[codex] Upload Windows coverage data#3174

Merged
adamtheturtle merged 4 commits into
mainfrom
adamtheturtle/remove-windows-docker-pragma
May 19, 2026
Merged

[codex] Upload Windows coverage data#3174
adamtheturtle merged 4 commits into
mainfrom
adamtheturtle/remove-windows-docker-pragma

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

@adamtheturtle adamtheturtle commented May 19, 2026

Windows tests now upload their .coverage.* artifact so the existing coverage combine job can include those results. Coverage is configured for subprocess collection and relative paths so xdist worker data from Windows can combine cleanly on Ubuntu. With Windows Docker coverage included, the Docker-specific # pragma: no cover annotations for Windows-only branches are removed. Validated with coverage config inspection, workflow linting, targeted Docker pytest without builds, pylint, custom linters, and the repository pre-commit/pre-push hooks.


Note

Medium Risk
Moderate risk because it changes CI coverage collection/combining and could cause coverage gating failures or missing artifacts across Windows/Linux runs.

Overview
CI now includes Windows coverage in the overall 100% gate. The Windows workflow uploads .coverage.* artifacts so the existing coverage combine job on Ubuntu can merge them.

Coverage configuration is adjusted for cross-platform/xdist compatibility by enabling subprocess patching (run.patch = ["subprocess"]) and using relative file paths (run.relative_files = true).

Docker tests are updated to reflect the new coverage behavior by removing Windows-only # pragma: no cover suppressions and tightening them to only exclude the truly unreachable assertion path.

Reviewed by Cursor Bugbot for commit ab499ff. Bugbot is set up for automated code reviews on this repo. Configure here.

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