Repository navigation
Backup/main - #7663
Backup/main#7663
Conversation
* fix: update system proxy fetching to use finally for improved reliability * Update packages/bruno-electron/src/index.js Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
…sebruno#7429) * fix: add size and duration fields to CLI bru.runRequest() response Add `size` and `duration` fields to the response object in CLI to match GUI behavior, ensuring consistent API for bru.runRequest() across both environments. - `duration` is an alias for `responseTime` for GUI compatibility - `size` is the byte length of the response buffer (0 for errors/skipped) Fixes usebruno#7352 * fix: address PR review feedback for CLI response consistency - Coerce responseTime header to number (was string from headers.get()) - Add comment explaining duration vs responseTime difference between GUI (wall-clock) and CLI (approximation using responseTime) - Add integration tests for duration/size fields across skipped, success, and network error response paths * fix: add missing setupProxyAgents mock in response-fields test The success path calls setupProxyAgents which was missing from the proxy-util mock, causing CI failure. --------- Co-authored-by: Chirag Chandrashekhar <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
WalkthroughThis PR enhances multipart form file handling with add-or-update semantics, improves collection paste behavior to be folder-aware, adds response metrics (duration and size) across CLI execution paths, refactors Electron system proxy initialization control flow, and expands test coverage for these features. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Description
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
New Features
durationandsizemetrics.Bug Fixes
Style
Tests