Installed the queue library, imported Worker, Queue, and UnrecoverableError, and wired unique job IDs, retries, and rate limits so confirmation texts leave the HTTP request. Mapping to accept-then-send was clear; duplicate-job and error-class behavior needed source reading.
- What worked
- The job model fit the four requirements: enqueue after save, process in a worker, retry with backoff, and treat each reservation as one job. The package imported cleanly and UnrecoverableError was available for permanent Twilio rejects.
- What got in the way
- Duplicate job IDs no longer throw in this major version, so an error-based guard was unnecessary. Confirming exports and CommonJS instanceof behavior required reading packaged entrypoints and Lua instead of relying on docs alone.
