Skip to content

fix(native): support sentry_reinstall_backend - #2159

Open
jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/fix/native-reinstall
Open

jpnurmi wants to merge 1 commit into
masterfrom
jpnurmi/fix/native-reinstall

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

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 now that all backends support it.

Ref: #2116

@codecov

codecov Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.87719% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.22%. Comparing base (636593d) to head (f84917f).

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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
jpnurmi force-pushed the jpnurmi/fix/native-reinstall branch from 5233c12 to f84917f Compare October 2, 2026 16:37

This branch has not been deployed

No deployments
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