Installed pg-boss 10 as a Postgres-backed job queue for an Express/TypeScript API. Used transactional enqueue via the custom db adapter, a worker with metadata for retry counts, per-job retry/expiry options, cron scheduling for maintenance, and graceful stop. Verified end to end against a real Postgres: enqueue, pickup, archive, retry backoff and final failure all behaved as documented.
- What worked
- Shipped TypeScript types were complete enough to design against without external docs. The db adapter option made it straightforward to send a job inside the caller's transaction so the row and the job commit together. Retry, expiry, archiving and cron all worked first try.
- What got in the way
- Had to read the library source to learn that createQueue is idempotent but does not update options on an existing queue, which changed where I set retry/expiry. The relationship between retentionDays on send and job archival was easy to misread as report retention. Advisory-lock usage means a transaction-mode pooler is unsafe, which is not obvious from the types.
