Measure platform-specific process paths in the coverage gate
- Dominant language
- Python
- Stars
- 62
- Forks
- 3
- Avg merge
- 7h
- Merged PRs (30d)
- 62
Description
Decision: Valid test-measurement gap.
Evidence: `pyproject.toml` excludes both `if sys.platform == "win32"` and `if sys.platform != "win32"` suites from coverage reporting. `zuvloop/_process.py` also excludes substantial libuv process code with pragmas that say macOS CI exercises it. Windows runs tests without coverage.
Impact: A platform path can stop executing while the aggregate report still claims 100% branch coverage.
Next action: Collect coverage artifacts on Linux, macOS, and Windows and combine them in one aggregate gate. Limit exclusions to genuinely unreachable defensive branches with explicit reasons.
Acceptance criteria: Every supported platform-specific implementation line is measured on at least one platform, and the combined branch report retains `fail_under = 100`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the platform exclusions in pyproject.toml and the coverage pragmas in zuvloop/_process.py, then review the existing Linux, macOS, and Windows test jobs. Configure coverage artifacts to be combined into one report, retaining only justified exclusions; done means supported platform-specific lines are measured and the aggregate branch gate keeps fail_under = 100.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, zig
- Domain
- ci-cd, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100