Repository navigation
Conversation
The inproc-based Android NDK uses `SENTRY_TRANSPORT=none` and installs a JNI function transport that writes to `outbox/`, leaving HTTP delivery to Java. Tests substitute it with an stdout callback to inspect envelopes without Java or HTTP. However, the Native daemon in #1725 cannot use the function transport from the separate daemon process. Provide (an internal) built-in stdout transport (`SENTRY_TRANSPORT=stdout`) that both the SDK and daemon can instantiate. This is mostly for out own integration testing purposes, but it's also super handy for quick experiments: ```sh $ make build SENTRY_BACKEND=inproc SENTRY_TRANSPORT=stdout ... $ ./build/sentry_example_crash ... [sentry] DEBUG sending envelope {"event_id":"0e1d5355-5ba8-42cb-9e96-c6610d4ee9c1",...} {"type":"event","length":2823} {"event_id":"0e1d5355-5ba8-42cb-9e96-c6610d4ee9c1","timestamp":"2026-10-16T16:19:26.968633Z","platform":"native","level":"fatal","exception":...} [sentry] INFO entering signal handler ... ```
|
jpnurmi
added this pull request to stack #2214
October 16, 2026 16:37
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1 #2213 +/- ##
==========================================
+ Coverage 75.13% 75.16% +0.02%
==========================================
Files 104 105 +1
Lines 29630 29648 +18
Branches 5479 5480 +1
==========================================
+ Hits 22263 22284 +21
+ Misses 5960 5957 -3
Partials 1407 1407 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
The inproc-based Android NDK uses
SENTRY_TRANSPORT=noneand installs a JNI function transport that writes tooutbox/, leaving HTTP delivery to Java. Tests substitute it with astdoutcallback to inspect envelopes without Java or HTTP.However, the Native daemon in #1725 cannot use the function transport from the separate daemon process. Provide (an internal) built-in
stdouttransport (SENTRY_TRANSPORT=stdout) that both the SDK and daemon can instantiate. This allows us to runtest_integration_stdout.pyfor Native/Android in #1725.The undocumented
stdouttransport is mostly intended for our own integration testing purposes, but it's also handy for quick experiments:#skip-changelog (internal)