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]: If running a command that never returns, it gets stuck #1895

Open
2 tasks done
tholum opened this issue May 18, 2024 · 3 comments · May be fixed by #2034
Open
2 tasks done

[Bug]: If running a command that never returns, it gets stuck #1895

tholum opened this issue May 18, 2024 · 3 comments · May be fixed by #2034
Labels
bug Something isn't working severity:low Minor issues, code cleanup, etc

Comments

@tholum
Copy link

tholum commented May 18, 2024

Is there an existing issue for the same bug?

Describe the bug

If durring running a taak it ends up running something that never returns ( like npm run storybook, it freezes and never returns

Current Version

ghcr.io/opendevin/opendevin:0.5

Installation and Configuration

export WORKSPACE_BASE=$(pwd)/workspace
LLM_API_KEY=<REDACTED>

docker run \
    -it \
    --pull=always \
    -e LLM_API_KEY \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -e LLM_MODEL=gpt-4o-2024-05-13 \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 8002:3000 \
    --add-host host.docker.internal:host-gateway \
    ghcr.io/opendevin/opendevin:0.5

Running on ubuntu 22:04

Model and Agent

Model : GPT-4o
Agent: CodeActAgent

Reproduction Steps

  1. Give it a task to write a React component and test it with storybook

The prompt I gave it
In the project emsp-frontend

Split DevicePreview.tsx create a CoreDevicePreview that passes a QueueTicket into it, and then change DevicePreview to use CoreDevicePreview

Once that split is done, create a story in storybook for CoreDevicePreview

on a project that had storybook's installed

Logs, Errors, Screenshots, and Additional Context

image It has been stuck on this task for 4 hours
@tholum tholum added the bug Something isn't working label May 18, 2024
@SmartManoj
Copy link
Collaborator

Could you provide the log?

@tholum
Copy link
Author

tholum commented May 19, 2024

I will work on getting the log, I did write a prompt that I am 90% sure will reproduce it ( I am verifying now and it is looking like it hangs the same )

https://github.com/tholum/OpenDevinBugs/blob/main/01_hangs_on_storybook/PROMPT.md

assertion added a commit to assertion/OpenDevin that referenced this issue May 24, 2024
@SmartManoj
Copy link
Collaborator

timeout works on that command too.

#2034 (comment)

@SmartManoj SmartManoj added the severity:low Minor issues, code cleanup, etc label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity:low Minor issues, code cleanup, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants