You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d698dce
Browse filesBrowse the repository at this point in the historyBrowse files
fix(compose): Prevent dangling spans in SentryTraced + distinguish between completed vs abandoned compositions
Commit repairs a few defects in the implementation of SentryTraced while aiming to maintain (near) parity with the previous approach. In particular it:
- Prevents dangling spans due to abandoned composition or exceptions thrown by drawContent(), both by finishing spans in `finally` blocks.
- Improves composition measurement and distinguishes between successful vs abandoned composition by measuring from RememberObserver callbacks, rather than the end of the composable body.
- Sets the origin for the render span, as that had been previously omitted.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
14
14
### Fixes
15
15
16
+
- Prevent `SentryTraced` from producing dangling spans if recomposition is abandoned or drawing fails; add origin info to first-render span; and tag composition spans with composition outcome
16
17
- Keep dropped tombstone and ANR events dropped, instead of reporting the same app exit again at every app start ([#6002](https://github.com/getsentry/sentry-java/pull/6002))
17
18
- Apply `Sentry.withScope` and `Sentry.withIsolationScope` data to events captured inside the callback when `globalHubMode` is enabled ([#6004](https://github.com/getsentry/sentry-java/pull/6004))
18
19
- `globalHubMode` is enabled by default on Android, where tags, extras, contexts and level set inside the callback were silently dropped
0 commit comments