Skip to content

Clean up coverage data files of parallel runs - #125

Merged
bittner merged 1 commit into
mainfrom
coverage-parallel-data-files
Nov 11, 2026
Merged

bittner merged 1 commit into
mainfrom
coverage-parallel-data-files

Conversation

@bittner

@bittner bittner commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

With pytest-xdist, coverage writes one data file per process, named .coverage.<host>.pid<pid>.X<random>x, optionally followed by .H<hash>h. Without coverage combine, they stay behind. The coverage topic now removes them, but not .coveragerc or other files.

@bittner
bittner force-pushed the coverage-parallel-data-files branch from 60d7924 to ba27f81 Compare November 11, 2026 19:46
@bittner bittner self-assigned this Nov 11, 2026
@bittner bittner added the enhancement New feature or request label Nov 11, 2026
With pytest-xdist, coverage writes one data file per process, named
`.coverage.<host>.pid<pid>.X<random>x`, optionally followed by `.H<hash>h`.
Without `coverage combine`, they stay behind. The coverage topic now removes
them, but not `.coveragerc` or other files.
@bittner
bittner force-pushed the coverage-parallel-data-files branch from ba27f81 to 1ac2de6 Compare November 11, 2026 21:33
@bittner
bittner merged commit 84e76db into main Nov 11, 2026
34 checks passed
@bittner
bittner deleted the coverage-parallel-data-files branch November 11, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant