OpenDevin icon indicating copy to clipboard operation
OpenDevin copied to clipboard

Respect `timeout` in docker sandbox

Open rbren opened this issue 2 months ago • 0 comments

Describe the bug Sometimes the agent tries to run commands like npm run start in the foreground. This just stalls out and everything hangs.

Steps to Reproduce

  1. python opendevin/sandbox/sandbox.py to start a sandbox
  2. run while true; do echo "." && sleep 1; done in the prompt

Expected behavior It quits after 120s (should we pick a different timeout? npm install can take a while...)

Actual behavior It hangs

rbren avatar Mar 26 '24 16:03 rbren