provider: retry Mollie 429 with Retry-After and treat 409 as in flight #86
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment#86
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
@mollie/api-client4.6.0 retries only 5xx responses (3 attempts). It does not retry 429. Our adapter has no handling either. A 429 rejects the whole call.Webhooks recover through Mollie's redelivery. The sweep and reconciliation do not:
listPaymentsandlistChargebackspage through everything, and one 429 aborts the pass.A 409 (same idempotency key while the first request is in flight) also surfaces as a raw error.
Mollie docs
Retry-After(https://docs.mollie.com/reference/rate-limiting).Fix
Wrap Mollie calls in a small retry that handles 429 with
Retry-Afterand a capped number of attempts, and treats 409 as "in flight, retry later". One wrapper in the adapter, not per call site.Done when
Found in the Mollie docs audit of 2026-10-05.
Folded into #148, which now also covers the 409 handling and retry on write paths. Closing this one. Follow #148.