-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Support transaction waiting for children to finish. #1535
Conversation
@marandaneto as we do not want to make it a part of public API, but rather use it for Android integration, what API method on the |
@maciejwalkowiak we probably still need a |
to be honest, I think this would be an issue for Java Desktop Apps too, don't you? we can start exposing it to Hub with |
Sure for desktop too, but you I thought you have exact use case in mind. Then I'll just add another variant of |
We didn't add it yet on iOS. I created an issue to discuss this today at grooming getsentry/sentry-cocoa#1173. |
I have the impression that there's a bug.
can you confirm my use case? thanks |
@brustolin and @philipphofmann please review since this is done on iOS too |
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.
I currently only have one comment to add.
Codecov Report
@@ Coverage Diff @@
## main #1535 +/- ##
=========================================
Coverage 76.01% 76.01%
- Complexity 1944 1953 +9
=========================================
Files 192 192
Lines 6725 6759 +34
Branches 670 676 +6
=========================================
+ Hits 5112 5138 +26
- Misses 1287 1294 +7
- Partials 326 327 +1
Continue to review full report at Codecov.
|
Co-authored-by: Manoel Aranda Neto <[email protected]>
@marandaneto @bruno-garcia is there anything more do you think we should change here? |
probably #1535 (comment) and #1528 (comment) I'll discuss both this afternoon with the team, maybe the later could be already done |
We could merge as-is and add the timeout later? It would unblock Android.
Could the overload be added to the other branch instead and we just merge this? |
📜 Description
Adds an option to create transaction that finishes only when it is itself finished and all its children are finished.
💡 Motivation and Context
Fixes #1523
💚 How did you test it?
Unit tests.
📝 Checklist
🔮 Next steps
Reference docs.