-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
Async API Core modules represent ~8.2% of the total codebase (2,640 / 32,085 statements) but are sitting at only ~16% coverage — far below the project average of 44%. Bringing this category to 100% would add roughly +7 percentage points to overall coverage, making it by far the highest-impact category. The worst offenders are bulk.py at 9%, client_bulk.py at 10%, and cursor.py at 11%.
Async module coverage can be improved by targeting critical code paths:
- asynchronous/collection.py, cursor.py, bulk.py, client_session.py, change_stream.py
- 70–86% uncovered; error recovery, cancellation, async context managers
Definition of done
Improve async coverage to ~80% which should increase total coverage by up to 7%.
Pitfalls
NA