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
feat(billing): expose netRemainingRaw in useMeter — show negative quota for in-flight jobs #4060
The Math.max(0, ...) clamp prevents the UI from displaying a negative quota. Memo edge case 1: "Quota négatif autorisé pour jobs en cours, bloque nouveaux. Affichage du négatif en UI".
Currently a user whose attribution has pushed meterUsed > meterQuota (long-running scrap finishing past quota) sees totalRemaining = 0 + extras instead of e.g. -150 + 5000 = 4850 with the negative debt visible.
Activity
feat(billing): expose netRemainingRaw + overage in useMeter for negat…
chore(release): 2.1.0