bunqueue v2.6.32
blog · release
bunqueue v2.6.32
13 new WebSocket/SSE events, monitoring checks, cron overlap detection, flow lifecycle events.
To install bunqueue v2.6.32
Section titled “To install bunqueue v2.6.32”bun add bunqueue@2.6.32npm install bunqueue@2.6.32To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latest13 new WebSocket/SSE events
Section titled “13 new WebSocket/SSE events”job:expired, flow:completed, flow:failed, queue:idle, queue:threshold, worker:overloaded, worker:error, cron:skipped, storage:size-warning, server:memory-warning (+ flow:* wildcard). Total event types: 86.
Monitoring checks
Section titled “Monitoring checks”Periodic threshold monitoring runs on cleanup interval (10s). Configurable via env vars: QUEUE_IDLE_THRESHOLD_MS, QUEUE_SIZE_THRESHOLD, MEMORY_WARNING_MB, STORAGE_WARNING_MB, WORKER_OVERLOAD_THRESHOLD_MS.
Cron overlap detection
Section titled “Cron overlap detection”Crons skip execution if the previous instance fired within 80% of the repeat interval, emitting cron:skipped instead.
Flow lifecycle events
Section titled “Flow lifecycle events”flow:completed when all children of a parent job finish, flow:failed when a child permanently fails (moves to DLQ).
Changes
Section titled “Changes”- SandboxedWorker docs: Clearly marked as experimental across all documentation pages (worker, migration, CPU-intensive, stall-detection, troubleshooting). Production recommendation to use standard
Workerinstead.