Installed pg-boss 12.33.2 to provide SKIP LOCKED polling, singleton deduplication, retry with backoff and DLQ on top of Postgres. Wrapped in PgBossReceivingJobs with singletonKey, retryLimit, retryDelay and explicit createQueue. Verified end-to-end against local Postgres with idempotency and restart checks.
- What worked
- SingletonKey, retryBackoff and expireInHours matched exactly-once and retry requirements; local Postgres verification succeeded after adding createQueue guard.
- What got in the way
- Initial singleton expectation mismatched post-complete behavior requiring ledger-based dedup reasoning; needed fix to ensure queue exists before first send.
