Repository navigation
fix(native): support sentry_reinstall_backend - #2159
Merged
Merged
Conversation
jpnurmi
force-pushed
the
jpnurmi/fix/native-reinstall
branch
from
October 2, 2026 15:26
31d177e to
5233c12
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2159 +/- ##
==========================================
- Coverage 75.41% 75.22% -0.19%
==========================================
Files 103 103
Lines 28105 28151 +46
Branches 5132 5143 +11
==========================================
- Hits 21194 21176 -18
- Misses 5578 5643 +65
+ Partials 1333 1332 -1 🚀 New features to boost your workflow:
|
Reinstall native crash handlers without restarting the daemon or recreating backend state. Preserve saved handlers across repeated calls, including a `NULL` previous Windows exception filter. Add regression tests for handler replacement and crash uploads with preserved breadcrumbs and attachments. Also remove the experimental marker from `sentry_reinstall_backend`.
jpnurmi
force-pushed
the
jpnurmi/fix/native-reinstall
branch
from
October 2, 2026 16:37
5233c12 to
f84917f
Compare
limbonaut
approved these changes
Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backend reinstallation, as originally introduced in #449 (#388), is mostly useful when using the Native SDK alongside other frameworks and runtimes that install signal handlers.
This PR adds missing reinstallation support for the native backend by reinstalling signal handlers without shutting down and starting up the whole backend/daemon. It also preserves saved handlers across repeated calls, including a
NULLprevious Windows exception filter.Also, remove the experimental label from
sentry_reinstall_backendnow that all backends support reinstallation.Ref: #2116