You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7dc251a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(billing): let operators resolve billing dead letters and stop re-paging old ones (#8869)
A billing Stripe sync that exhausted its retries stayed dead-lettered forever:
requeue only sends it back through the same failure, retention never prunes a
dead letter, and the hourly billing reconcile cron logged every one at ERROR
on every run.
- POST /api/v1/admin/outbox/[id]/resolve closes a dead-lettered billing Stripe
event (dead_letter -> completed). last_error keeps who resolved it, why, and
the last failure; the action is audited. Other domains count completed rows
as delivered, so only billing Stripe events can be resolved.
- The reconcile cron logs dead letters from the last two hourly runs at ERROR
and older unresolved ones at WARN with the same identifiers; the dead-letter
scan returns newest first so its cap never hides a new one.
- The admin dashboard reports a resolved cancellation as resolved, not
applied.
0 commit comments