Skip to content

feat: large file download and parsing - #9286

Draft
sid-bruno wants to merge 16 commits into
usebruno:mainfrom
sid-bruno:wip/large-files-mod
Draft

sid-bruno wants to merge 16 commits into
usebruno:mainfrom
sid-bruno:wip/large-files-mod

Conversation

@sid-bruno

Copy link
Copy Markdown
Collaborator

Description

TBD

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
  • I've run the claude code review skill locally.

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.

- Added `createResponseBodyClient` for IPC communication to manage response bodies.
- Introduced `useResponseBodyWindow` hook for sliding-window text management, optimizing memory usage for large file-backed responses.
- Created utility functions for pinning and releasing response body references.
- Implemented tests for new functionality, ensuring robust handling of response body operations.
- Refactored existing code to remove deprecated IPC adapters and streamline response body management.
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Dispatch folder-run events before awaiting body pins so assertion results are not lost, align formatResponse tests with the bodyRef path, and use stable download testids that do not clash with collection names.
Runner was replacing 4xx/5xx axios responses with an IPC-shaped payload whose data was getDataForIpc(), so assertions like res.body.error failed on OAuth 401 cases.
Windows path.join turns /spill/body-1 into \spill\body-1; assert with path helpers instead of POSIX literals.
Response examples still read dataBuffer out of Redux, which this PR no longer stores, so binary save/preview e2e failed. Read raw bytes from the body store on save, and drop the download spec that only asserted a CSS-hidden toolbar button.
Resolve RunnerResults import conflict by keeping pin-release reset helper and adding folder-tag effective tags helper.
…d pin logic

- Updated `ClearTimeline` and `ResponseClear` components to use new action creators for clearing responses without pin management.
- Introduced `useResponseBody` hook for handling response body loading, replacing direct state management in `QueryResult`.
- Removed unused pin-related functions and cleaned up response body handling in Redux actions and IPC.
- Enhanced error handling and loading states for response body retrieval.
- Updated tests to reflect changes in response body handling and ensure proper functionality.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant