All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
33.27k stars 3.81k forks source link

fix(runtime): only accept one request at a time for exec action requests #4589

Open xingyaoww opened 4 hours ago

xingyaoww commented 4 hours ago

End-user friendly description of the problem this fixes or functionality that this introduces


Give a summary of what the PR does, explaining any non-trivial design decisions

This PR change the action execution server's behavior to only accept one request at a time for exec action requests. Otherwise, if there's long running bash command - it may block the action execution server from responding to other requests (e.g., /server_info), hence causing instability on RemoteRuntime.


Link of any specific issues this addresses