Skip to content
Get started
Get started
bunqueue v2.7.5
View Markdown
blog · release

bunqueue v2.7.5

Fixes 1 bug. job.moveToFailed() inside processor was a no-op (Issue #82), Calling job.moveToFailed() inside a worker processor silently did nothing because move method callbacks were not wired to createPublicJob.

bun add bunqueue@2.7.5
npm install bunqueue@2.7.5
bun add bunqueue@latest
  • Extracted handler factories from processor.ts into new src/client/worker/processorHandlers.ts for single-responsibility compliance.
  • job.moveToFailed() inside processor was a no-op (Issue #82), Calling job.moveToFailed() inside a worker processor silently did nothing because move method callbacks were not wired to createPublicJob. The worker then auto-ACKed the job, marking it as completed instead of failed. Now moveToFailed() and moveToCompleted() work correctly inside processors: they send the appropriate command and prevent the auto-ACK from overriding the state.
  • 3 new issue #82 reproduction tests (test/issue-82-moveToFailed.test.ts)

← bunqueue v2.7.4 · Release on GitHub · Commits since v2.7.4 · Full changelog · All posts