Skip to content

change: replace unnecessary streaming responses - #2029

Draft
netomi wants to merge 1 commit into
mainfrom
replace-streaming-responses
Draft

change: replace unnecessary streaming responses#2029
netomi wants to merge 1 commit into
mainfrom
replace-streaming-responses

Conversation

@netomi

@netomi netomi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The fixes in #2028 solve the failures with streaming response bodies in a test environment, however, Claude pointed out that the same problem could still be present in a production setup.

This PR replaces the existing endpoints returning StreamingResponseBody with regular ones as all the content is eagerly loaded anyway and returning a streaming response seems unnecessary.

Maybe this was due to a refactoring and early on the streaming response made sense.

Needs more investigation, open as draft for now.

Comment thread server/build.gradle
testlogger {
// By default only frames of the test class itself are shown, which hides where a failure
// actually originated - useless for diagnosing failures that only reproduce on CI.
showFullStackTraces true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
showFullStackTraces true
showFullStackTraces = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants