Skip to content

fix(native): Initialize null transport in crash daemon - #2048

Closed
jpnurmi wants to merge 1 commit into
getsentry:masterfrom
jpnurmi:jpnurmi/fix/native-daemon-done-marker
Closed

fix(native): Initialize null transport in crash daemon#2048
jpnurmi wants to merge 1 commit into
getsentry:masterfrom
jpnurmi:jpnurmi/fix/native-daemon-done-marker

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

The daemon constructs options without calling sentry_init(), so builds with SENTRY_TRANSPORT=none leave the transport pointer unset. Install the internal null transport so crash processing completes without leaving stale envelopes on disk.

Null transport builds have no request to signal that crash processing
finished. Keep the daemon completion marker available when debug logging is
disabled so callers can wait for a successful shutdown.
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.37%. Comparing base (de1d458) to head (4c64d3f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2048   +/-   ##
=======================================
  Coverage   74.37%   74.37%           
=======================================
  Files         103      103           
  Lines       26665    26665           
  Branches     4852     4852           
=======================================
+ Hits        19832    19833    +1     
+ Misses       5501     5493    -8     
- Partials     1332     1339    +7     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi jpnurmi changed the title fix(native): Emit daemon completion at info level fix(native): Initialize null transport in crash daemon Sep 2, 2026
@jpnurmi jpnurmi closed this Sep 2, 2026
@jpnurmi
jpnurmi deleted the jpnurmi/fix/native-daemon-done-marker branch September 2, 2026 13:24
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