fix: prevent response truncation in recursive collection runner#6862
Merged
sid-bruno merged 1 commit intousebruno:mainfrom Jan 21, 2026
Merged
Conversation
Contributor
WalkthroughSingle line modification in the error handling path for HTTP responses: changed the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
sid-bruno
approved these changes
Jan 21, 2026
6 tasks
FraCata00
pushed a commit
to FraCata00/bruno
that referenced
this pull request
Feb 9, 2026
This was referenced Feb 12, 2026
Closed
This was referenced Feb 22, 2026
This was referenced Mar 3, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Resolves response body truncation when executing collections recursively via the UI.
Fixes: #6828
Problem
When executing a collection recursively via the UI, requests returning 4xx/5xx status codes had their response body prematurely truncated. This resulted in assertion failures due to malformed JSON in the response.
The issue was not reproducible when:
Fix
Updated the collection runner to consume the complete response stream for error cases, consistent with the existing behavior for successful responses.
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.