Skip to content

chore: Reset batchers at fork from client - #8328

Closed
alexander-alderman-webb wants to merge 3 commits into
webb/lock-free-basefrom
webb/deduplicate-register-at-fork
Closed

alexander-alderman-webb wants to merge 3 commits into
webb/lock-free-basefrom
webb/deduplicate-register-at-fork

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Batchers are SDK implementation details, and are not exposed as components to users.
The client can therefore own the os.register_at_fork hook to make the batchers simpler.

Issues

Reminders

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 59154 passed | ⏭️ 3035 skipped | Total: 62189 | Pass Rate: 95.12% | Execution Time: 231m 53s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -84972
Passed Tests 📉 -80149
Failed Tests 📉 -1
Skipped Tests 📉 -4822

All tests are passing successfully.

❌ Patch coverage is 54.55% (6 of 11 changed executable lines covered; target 80%).
Project statement coverage is 90.05% (down 0.17 percentage points from base (e5e7b7d) to head (fb7b724)).

Changed files with executable lines (1)
File Patch coverage Changed executable lines
sentry_sdk/client.py 54.55% 6/11 covered; missed: 398, 399, 400, 960, 961; partial branches: 394
Coverage diff
@@            Coverage Diff             @@
##        master     #8328       +/-##
==========================================
- Coverage    90.22%    90.05%    -0.17%
==========================================
  Files          203       200        -3
  Tracked lines     27333     22156     -5177
  Branches     10242      7758     -2484
==========================================
- Hits         24660     19951     -4709
+ Misses        2673      2205      -468
+ Partials      1556      1280      -276

Generated by Coverage Action

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review November 19, 2026 09:11
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner November 19, 2026 09:11
@alexander-alderman-webb

Copy link
Copy Markdown
Collaborator Author

Closing this because I can rely on the base class behavior, and it's not strictly needed for the lock free batcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant