Uh oh!
There was an error while loading. Please reload this page.
test(flask): Add span streaming test coverage - #6264
Conversation
Add request body data to the streaming segment span when span streaming is enabled. Update existing tests to cover both streaming and non-streaming code paths, and add new tests for request body capture, size limits, and header scrubbing in streaming mode. Fixes PY-2323 Fixes#6021
ericapisani
commented
May 13, 2026
bugbot run |
ericapisani
commented
May 13, 2026
@sentry review |
Codecov Results 📊✅ 282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 42.54s All tests are passing successfully. ❌ Patch coverage is 0.00%. Project has 14867 uncovered lines. Files with missing lines (1)
Generated by Codecov Action |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
alexander-alderman-webb
left a comment
There was a problem hiding this comment.
I just looked at the request body attribute since I'm solving this in Starlette right now, and the same problem applies here 😅
Uh oh!
There was an error while loading. Please reload this page.
… of just as the request is getting started
Uh oh!
There was an error while loading. Please reload this page.
ericapisani
commented
May 15, 2026
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b7c0ec6. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…hich we are no longer doing. Add test coverage to ensure span streaming is working as expected
alexander-alderman-webb
commented
May 19, 2026
The tests seem to fail; feel free to merge after fixing them if it's a trivial problem. |
Uh oh!
There was an error while loading. Please reload this page.
…duction it would be set
Uh oh!
There was an error while loading. Please reload this page.
Add test coverage to ensure that span streaming works for Flask. No additional changes are needed because we are no longer adding the request body to the streamed spans, and span streaming support has been added earlier to the uWSGI middleware which the Flask integration leverages. Fixes PY-2323 Fixesgetsentry#6021
Add test coverage to ensure that span streaming works for Flask. No additional changes are needed because we are no longer adding the request body to the streamed spans, and span streaming support has been added earlier to the uWSGI middleware which the Flask integration leverages.
Fixes PY-2323
Fixes#6021