Skip to content

feat(native): Support the chain-at-start handler strategy on Android - #2273

Merged
jpnurmi merged 1 commit into
v1from
jpnurmi/feat/native-handler-strategy
Oct 29, 2026
Merged

jpnurmi merged 1 commit into
v1from
jpnurmi/feat/native-handler-strategy

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Allow SENTRY_HANDLER_STRATEGY_CHAIN_AT_START in the native backend on Android, as in the inproc backend, so that signals converted into managed exceptions are not captured as redundant/duplicate native crashes.

#skip-changelog (extracted from #1725)

Allow `SENTRY_HANDLER_STRATEGY_CHAIN_AT_START` in the native backend on
Android, as in the inproc backend, so that a signal that Mono turns into
a managed exception, such as a `NullReferenceException`, is not captured
as a native crash.

As in the inproc backend, fall back to the default strategy below API
26, where debuggerd kills the process after the chained handler runs.

This prepares the native backend for Android support (#1725).
@github-actions

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 8b4744f

@jpnurmi jpnurmi added the v1 Targets 1.0 (v1 branch) label Oct 29, 2026
@jpnurmi
jpnurmi requested a review from mujacica October 29, 2026 13:42
@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 76.09%. Comparing base (f815b40) to head (8b4744f).
⚠️ Report is 1 commits behind head on v1.

Additional details and impacted files
@@           Coverage Diff           @@
##               v1    #2273   +/-   ##
=======================================
  Coverage   76.08%   76.09%           
=======================================
  Files         104      104           
  Lines       29943    29947    +4     
  Branches     5556     5563    +7     
=======================================
+ Hits        22782    22788    +6     
+ Misses       5769     5767    -2     
  Partials     1392     1392           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi
jpnurmi merged commit f15b5e6 into v1 Oct 29, 2026
68 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/feat/native-handler-strategy branch October 29, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 Targets 1.0 (v1 branch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants