summaryrefslogtreecommitdiff
path: root/web/test/new-task-button.test.mjs
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-16 19:48:12 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-16 19:48:12 +0000
commit174b3c8198444605aca33db9b077f36f7bc1c3fb (patch)
tree298440f141c17a649a56379e9324db272d24acf9 /web/test/new-task-button.test.mjs
parent17a36cc83980d278a8cab5132bf14de731b352ca (diff)
fix: eliminate flaky race in TestPool_ActivePerAgent_DeletesZeroEntries
The deferred activePerAgent cleanup in execute() runs after resultCh is sent, so a consumer reading Results() could observe the map entry before it was removed. Poll briefly (100ms max) instead of checking immediately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/test/new-task-button.test.mjs')
0 files changed, 0 insertions, 0 deletions