]>
Piment Noir Git Repositories - poolifier.git/log
Jérôme Benoit [Sat, 28 Nov 2026 18:32:23 +0000 (19:32 +0100)]
chore: align biome configuration with package version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 28 Nov 2026 18:28:56 +0000 (19:28 +0100)]
chore: align biome configuration with package version
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 28 Nov 2026 16:23:50 +0000 (17:23 +0100)]
refactor(pools): isolate batch abort signal validation (#3434)
* refactor(pools): isolate batch abort signal validation
* fix(pools): keep batch signal validation module-local
* refactor(pools): move batch validation to utilities
* refactor(pools): type unvalidated batch signals
* refactor(pools): accept unvalidated signal elements
* refactor(pools): clarify batch input normalization
renovate[bot] [Sat, 28 Nov 2026 15:02:46 +0000 (15:02 +0000)]
chore(deps): update bencherdev/bencher digest to
7c748f9 (#3432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 28 Nov 2026 15:02:32 +0000 (15:02 +0000)]
chore(deps): update all non-major dependencies (#3433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 28 Nov 2026 13:03:52 +0000 (13:03 +0000)]
chore(deps): lock file maintenance (#3419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Sat, 28 Nov 2026 12:38:47 +0000 (13:38 +0100)]
refactor(pools): simplify worker readiness selection (#3431)
* refactor(pools): simplify worker readiness selection
* refactor(pools): clarify worker eligibility check
Jérôme Benoit [Fri, 27 Nov 2026 19:37:05 +0000 (20:37 +0100)]
refactor(pools): simplify task completion handling (#3430)
* refactor(pools): simplify task completion handling
* test(pools): cover queue shutdown on send failure
* test(pools): surface queue hook failures in Vitest
renovate[bot] [Fri, 27 Nov 2026 15:17:30 +0000 (15:17 +0000)]
chore(deps): update bencherdev/bencher digest to
18a624c (#3428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 27 Nov 2026 15:17:19 +0000 (15:17 +0000)]
chore(deps): update all non-major dependencies (#3429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Fri, 27 Nov 2026 00:43:22 +0000 (01:43 +0100)]
refactor(worker): simplify task function validation (#3427)
* refactor(worker): simplify task function validation
* test(worker): cover invalid add message sources
* test(worker): reject truthy non-string task sources
Jérôme Benoit [Thu, 26 Nov 2026 18:38:21 +0000 (19:38 +0100)]
refactor(pools): simplify cluster option handling (#3426)
* refactor(pools): simplify cluster option handling
Separate stdio entry validation from slot materialization and share
case-insensitive key selection across environment sources.
* test(cluster): cover option precedence edge cases
* test(cluster): verify Windows key order independence
Jérôme Benoit [Thu, 26 Nov 2026 16:07:24 +0000 (17:07 +0100)]
refactor(pools): simplify option validation (#3425)
* refactor(pools): simplify option validation
* [autofix.ci] apply automated fixes
* test(pools): preserve queue validation order
* test(pools): assert queue validation error class
* test(pools): assert a single validation error
* test(pools): use Vitest for queue validation
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Jérôme Benoit [Wed, 25 Nov 2026 23:48:46 +0000 (00:48 +0100)]
refactor(pools): address Sonar maintainability findings (#3424)
* refactor(pools): address Sonar maintainability findings
Separate rank-selection steps and simplify worker-state branches.
Aggregate strategy results without allocating temporary arrays.
* test(pools): cover strategy updates after failure
* test(pools): cover successful strategy aggregation
Jérôme Benoit [Wed, 25 Nov 2026 21:45:31 +0000 (22:45 +0100)]
ci(sonar): analyze TypeScript sources (#3423)
Remap V8 coverage to the TypeScript sources so Sonar does not analyze
generated declarations or count the unmapped Rollup entry point.
renovate[bot] [Wed, 25 Nov 2026 15:02:50 +0000 (15:02 +0000)]
chore(deps): update github/codeql-action digest to
915412f (#3422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 24 Nov 2026 15:02:52 +0000 (15:02 +0000)]
chore(deps): update sonarsource/sonarqube-scan-action digest to
70bad23 (#3420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 24 Nov 2026 15:02:39 +0000 (15:02 +0000)]
fix(deps): update all non-major dependencies (#3421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 22 Nov 2026 15:01:56 +0000 (15:01 +0000)]
fix(deps): update all non-major dependencies (#3418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 21 Nov 2026 15:03:57 +0000 (15:03 +0000)]
chore(deps): update github/codeql-action digest to
1bd86f2 (#3416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 21 Nov 2026 15:03:45 +0000 (15:03 +0000)]
chore(deps): update all non-major dependencies (#3417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 20 Nov 2026 15:02:18 +0000 (15:02 +0000)]
fix(deps): update all non-major dependencies (#3415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Documentation Bot [Wed, 18 Nov 2026 20:17:58 +0000 (20:17 +0000)]
docs: publish documentation
github-actions[bot] [Wed, 18 Nov 2026 18:48:38 +0000 (19:48 +0100)]
chore(master): release 6.1.1 (#3390)
* chore(master): release 6.1.1
* [autofix.ci] apply automated fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Wed, 18 Nov 2026 18:21:24 +0000 (18:21 +0000)]
chore(deps): update bencherdev/bencher digest to
a39a1f4 (#3410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 18 Nov 2026 15:04:26 +0000 (15:04 +0000)]
fix(deps): update all non-major dependencies (#3411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Wed, 18 Nov 2026 00:26:22 +0000 (01:26 +0100)]
perf(pools): make task stealing hot path allocation free (#3413)
* perf(pools): make task stealing hot path allocation free
- select the steal source worker node with a single O(n) argmax scan
(`selectStealSourceWorkerNode`) instead of sorting a copy of the
worker nodes; tie-breaking matches the previous stable sort
- test for queued tasks with an early-exit scan (`hasQueuedTasks`) on
every idle event instead of summing the full queued count
Selection is identical to the previous `sort().find()` behaviour
(fuzz-tested against a reference implementation over 10k random
vectors). No allocation per idle event anymore.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Jérôme Benoit [Wed, 18 Nov 2026 00:14:32 +0000 (01:14 +0100)]
perf(pools): make measurement statistics allocation free (#3412)
* perf(pools): make measurement statistics allocation free
Compute the average directly from the circular buffer and the median via
a guarded quickselect over a shared snapshot instead of
`toArray()`+`slice().sort()`:
- average: O(H) single pass over the buffer (`CircularBuffer.sum()`), no allocation
- median: O(H) quickselect over a shared snapshot (native-sort depth
fallback keeps the worst case at O(H log H)), no allocation
Results are bit-for-bit identical to `average(history.toArray())` and
`median(history.toArray())`, fuzz-tested against reference
implementations with `Object.is`.
Measured: median path x7.2, average path x1.56 per task completion;
+10 % throughput on a 2-core fair-share pool.
* [autofix.ci] apply automated fixes
* test(pools): make statistics fuzz falsifiable and cover sum() directly
Feed the bit-for-bit fuzz with wide-dynamics values (1e-8 to 1e8) so
that the float64 summation order becomes observable: a mutation
reversing the accumulation order of `sum()` now fails the test (checked
by mutation). Add a direct `sum()` unit test (empty, full, wrap,
partial drain).
* fix(pools): preserve negative zero in single-value measurement average
`sum()` folds `- 0` into `+ 0` (`0 + (- 0)`), while the replaced
`average()` returned `dataSet[0]` as is. Read the single element from
the snapshot instead, and pin the behavior with an `Object.is` test.
Also document the remaining known difference of the quickselect median
(occurrence sign among equal-comparing `- 0`/`NaN` values, unreachable
from measurement producers).
* [autofix.ci] apply automated fixes
* refactor(pools): name the rank-selection tuning constants
Extract the insertion-sort cutoff and the quickselect depth factor of
`selectAtRank()` into documented module constants, following the
existing private-constant convention. No behavior change.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Sun, 15 Nov 2026 15:02:39 +0000 (15:02 +0000)]
chore(deps): update all non-major dependencies (#3409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 14 Nov 2026 15:02:30 +0000 (15:02 +0000)]
chore(deps): update bencherdev/bencher digest to
b2484bc (#3408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 13 Nov 2026 15:19:20 +0000 (15:19 +0000)]
fix(deps): update all non-major dependencies (#3407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 12 Nov 2026 15:18:39 +0000 (15:18 +0000)]
fix(deps): update all non-major dependencies (#3406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 12 Nov 2026 00:03:08 +0000 (01:03 +0100)]
chore(deps): update dependency autocannon to v9 (#3405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 11 Nov 2026 15:10:55 +0000 (15:10 +0000)]
chore(deps): update bencherdev/bencher digest to
15974c3 (#3403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 11 Nov 2026 15:10:43 +0000 (15:10 +0000)]
fix(deps): update all non-major dependencies (#3404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 8 Nov 2026 13:47:30 +0000 (13:47 +0000)]
chore(deps): update all non-major dependencies (#3401)
* chore(deps): update all non-major dependencies
* [autofix.ci] apply automated fixes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Sun, 8 Nov 2026 13:46:30 +0000 (13:46 +0000)]
chore(deps): update bencherdev/bencher digest to
c35a046 (#3402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 6 Nov 2026 22:35:13 +0000 (22:35 +0000)]
chore(deps): lock file maintenance (#3393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 6 Nov 2026 12:23:17 +0000 (12:23 +0000)]
chore(deps): update bencherdev/bencher digest to
b7bf614 (#3399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 6 Nov 2026 12:23:07 +0000 (12:23 +0000)]
fix(deps): update all non-major dependencies (#3400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 5 Nov 2026 12:04:41 +0000 (12:04 +0000)]
chore(deps): update github/codeql-action digest to
33d7b85 (#3395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 5 Nov 2026 11:58:15 +0000 (11:58 +0000)]
chore(deps): update pnpm/action-setup digest to
73e4699 (#3396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 5 Nov 2026 11:57:22 +0000 (11:57 +0000)]
chore(deps): update sonarsource/sonarqube-scan-action digest to
e805d87 (#3397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 5 Nov 2026 11:57:11 +0000 (11:57 +0000)]
fix(deps): update all non-major dependencies (#3398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 3 Nov 2026 09:03:02 +0000 (09:03 +0000)]
chore(deps): update all non-major dependencies (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 1 Nov 2026 14:08:35 +0000 (14:08 +0000)]
chore(deps): update bencherdev/bencher digest to
47445a0 (#3391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 1 Nov 2026 13:23:28 +0000 (14:23 +0100)]
fix(deps): update all non-major dependencies (#3392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Documentation Bot [Sat, 31 Oct 2026 13:10:15 +0000 (13:10 +0000)]
docs: publish documentation
github-actions[bot] [Sat, 31 Oct 2026 13:06:09 +0000 (14:06 +0100)]
chore(master): release 6.1.0 (#3372)
* chore(master): release 6.1.0
* [autofix.ci] apply automated fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Sat, 31 Oct 2026 12:42:48 +0000 (12:42 +0000)]
chore(deps): update bencherdev/bencher digest to
d8bffdc (#3388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 31 Oct 2026 12:42:38 +0000 (12:42 +0000)]
fix(deps): update all non-major dependencies (#3389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Sat, 31 Oct 2026 02:13:07 +0000 (03:13 +0100)]
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>
renovate[bot] [Fri, 30 Oct 2026 02:23:10 +0000 (03:23 +0100)]
chore(deps): update bencherdev/bencher digest to
413bcf9 (#3385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 30 Oct 2026 02:22:47 +0000 (03:22 +0100)]
chore(deps): update all non-major dependencies (#3386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 29 Oct 2026 18:29:09 +0000 (18:29 +0000)]
chore(deps): lock file maintenance (#3379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 29 Oct 2026 14:19:48 +0000 (14:19 +0000)]
chore(deps): update node.js to v24.22.2 (#3383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 29 Oct 2026 00:53:34 +0000 (00:53 +0000)]
chore(deps): pin dependencies (#3384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Thu, 29 Oct 2026 00:46:02 +0000 (01:46 +0100)]
chore(renovate): align dependency update policies (#3382)
Reuse SAP AI Provider policies with pnpm deduplication.
renovate[bot] [Tue, 27 Oct 2026 17:44:01 +0000 (18:44 +0100)]
chore(deps): update all non-major dependencies (#3380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 26 Oct 2026 14:22:54 +0000 (14:22 +0000)]
fix(deps): update all non-major dependencies (#3378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Sun, 25 Oct 2026 19:05:26 +0000 (20:05 +0100)]
build: replace Prettier with Biome
Use the project-local CLI for Zed Markdown and YAML formatting.
Keep existing JS/TS and JSON formatter chains unchanged.
Jérôme Benoit [Sun, 25 Oct 2026 18:26:09 +0000 (19:26 +0100)]
refactor(hooks): share Biome formatting task
Run staged tasks serially so ESLint stays after Biome.
Jérôme Benoit [Sun, 25 Oct 2026 18:14:12 +0000 (19:14 +0100)]
fix(format): preserve metadata and lockfiles
Align staged formatting with the repository pipeline.
Keep badge URLs valid after Markdown normalization.
renovate[bot] [Sun, 25 Oct 2026 12:09:20 +0000 (12:09 +0000)]
fix(deps): update all non-major dependencies (#3377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 24 Oct 2026 11:46:16 +0000 (11:46 +0000)]
fix(deps): update all non-major dependencies (#3376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 23 Oct 2026 10:50:35 +0000 (10:50 +0000)]
chore(deps): update all non-major dependencies (#3375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 22 Oct 2026 12:19:46 +0000 (14:19 +0200)]
fix(deps): update dependency poolifier to v6 (#3374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 21 Oct 2026 22:45:25 +0000 (22:45 +0000)]
fix(deps): update all non-major dependencies (#3373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Documentation Bot [Tue, 20 Oct 2026 21:28:02 +0000 (21:28 +0000)]
docs: publish documentation
github-actions[bot] [Tue, 20 Oct 2026 21:23:45 +0000 (23:23 +0200)]
chore(master): release 6.0.2 (#3364)
* chore(master): release 6.0.2
* [autofix.ci] apply automated fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Tue, 20 Oct 2026 21:08:09 +0000 (23:08 +0200)]
chore(deps): lock file maintenance (#3368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Tue, 20 Oct 2026 20:43:29 +0000 (22:43 +0200)]
fix: remove failed bootstrap registrations (#3371)
* fix: remove failed bootstrap registrations
Accept only worker-confirmed absence after failed replay so captured
registrations can be discarded without hiding genuine removal failures.
Refs #3370
* fix: bind removal absence to requested name
Keep base-result provenance tied to the original request name so
unrelated prerequisite failures remain refusals.
Jérôme Benoit [Tue, 20 Oct 2026 17:57:42 +0000 (19:57 +0200)]
fix: recover runtime task function operations (#3369)
* fix: recover runtime task function operations
Closes #3365
Closes #3366
Closes #3367
* test: cover unsent task function targets
Cover partial-send failures before uncontacted targets with native acknowledgements, failures and exits on both transports. Clarify that successful mutations await restoration attempts.
* docs: clarify rejected task function calls
Documentation Bot [Sun, 18 Oct 2026 19:39:14 +0000 (19:39 +0000)]
docs: publish documentation
github-actions[bot] [Sun, 18 Oct 2026 19:07:07 +0000 (21:07 +0200)]
chore(master): release 6.0.1 (#3363)
* chore(master): release 6.0.1
* [autofix.ci] apply automated fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Jérôme Benoit [Sun, 18 Oct 2026 18:57:30 +0000 (20:57 +0200)]
fix(jsr): annotate public async context (#3362)
github-actions[bot] [Sun, 18 Oct 2026 18:24:07 +0000 (20:24 +0200)]
chore(master): release 6.0.0 (#3347)
* chore(master): release 6.0.0
* [autofix.ci] apply automated fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Sun, 18 Oct 2026 18:14:52 +0000 (20:14 +0200)]
fix(deps): update all non-major dependencies (#3361)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Sun, 18 Oct 2026 17:59:07 +0000 (19:59 +0200)]
fix!: correct task lifecycle and type export bugs (#3360)
* fix: correct task lifecycle and type export bugs
* test(types): isolate declaration probes from runtime coverage
* fix(pool): synchronize replacement task function replay
* fix: settle task function operations when workers exit
* fix: retire worker message listeners before node removal
* fix: preserve operation cohorts and replay readiness
* [autofix.ci] apply automated fixes
* fix: preserve task defaults and assimilate foreign promises
Restore acknowledged defaults before readiness and preserve empty-cohort no-op semantics. Bound replay listeners with sequential operations and stable worker identity. Normalize foreign promises and thenables across tasks, cancellation and cleanup without changing protected execution contracts.
* fix: snapshot and serialize task function mutations
Adapt relevant fixes from poolifier-web-worker#196 without replacing Node lifecycle handling.
Normalize decorated native promises and avoid constructing weights when counting retries.
* fix: complete task lifecycle port and replay guarantees
* fix: normalize async results and thenables
* fix: skip unready weighted workers
* fix: keep terminating replay workers unready
* [autofix.ci] apply automated fixes
* build: align ECMAScript target with ES2024 lib
* build: align TypeScript examples with ES2024
* docs: clarify user-facing task lifecycle rules
* fix: preserve task function mutation and result contracts
* fix: preserve queued operation identity and abortable results
* docs: align task function signatures with thenable support
* fix: scope bootstrap failures by worker affinity
* fix!: preserve task operation and strategy invariants
Reject lost operation identity without releasing live cohorts early.
Keep ready peers' strategies registered during worker replay.
BREAKING CHANGE: deferred custom operation handlers must retain request
UUIDs or the original task-function properties reference. Replies without
recoverable identity reject instead of leaving changes pending.
* fix: preserve buffered task function operation results
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Sat, 17 Oct 2026 17:03:04 +0000 (19:03 +0200)]
fix(deps): update all non-major dependencies (#3359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Jérôme Benoit [Fri, 16 Oct 2026 22:42:38 +0000 (00:42 +0200)]
fix!: require Node.js versions with ESM cluster support (#3348)
* fix!: require Node.js versions with ESM cluster support
Migrate cluster fixtures and benchmarks to ESM, retain explicit CommonJS coverage, and test the exact minimum Node.js releases in CI.
BREAKING CHANGE: Node.js ^22.18.0 || >=24.3.0 is required. Upgrade older Node.js installations before updating Poolifier.
Fixes #782
* fix(examples): remove CommonJS cluster build workarounds
Build and start all six cluster and hybrid server examples as ESM. Remove redundant start:esm scripts and extension-dependent worker paths; retain public CommonJS library support.
* fix(examples): declare Node.js requirements for ESM cluster workers
Align the six standalone cluster and hybrid examples with the supported Node.js range. This declares compatibility and enables package-manager engine checks without adding a runtime guard or changing dependencies.
* docs: remove unnecessary ESM background from README
* docs: remove unnecessary cluster startup explanations
igor-nanox [Fri, 16 Oct 2026 22:02:36 +0000 (01:02 +0300)]
fix(pool): keep idle stealing retries on their worker (#3346)
* fix: account task responses to the replying worker node
Resolve the worker node from the response worker id and re-resolve node keys
after promise continuations and stolen-task delays, since keys shift when
workers are removed.
* refactor(pool): reuse UUID and shared regression helpers
* docs: remove regression helper contribution guidance
* test(pool): unify regression deadlines and message waits
* fix(pool): preserve worker info overrides in task statistics
* docs(api): remove idle retry implementation detail
---------
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 16 Oct 2026 17:36:35 +0000 (19:36 +0200)]
fix(pool): reject task promises on unexpected worker exit (#3343)
* fix(pool): reject task promises on unexpected worker exit
* fix(pool): finalize exited workers before settling tasks
* docs(api): scope worker response guarantees by transport
* fix(pool): preserve affinity and normalize worker failures
* fix(pool): settle exited worker tasks when replacement fails
* fix(pool): complete exit callbacks and thread termination
* fix(pool): preserve aborts during queue redistribution
* fix(pool): defer dequeue notifications until redistribution completes
* [autofix.ci] apply automated fixes
* fix(pool): redistribute tasks after worker reindexing
* fix(pool): isolate synchronous task send failures
* fix(pool): preserve detached queue recovery and cancellation
* docs(api): clarify worker failure guarantees
* fix(pool): defer dequeue notifications across worker removal
* fix(pool): preserve affinity while survivors initialize
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate[bot] [Fri, 16 Oct 2026 11:32:47 +0000 (13:32 +0200)]
chore(deps): update all non-major dependencies (#3344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
autofix-ci[bot] [Thu, 15 Oct 2026 11:51:22 +0000 (11:51 +0000)]
[autofix.ci] apply automated fixes
github-actions[bot] [Thu, 15 Oct 2026 11:50:41 +0000 (13:50 +0200)]
chore(master): release 5.4.1 (#3341)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Jérôme Benoit [Thu, 15 Oct 2026 11:24:54 +0000 (13:24 +0200)]
fix: preserve own worker launch option descriptors (#3342)
Documentation Bot [Wed, 14 Oct 2026 22:51:53 +0000 (22:51 +0000)]
docs: publish documentation
autofix-ci[bot] [Wed, 14 Oct 2026 22:39:10 +0000 (22:39 +0000)]
[autofix.ci] apply automated fixes
Jérôme Benoit [Wed, 14 Oct 2026 22:38:28 +0000 (00:38 +0200)]
Merge pull request #3135 from poolifier/release-please--branches--master--components--poolifier
chore(master): release 5.4.0
github-actions[bot] [Wed, 14 Oct 2026 22:11:46 +0000 (22:11 +0000)]
chore(master): release 5.4.0
Jérôme Benoit [Wed, 14 Oct 2026 22:10:45 +0000 (00:10 +0200)]
Merge pull request #3340 from poolifier/fix/windows-cluster-stdio-test
test: use portable cluster stdio on Windows
Jérôme Benoit [Wed, 14 Oct 2026 21:52:28 +0000 (23:52 +0200)]
test: use portable cluster stdio on Windows
Jérôme Benoit [Wed, 14 Oct 2026 21:37:23 +0000 (23:37 +0200)]
fix: prevent inherited worker launch options
- harden inherited worker launch options
- close worker launch hardening gaps
- preserve Windows worker environment precedence
renovate[bot] [Wed, 14 Oct 2026 19:14:55 +0000 (19:14 +0000)]
fix(deps): update all non-major dependencies (#3339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 13 Oct 2026 15:21:26 +0000 (17:21 +0200)]
chore(deps): lock file maintenance (#3333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 13 Oct 2026 14:07:00 +0000 (16:07 +0200)]
fix(deps): update all non-major dependencies (#3338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 11 Oct 2026 14:41:39 +0000 (16:41 +0200)]
fix(deps): update all non-major dependencies (#3337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sat, 10 Oct 2026 17:39:41 +0000 (19:39 +0200)]
chore(deps): update all non-major dependencies (#3336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 9 Oct 2026 11:50:44 +0000 (13:50 +0200)]
fix(deps): update all non-major dependencies (#3335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>