Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
test(live): await the released tool work instead of polling a wall clock
rubenluetke10-beep55de8dcfe000
diff --git a/tests/unit/live/test_native_live_fixes.py b/tests/unit/live/test_native_live_fixes.pyindex 9ecb2f7b5d..e28317db08 100644--- a/tests/unit/live/test_native_live_fixes.py+++ b/tests/unit/live/test_native_live_fixes.py@@ -276,10 +276,12 @@ async def test_slow_tool_releases_the_model_with_an_honest_pending_result(assert gateway.finished == [] # the tool itself was not cancelledassert session._has_pending_work() # its receipt is still owedrelease.set()- for _ in range(50):- if not session._has_pending_work():- break- await asyncio.sleep(0.01)+ # Await the released work itself instead of polling a wall clock: its+ # receipt lands after the tool body returns, which a loaded Windows CI+ # runner can stretch past half a second.+ await asyncio.wait_for(+ asyncio.gather(*[job for job in session._jobs if not job.done()]), 5.0+ )assert gateway.finished == ["search_web"]assert not session._has_pending_work()assert len(connection.tool_results) == 1 # the late result is not re-sent