Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The UI workspace doesn't update (quite often?) #4613

Closed
1 task done
enyst opened this issue Oct 29, 2024 · 6 comments
Closed
1 task done

[Bug]: The UI workspace doesn't update (quite often?) #4613

enyst opened this issue Oct 29, 2024 · 6 comments
Labels
bug Something isn't working frontend Related to frontend Stale Inactive for 30 days

Comments

@enyst
Copy link
Collaborator

enyst commented Oct 29, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

I started openhands with UI

  • opened the page
  • added a Github token.
  • in the home page, I chose a repo, enyst/deepeval
  • (in config.toml, I had a workspace set to some local directory with an openhands repo in it (and stuff)

Then I entered a message and ENTER:
=> as expected, it connected to GitHub and cloned the repo
=> however, it doesn't update the UI, workspace tab.

I asked the agent for ls:
=> as expected, it listed the deepeval files, not the openhands files.

I pressed Refresh on the workspace:
=> expected to update, but it didn't.

I don't see an error to /list-files.

Cc: @amanape

OpenHands Installation

Development workflow

OpenHands Version

main

Operating System

MacOS

Logs, Errors, Screenshots, and Additional Context

Screenshot 2024-10-29 at 17 33 37
@enyst enyst added bug Something isn't working frontend Related to frontend labels Oct 29, 2024
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Nov 29, 2024
@enyst enyst changed the title [Bug]: Automatically clone a Github repo doesn't update the UI workspace [Bug]: The UI workspace doesn't update (quite often?) Nov 29, 2024
@enyst
Copy link
Collaborator Author

enyst commented Nov 29, 2024

It looks like I can still replicate something like this, on app.all-hands.dev:

  • started a new project, picked up enyst/deepeval => the workspace didn't update
  • asked the LLM what files does it see in its workspace => the workspace did update along with the answer
  • started another project, picked up enyst/playground (this is openhands repo, it's much larger) => the workspace didn't update
  • asked the LLM what files does it see in the workspace => the workspace didn't update
    • although the command was executed, and the list was displayed in the terminal

@github-actions github-actions bot removed the Stale Inactive for 30 days label Nov 30, 2024
@mamoodi
Copy link
Collaborator

mamoodi commented Dec 5, 2024

Two things:

@amanape
Copy link
Member

amanape commented Dec 5, 2024

On app.all-hands.dev, there is an issue where list files takes a very long time. It might be memory related.

The /list-files query is only called once the runtime is active. Actually I don't think it is possible to do so before that (I think the server waits or it depends on the runtime being active), so that might be the issue

If you already have a file selected and ask OpenHands to edit that file, it won't update when you press the refresh button. It will update if you re-click on the file. It's a little annoying: #4968

All related to how we handle new/cached/dirty file contents. We have a few different issues related in this area (many came to light thanks to @diwu-sf)

Copy link
Contributor

github-actions bot commented Jan 6, 2025

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Jan 6, 2025
@enyst
Copy link
Collaborator Author

enyst commented Jan 6, 2025

Quite a lot has changed, I'll close this issue.

@enyst enyst closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Related to frontend Stale Inactive for 30 days
Projects
None yet
Development

No branches or pull requests

3 participants