Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #502 +/- ##
==========================================
+ Coverage 58.23% 59.02% +0.78%
==========================================
Files 40 43 +3
Lines 6489 7456 +967
Branches 1098 1157 +59
==========================================
+ Hits 3779 4401 +622
- Misses 2177 2509 +332
- Partials 533 546 +13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…module why: Enable safe concurrent access to shared resources across multiple processes, particularly for pytest-xdist parallel test execution. what: - Add FileLock class with context manager support - Add atomic_init() for one-time initialization with locking - Support both sync and async usage patterns
why: Improve test performance with session-scoped caching and atomic initialization for pytest-xdist compatibility. what: - Add XDG-based persistent cache for fixture master copies - Add RepoFixtureResult dataclass with cache hit/miss tracking - Add atomic_init for race-free initialization in parallel tests - Optimize git_repo, hg_repo, svn_repo fixtures with caching
what: - Add FileLock context manager tests - Add atomic_init race condition tests - Add timeout and error handling tests
what: - Add fixture cache hit/miss verification tests - Add persistent cache version key tests - Add VCS-native copy vs shutil.copytree benchmarks
what: - Add docs/internals/file_lock.md with API reference - Add file_lock to internals toctree
what: - Add performance and benchmark pytest markers to pyproject.toml - Add fixture cache hit/miss tracking hooks to conftest.py
|
Automated review finding. Recorded here so it is not lost. Nothing has been pushed to this branch and no fix is applied — this is a note, not a change request. Vendored
|
Summary
~/.cache/libvcs/pytest/)RepoFixtureResultwith cache hit/miss trackingatomic_initfor race-free initialization with pytest-xdistFileLockmodule for atomic operationsTest plan