billing: split billing.ts by job #120
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#120
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?
What
src/billing.tsis 1924 lines with five jobs.Why
Chargeback handling (
applyChargeback,reverseChargeback, about 330 lines) and sweep and reconcile (about 250 lines) are separate jobs.STOCKHOLM_DATEexists in bothbilling.tsandwithdrawal.ts.amsterdamMidnightandstockholmMidnightare near copies.Fix
Move chargeback code to
src/chargebacks.tsand sweep and reconcile tosrc/reconcile.ts. One sharedzonedMidnight(zone, day). Move code only. Split the test file the same way.Done when