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 f89b168
Browse filesBrowse the repository at this point in the historyBrowse files
fix(billing): keep billing a request whose period start moved forward before its first charge (#8480)
* fix(billing): keep billing a request whose period start moved forward before its first charge
A Stripe anchor reset between admission and a request's first cost callback
stamps row 0 with the reset period. The ledger binding only accepted a later
period starting at or after the admitted period's end, so every later callback
was refused with a billing-context mismatch and its spend went unbilled. The
binding now accepts the same forward-only rule the roll uses: a start later
than the admitted one. An earlier period is still refused.
Also bound the upgrade-card subscription read in update-cost under the same
1 s standing deadline as the verdict read.
* fix(billing): keep an exceeded verdict when the upgrade-card read is slow
The shared deadline discarded an exceeded verdict when the card lookup ran
past the budget. The verdict read keeps the deadline; the card lookup now
falls back to the plan-upgrade card past the same deadline.
0 commit comments