Product Release December 3, 2026

Workpool 0.5.1

Workpool v0.5.1
SR

Seth Raphael

Published on December 3, 2026

Overview

  • Fixed jobs holding their pool slot forever when their completion failed, for example when onComplete timed out, ran out of memory or read too much data. Enough stuck jobs would stop the pool running new work. The workpool now retries a failed completion once, and if that fails too, moves the job to a dead-letter queue and frees its slot. Manage it with deadLetter:list, deadLetter:retry and deadLetter:discard.
  • Mutation jobs stuck on an earlier version can be freed by running npx convex run --component workpool recovery:recoverLegacyCompletions once after upgrading.
  • Canceled work that hasn't started now completes through the queue, so a burst of cancels stays within maxParallelism.
  • Added an optional LOG_LEVEL environment variable to the component, set with app.use(workpool, { env: { LOG_LEVEL: "INFO" } }). It takes precedence over the logLevel client option, which is now deprecated.