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

bunqueue v2.5.7

SandboxedWorker TCP mode, sandboxedWorker EventEmitter, queueOps adapter, TCP heartbeat for SandboxedWorker.

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 now extends EventEmitter with full event support: ready, active, completed, failed, progress, error, closed (matching regular Worker API).

(src/client/sandboxed/queueOps.ts), unified interface for embedded and TCP queue operations, keeping SandboxedWorker code clean and dual-mode.

Automatic lock renewal via JobHeartbeat commands for active jobs in TCP mode (configurable via heartbeatInterval).

  • TCP integration test for SandboxedWorker (scripts/tcp/test-sandboxed-worker.ts)
  • 8 new unit tests for SandboxedWorker events and TCP constructor
  • Updated Worker guide with SandboxedWorker TCP mode section and events documentation
  • Updated CPU-Intensive Workers guide with SandboxedWorker TCP example

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