Repository navigation
v0.9.0 — worker-count guard & fuzz-CI repair
Fixes
- No more silent false-green from
workers < 1.--workers 0/ a zero or negativePYTEST_FAST_WORKERScould reach the daemon through thepytest --fastplugin path — 0 workers run nothing, so the session exited green having executed no tests. Worker-count validation is now centralized in_resolve_workers: an explicit< 1is rejected on every front-end (CLI →parser.error, plugin →pytest.UsageError,Daemon.__init__→ a realValueErrorthat survivespython -O). An unparseablePYTEST_FAST_WORKERSstill falls back to auto-detect. - Atheris fuzz CI repaired. The job synced the venv on 3.13 and
uv pip installed atheris ad-hoc, then ran the harness with a bareuv run, which reconciled the env against.python-version(3.11), rebuilt the venv, and dropped atheris →ModuleNotFoundErrorbefore any fuzzing. Now usesuv run --no-sync(CI step + Makefilefuzztarget).
New
- Public worker-count API so external tooling stops importing internals or replicating perf-core detection:
pytest_fast.resolve_workers(cli_value=None)anddefault_workers()pytest-fast --print-inferred-workers— prints the resolved count (honoring--workers/PYTEST_FAST_WORKERS/ auto-detect) and exits, e.g.W=$(pytest-fast --print-inferred-workers)in a Makefile.
Tests
8 new cases including a plugin-path regression asserting pytest --fast --fast-workers 0 fails loudly and never reports a pass. Full default suite green across the Linux/macOS × py3.11–3.14 matrix.
Full changelog: v0.8.0...v0.9.0