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 b8b7201
Browse filesBrowse the repository at this point in the historyBrowse files
fix(billing): bound the enterprise preflight's workflow run count to the preview budget (#9673)
The enterprise issuance preflight counted the organization's billable workflow runs under the
ledger's default 60s bound, the same COUNT DISTINCT the organization detail page already caps at
5s because it can outlast the admin proxy's request timeout on a large payer. The preflight now
reads it through getBillingPeriodWorkflowRunCountWithinBudget, which reports null past the shared
WORKFLOW_RUN_COUNT_BUDGET_MS, so the preview still loads; the contract already allows null. The
over-budget classification moves next to readLedgerBounded as isLedgerReadOverBudget, shared by
both callers.
0 commit comments