FINALLY managed to get a test case built that repr...
# proj-agent
w
FINALLY managed to get a test case built that reproduces behavior where the agent-server event search API hangs while commands are running https://github.com/OpenHands/software-agent-sdk/pull/2296 The issue is definitely with the state lock. @straight-sundown-84319 I think you implemented this. IMO we should be able to retrieve events without locking, but I could be missing something
👀 1
s
Yeah - I'm just reviewing the EventLog class iteration - without acquiring the lock there could be the potential to miss the last event if the
_length
is in the process of being updated. But this is acceptable
I actually think it is the same logic without the lock
🍰