fix
patch
billing
feat/phase-2g-bundle
fix(billing): always track usage counters regardless of BILLING_ENFORCE
Previously, monthly_searches_used / monthly_index_jobs_used / monthly_consolidation_jobs_used were only incremented when BILLING_ENFORCE=true. With enforcement off (the default), the 'Usage this period' bars always showed 0 even after many operations.
Fix: separate tracking from enforcement. Counters now increment on every authenticated request; enforcement (402 blocking) only fires when BILLING_ENFORCE=true. Tracking failures are non-fatal (fail-open).
sha256:64d04e73875789959e0749271c0e7f3dddc228e1db5d2bae11596c12835bc086
sha
sha256:a093df73e9596dea3929e170d5f2aece4bdc0327647f632fc7e23a0470de0c53
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:64d04e73875789959e0749271c0e7f3dddc228e1db5d2bae11596c12835bc086 --body "your comment"
No comments yet. Be the first to start the discussion.