reconcile: detect and repair mollie records with no local match #62
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#62
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
Two failure windows leave Mollie and our database out of step with nothing to repair them:
Done when
A periodic job lists Mollie subscriptions and payments for the last N days, matches them on metadata against local rows, and logs and alerts on any orphan. Repair is either automatic (adopt or cancel and refund) or a documented manual step. A test covers each window.
Shipped in PR #65 (merged): reconciliation after each sweep, both failure windows covered, two review rounds. The remaining gaps are tracked separately: #66 (webhook log dedupe, orphans kept visible past the 14-day window, optional subscription listing) and bitborg-infra#510 (alert on the
[reconcile] ... needs manual reviewline). Closing this one.Not live yet: production pins billing image v0.2.1, which predates this change. It reaches prod with the next release and pin bump.