OpenHands
OpenHands copied to clipboard
[Bug]: Security analyzer (invariant) is broken
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Describe the bug and reproduction steps
- Enabling the security analyzer does not wait for user confirmation before. It always runs the command
- Enabling the "Invariant" option causes the app to go into an unhealthy loop. Seems to be related to the asyncio changes
OpenHands Installation
Docker command in README
OpenHands Version
0.14.2
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response
I can take a look here - do you know which asyncio changes cause this issue?
I can't tell for sure. You can replicate the issue by enabling it and selecting the Invariant security analyzer. If you observe the terminal, it repeats the same asyncio error.
I had a chance to take a look - I added a PR with changes that seem to fix it: https://github.com/All-Hands-AI/OpenHands/pull/5356