docs(runbook): billing time-shift breaks the renewal period key #675
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-infra#675
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?
The time-shift procedure in
docs/runbook.md(billing test checklist, step 6) breaks a renewal on staging.charge.periodalone. The renewal then gets the same period key as the first charge and the webhook fails withduplicate key value violates unique constraint "charge_subscription_id_period_unique". It applied only after the first charge'speriodwas moved one month back by hand.startDateto today, while the shift makes the period end today. Billing then reports the next charge one day after Mollie'snextPaymentDate.Fix: shift
charge.periodtogether with the dates, and setstartDateto match the shifted period end. Seen in the #579 run.