-
Notifications
You must be signed in to change notification settings - Fork 548
Fix spans for streaming responses in WSGI based frameworks #3798
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
1fe8679
Keep transaction open until all streaming responses are finished.
antonpirker ef90c73
Fix current scope in wsgi integration
antonpirker b00723f
Merge branch 'master' into antonpirker/fix-streaming-response
antonpirker 8f2463b
Revert "Keep transaction open until all streaming responses are finis…
antonpirker f15d596
Merge branch 'antonpirker/fix-streaming-response' of github.com:getse…
antonpirker 61a5c5d
fix merge screw up
antonpirker 17df886
use the right import
antonpirker 0c82ddb
Keep transaction open until all streaming responses are finished.
antonpirker 5bab9ec
fix
antonpirker beeee5f
Bottle never calls response.close()
antonpirker c32c202
Manually close transaction in flask
antonpirker 660be15
Make sure we do not close already closed transactions
antonpirker 93e9219
Make code a bit nicer
antonpirker 54cda52
preserve behavior
antonpirker d904f38
Fix
antonpirker a614fc6
Closing the transaction always.
antonpirker 24be3d3
.
antonpirker e762ef9
.
antonpirker 198a621
Remove manual closing in bottle, not needed anymore
antonpirker 26ec3d7
cleanup
antonpirker b8c7c1b
Adding exception info when closing transaction
antonpirker 9523882
Cleanup
antonpirker da5ea3f
linting
antonpirker 8757d2b
Cleanup
antonpirker 08a606b
Merge branch 'master' into antonpirker/fix-streaming-response
antonpirker dbbe9b8
More cleanup
antonpirker 4ebc14e
Merge branch 'antonpirker/fix-streaming-response' of github.com:getse…
antonpirker ae9440f
Dont close transaction here (that was the whole idea) only in error c…
antonpirker 8ed0ac7
fix error capturing
antonpirker 273e41e
remove debugging
antonpirker ee257a0
.
antonpirker 5d3a044
Fixed some Flask tests
antonpirker 6c276ad
Fixing Django tests
antonpirker 0ed34bb
Consume response in strawberry tests
antonpirker 17e0d3b
Ok
antonpirker cf03f72
Merge branch 'master' into antonpirker/fix-streaming-response
antonpirker c4eef6c
Explain why we need close
antonpirker 71bebfd
Explain why we need close
antonpirker c62879b
Explain why we need close
antonpirker f306e48
Merge branch 'master' into antonpirker/fix-streaming-response
antonpirker 2452820
Finish the transaction using same scopes as when creating them
antonpirker 22d72f0
Make sure to always consume the response
antonpirker c612326
Cleanup
antonpirker d2c44c7
Finish long running transactions at some point.
antonpirker 17b77be
Merge branch 'master' into antonpirker/fix-streaming-response
antonpirker 308a179
Use Timer to finish transaction
antonpirker 2feb299
Format
antonpirker 2e69500
Cleanup
antonpirker 30d18fa
Cancel timer when transaction already finished
antonpirker 9105254
typing
antonpirker baa5498
Cleanup
antonpirker 7090227
oops
antonpirker 9583029
Improvements from code review
antonpirker 8574c06
Cleanup
antonpirker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.