Skip to content

Add transport worker factory and abstract base class for background worker - #4580

Merged
sl0thentr0py merged 6 commits into
srothh/transport-class-hierarchyfrom
srothh/worker-class-hierarchy
Aug 12, 2025
Merged

Add transport worker factory and abstract base class for background worker#4580
sl0thentr0py merged 6 commits into
srothh/transport-class-hierarchyfrom
srothh/worker-class-hierarchy

ref(worker): Add missing docstrings to worker ABC

ef780f3
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/project succeeded Jul 31, 2025 in 1s

84.98% (-0.01%) compared to 4e56e5c

View this Pull Request on Codecov

84.98% (-0.01%) compared to 4e56e5c

Details

Codecov Report

❌ Patch coverage is 78.26087% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.98%. Comparing base (4e56e5c) to head (ef780f3).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
sentry_sdk/worker.py 73.68% 5 Missing ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##           srothh/transport-class-hierarchy    #4580      +/-   ##
====================================================================
- Coverage                             84.99%   84.98%   -0.01%     
====================================================================
  Files                                   158      158              
  Lines                                 15395    15414      +19     
  Branches                               2432     2432              
====================================================================
+ Hits                                  13085    13100      +15     
- Misses                                 1556     1561       +5     
+ Partials                                754      753       -1     
Files with missing lines Coverage Δ
sentry_sdk/transport.py 86.14% <100.00%> (+0.07%) ⬆️
sentry_sdk/worker.py 81.08% <73.68%> (-1.90%) ⬇️

... and 1 file with indirect coverage changes