Closes #22118: Collect coverage from parallel test workers#22119
Conversation
Configure coverage.py for multiprocessing so Django's parallel test workers are included in the coverage data. Move coverage source and report settings into pyproject.toml, and combine per-process coverage data before generating the report. Fixes #22118
|
@claude /review Only report on issues of potential concern; we don't need commentary on anything that doesn't require further consideration. |
|
Claude finished @pheus's task in 2m 16s —— View job Review
The approach is correct —
|
Fixes: #22118
Configure coverage.py to collect data from Django's parallel test workers.
The coverage job currently runs the Django test suite with
--parallel, which uses worker processes. This change adds coverage.py multiprocessing configuration, moves the measured source/report settings intopyproject.toml, and combines the per-process coverage data before generating the report.This keeps the faster parallel test run while making the remaining coverage job more accurate.