]> Piment Noir Git Repositories - poolifier.git/commit
feat(pool): start task stealing on unused workers (#3387) master
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 31 Oct 2026 02:13:07 +0000 (03:13 +0100)
committerGitHub <noreply@github.com>
Sat, 31 Oct 2026 02:13:07 +0000 (03:13 +0100)
commit3b807363403ccc3d22dd5e69e34c03497f6fe4df
tree4b152f43fc63ba2f226e3e3e12e3d4d9ae1651b0
parent2319353379618b0508700896a0325b5f616a161e
feat(pool): start task stealing on unused workers (#3387)

* feat(pool): start task stealing on unused workers

Wake idle workers from queued work and readiness transitions.
Keep retries cancellable without delaying completion-driven steals.

Closes #2283

* [autofix.ci] apply automated fixes

* docs: remove redundant task stealing detail

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
src/pools/abstract-pool.ts
src/utils.ts
tests/pools/idle-task-stealing.test.mjs [new file with mode: 0644]
tests/pools/task-accounting.test.mjs
tests/utils.test.mjs