Insomnia is unable to parse larger csv responses
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
When fetching a csv result from an API, insomnia automatically tries to pretty the result. I want this process to not crash the app
### Actual Behavior
Insomnia become unresponse ("isomnia became unresponsive, do you want to reload?") When clicking reload, nothing happens.
I have to clean my /responses folder to use Insomnia again.
### Reproduction Steps
1. Query API which automatically returns csv >5MB or so
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
The solution to delete the responses folder is just a workaround, maybe it is better to not automatically parse csv results or large ones (see https://github.com/Kong/insomnia/issues/5087)
### Insomnia Version
2023.05.08
### What operating system are you using?
Ubuntu
### Operating System Version
23.04
### Installation method
apt
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Reproduce the issue with an API returning a CSV response larger than 5 MB, then trace the response handling and automatic CSV pretty-printing that leaves Insomnia unresponsive. Check the /responses folder behavior and related issue 5087; done means large CSV responses no longer freeze the app or require deleting stored responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- api, desktop, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100