Repository navigation
fix(customers): canceled card trials churn, abandoned checkouts never started - #642
Merged
JeremyFunk merged 4 commits intoNov 24, 2026
Maple Review Bot / Maple / review
succeeded
Nov 23, 2026 in 4m 9s
Confidence 10/10 · No issues found
🟢 Confidence 10/10 · safe to merge. The Abandoned checkout fix re-records Started and drops the abandoned event on a live read, pinned by compute-loop.test.ts:1576.
no findings · tests covered · risk medium
Autumn abandoned checkouts now read as abandoned instead of started-then-canceled, a card trial canceled before converting counts as churn with no MRR lost, and a lead whose plans all ended unpaid stops getting signals. All three behaviors are pinned by map, compute and evaluate tests.
abandonedCheckoutmarks an expired paid plan with no cancellation or billing period- Ingest replaces a plan's
Started/Canceledevents withAbandoned checkout canceledCardTrialandwasCustomercount a canceled card trial as a churnleftUnpaidstops non-SLA signals for a lead whose plans ended unpaid
Fixed since the last review
- ✅
F2 · An abandoned plan that later reads live keeps itsAbandoned checkoutevent
What was checked
recordEventisonConflictDoNothing, so dropping then re-recording an event lands (ingest-live.ts:520)- Account MRR sums live billed plans only, so a canceled card trial adds none (
snapshot.ts:217) paymentMethodis nullable and Stripe sets it only from a real card (stripe/map.ts:430)
b7e00d3 · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading