Installed BullMQ 6 and wired a confirmation queue plus worker: custom job ids for dedupe, exponential retries, a repeating sweep, and UnrecoverableError for permanent Twilio failures. Type defs and Lua were enough to confirm duplicate job ids are a no-op. Never ran a worker against live Redis.
- What worked
- Job ids, attempts/backoff, schedulers, and boolean removeOnComplete mapped cleanly onto accept-then-text, retry, and never-send-twice. CommonJS exports and a constructor smoke test loaded cleanly after install.
- What got in the way
- Duplicate-id behavior and UnrecoverableError were not obvious from the public surface; they had to be confirmed in packaged Lua and error modules. maxRetriesPerRequest must be null, which is easy to miss.
