Skip to content

feat: propagate trace to sentry-android and sentry-cocoa#5244

Merged
jamescrosswell merged 1 commit into
mainfrom
feat/sync-trace-to-native
May 19, 2026
Merged

feat: propagate trace to sentry-android and sentry-cocoa#5244
jamescrosswell merged 1 commit into
mainfrom
feat/sync-trace-to-native

Conversation

@bitsandfoxes
Copy link
Copy Markdown
Contributor

Resolves #4074

The native SDKs provide API to SetTrace so we can finalize the ScopeObserver.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.13%. Comparing base (abe00c6) to head (be5bbc6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5244      +/-   ##
==========================================
+ Coverage   74.10%   74.13%   +0.03%     
==========================================
  Files         508      508              
  Lines       18282    18282              
  Branches     3574     3574              
==========================================
+ Hits        13547    13553       +6     
+ Misses       3868     3860       -8     
- Partials      867      869       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @bitsandfoxes !

@jamescrosswell jamescrosswell merged commit c855e78 into main May 19, 2026
45 checks passed
@jamescrosswell jamescrosswell deleted the feat/sync-trace-to-native branch May 19, 2026 22:25
This was referenced May 28, 2026
evgenygunko pushed a commit to evgenygunko/CopyWordsDA that referenced this pull request May 29, 2026
> ℹ️ **Note**
> 
> This PR body was truncated due to platform limits.

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [Sentry.Maui](https://sentry.io/) ([source](https://github.com/getsentry/sentry-dotnet)) | `6.5.0` → `6.6.0` | ![age](https://developer.mend.io/api/mc/badges/age/nuget/Sentry.Maui/6.6.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Sentry.Maui/6.5.0/6.6.0?slim=true) |

---

### Release Notes

<details>
<summary>getsentry/sentry-dotnet (Sentry.Maui)</summary>

### [`v6.6.0`](https://github.com/getsentry/sentry-dotnet/blob/HEAD/CHANGELOG.md#660)

[Compare Source](getsentry/sentry-dotnet@6.5.0...6.6.0)

##### Features ✨

- feat: propagate trace to `sentry-android` and `sentry-cocoa` by [@&#8203;bitsandfoxes](https://github.com/bitsandfoxes) in [#&#8203;5244](getsentry/sentry-dotnet#5244)
- feat: User.Id can now be overriden (set to null) in Global mode by [@&#8203;jamescrosswell](https://github.com/jamescrosswell) in [#&#8203;5039](getsentry/sentry-dotnet#5039)
- feat: Implement strict trace continuation by [@&#8203;giortzisg](https://github.com/giortzisg) in [#&#8203;4981](getsentry/sentry-dotnet#4981)

##### Fixes 🐛

- fix: return early from AddSentryOtlpExporter when DSN is the disable-SDK sentinel by [@&#8203;jamescrosswell](https://github.com/jamescrosswell) in [#&#8203;5247](getsentry/sentry-dotnet#5247)
- fix: sync default tags to native layer by [@&#8203;bitsandfoxes](https://github.com/bitsandfoxes) in [#&#8203;5214](getsentry/sentry-dotnet#5214)

##### Dependencies ⬆️

##### Deps

- chore(deps): update Cocoa SDK to v9.14.0 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;5252](getsentry/sentry-dotnet#5252)
- chore(deps): update Java SDK to v8.42.0 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;5208](getsentry/sentry-dotnet#5208)

##### Other

- release: 6.6.0 by [@&#8203;jamescrosswell](https://github.com/jamescrosswell) in [0140be0a](getsentry/sentry-dotnet@0140be0)
- chore: update scripts/update-cli.ps1 to 3.4.3 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;5251](getsentry/sentry-dotnet#5251)
- ci: update the Update Dependencies workflow by [@&#8203;Flash0ver](https://github.com/Flash0ver) in [#&#8203;5175](getsentry/sentry-dotnet#5175)
- chore: update modules/sentry-native to 0.14.2 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;5229](getsentry/sentry-dotnet#5229)
- chore: update...
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.

Propagate Trace ID to native layer

2 participants