fix(tests): improve buffered task tests: add chain, concurrency and queue behavior tests

This commit is contained in:
2026-02-15 21:56:39 +00:00
parent ed3bd99406
commit 6ca6cf6bc0
4 changed files with 146 additions and 39 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-02-15 - 6.1.1 - fix(tests)
improve buffered task tests: add chain, concurrency and queue behavior tests
- Replace tools.delayFor with @push.rocks/smartdelay for more deterministic timing in tests
- Add tests for afterTask chaining, bufferMax concurrency, queued-run limits, and re-trigger behavior
- Rename tasks to descriptive names and fix afterTask chaining order to avoid circular references
- Change test runner invocation to export default tap.start() instead of calling tap.start() directly
## 2026-02-15 - 6.1.0 - feat(taskbuffer)
add sliding-window rate limiting and result-sharing to TaskConstraintGroup and integrate with TaskManager