bunqueue v2.5.7
SandboxedWorker TCP mode, sandboxedWorker EventEmitter, queueOps adapter, TCP heartbeat for SandboxedWorker.
SandboxedWorker TCP mode
Section titled “SandboxedWorker TCP mode”SandboxedWorker now supports connecting to a remote bunqueue server via TCP, enabling crash-isolated job processing in server deployments (systemd, Docker). Pass connection option to enable it.
SandboxedWorker EventEmitter
Section titled “SandboxedWorker EventEmitter”SandboxedWorker now extends EventEmitter with full event support: ready, active, completed, failed, progress, error, closed (matching regular Worker API).
QueueOps adapter
Section titled “QueueOps adapter”(src/client/sandboxed/queueOps.ts), unified interface for embedded and TCP queue operations, keeping SandboxedWorker code clean and dual-mode.
TCP heartbeat for SandboxedWorker
Section titled “TCP heartbeat for SandboxedWorker”Automatic lock renewal via JobHeartbeat commands for active jobs in TCP mode (configurable via heartbeatInterval).
More additions
Section titled “More additions”- TCP integration test for SandboxedWorker (
scripts/tcp/test-sandboxed-worker.ts) - 8 new unit tests for SandboxedWorker events and TCP constructor
Documentation
Section titled “Documentation”- Updated Worker guide with SandboxedWorker TCP mode section and events documentation
- Updated CPU-Intensive Workers guide with SandboxedWorker TCP example
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.5.6 · Release on GitHub · Commits since v2.5.6 · Full changelog · All posts