bunqueue v2.8.15
blog · release
bunqueue v2.8.15
Fixes 2 bugs. Queue.getJobCounts() silently returned all zeros in TCP mode (src/client/queue/operations/counts.ts): the sync getJobCounts() hardcoded {waiting:0,…} for the non-embedded branch, so a TCP client got zeros while the server…
Bugfixes
Section titled “Bugfixes”Queue.getJobCounts()silently returned all zeros in TCP mode (src/client/queue/operations/counts.ts): the syncgetJobCounts()hardcoded{waiting:0,…}for the non-embedded branch, so a TCP client got zeros while the server held the real counts. It now delegates to the async path for TCP (returns an awaitablePromise<JobCounts>with the real counts); embedded mode stays synchronous. (getDelayedCount()was already async/correct.)- PUSH of a late dependent on an evicted
removeOnCompleteparent was wrongly rejected (src/infrastructure/server/handlers/core.ts): the TCP push dependency-existence gate checkedjobIndex/completedJobsbut notdepCompletions, so a child depending on a completedremoveOnCompleteparent was rejected with “Dependency job not found” even though the readiness path and dependency processor already honored it. The gate now also consultsdepCompletions(newQueueManager.getDepCompletions()accessor).
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.8.14 · Release on GitHub · Commits since v2.8.14 · Full changelog · All posts