Files
ai-agent/backend/test_worker_routing.py
Gabriel Vidal 964630b4e7 fix(workers): the takeover guard ignores growth from the hub's own finished run
A worker session resumed right after a hub-launched run exited looked
'active in a terminal' (its mirror copy was seconds old). Growth up to the
exit watcher's exitedAt stamp, or while the hub's run still reads running,
is ours; only writes after it are a terminal's.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 14:12:50 +02:00

6.7 KiB