OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Download workspace doesn't work or takes a very long time (blocking) when project is big

Open mamoodi opened this issue 9 months ago • 3 comments

Is there an existing issue for the same bug?

  • [x] I have checked the existing issues.

Describe the bug and reproduction steps

The workspace download or Download Files that OpenHands uses takes a very long time and it's blocking. It also doesn't allow you to cancel it when this happens. I've seen this sometimes take down the app in rare cases.

  1. Tell OpenHands to "Create a hello world app in React"
  2. Once it finishes. Try downloading the workspace.
  3. The simple project has a node_modules which is significant.

Alternatively, you can use VSCode to download the project. It still takes a long time but at least it's not blocking

Image

OpenHands Installation

Docker command in README

OpenHands Version

No response

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

mamoodi avatar Feb 06 '25 15:02 mamoodi

It might be worth it to remove our native download files and just let VS Code handle this.

mamoodi avatar Feb 06 '25 16:02 mamoodi

I have noticed this too, I don't use that feature but have clicked it by mistake a few times and it just gets stuck. Sorry I should have made a bug report when I noticed it.

amirshawn avatar Feb 07 '25 06:02 amirshawn

I'm working on a fix! enyst can track my progress at all-hands.dev

openhands-ai[bot] avatar Feb 14 '25 06:02 openhands-ai[bot]

I don't know if this was fixed in the PR completely. I think we should just remove our download and use VS Code for download.

mamoodi avatar Feb 26 '25 16:02 mamoodi

Removing this as we have removed download functionality from OpenHands. VS Code handles this now.

mamoodi avatar Mar 25 '25 14:03 mamoodi