- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 460
Hubs/Scopes Merge 26 - Use new API for Kotlin coroutines and SentryWrapper #3351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…pes-merge-2-add-scopes
…ainScopes to rootScopes
| 
 
 Instructions and example for changelogPlease add an entry to  Example: ## Unreleased
- Hubs/Scopes Merge 26 - Use new API for Kotlin coroutines and SentryWrapper ([#3351](https://github.com/getsentry/sentry-java/pull/3351))If none of the above apply, you can opt out of this check by adding  | 
| assertEquals("c2value", getTag("c2")) | ||
| assertEquals("parentValue", getTag("parent")) | ||
| assertNull(getTag("c1")) | ||
| assertNotNull(getTag("c1")) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's the way it's meant to work. nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should discuss how this should work in global hub mode. Since Sentry.getCurrentScopes always returns rootScopes (think mainHub) it behaves differently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a comment for further discussion on a follow up PR.
📜 Description
💡 Motivation and Context
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps