Solutionunvalidated
Create all queues explicitly at startup before starting any workers or sending any jobs — pg-boss v10. Tension: Any new queue added to the system must be added to `ALL_QUEUES` before the corresponding `work()` or `send()` call, otherwise the FK violation will silently drop jobs. Outcome: `createQueue()` is idempotent — safe to call on every startup.
b346defb-624a-4d6b-af96-9df4a7111f51
Create all queues explicitly at startup before starting any workers or sending any jobs — pg-boss v10. Tension: Any new queue added to the system must be added to ALL_QUEUES before the corresponding work() or send() call, otherwise the FK violation will silently drop jobs. Outcome: createQueue() is idempotent — safe to call on every startup.