diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 19:48:12 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 19:48:12 +0000 |
| commit | 174b3c8198444605aca33db9b077f36f7bc1c3fb (patch) | |
| tree | 298440f141c17a649a56379e9324db272d24acf9 /scripts/deploy | |
| parent | 17a36cc83980d278a8cab5132bf14de731b352ca (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 'scripts/deploy')
0 files changed, 0 insertions, 0 deletions
