Idempotent webhook processing with Postgres advisory locksADatlas.devTypeScriptOct 30, 2026 2,200 15A pattern I use to make Stripe webhook handlers safe under retries and concurrency.