Account admins can now enforce a workspace's credit limit. When an enforced workspace uses its credit allocation for the billing period, mabl blocks new cloud runs until the credits reset. Enforcement turns a credit limit into a hard ceiling rather than a guideline, so teams running mabl at scale can avoid surprise overages.
Enforcement is off by default, and it applies only to workspaces that have a credit allocation. Trial workspaces aren't affected.
How it works
Enforcement is set from the Billing tab of the account dashboard.
Set the Limit enforced toggle to on to enforce a limit for a given workspace.
Expand a workspace to see a breakdown of credit usage across test types
You can also enforce the limit when adding a new workspace in the Workspaces tab of the account dashboard.
Enforcement is set per workspace, so you can put a cap an onboarding or experimentation workspace while leaving your primary testing workspace unenforced, and one workspace reaching its limit never affects the others.
What happens when a workspace reaches its limit
When an enforced workspace uses its full credit allocation for the billing period, mabl shows a banner at the top of the workspace indicating that new cloud runs are blocked and names the date the credits reset.
Only new cloud runs are blocked. Runs already in progress finish normally, and local and CI runs are never blocked, so your team can keep authoring and running tests locally.
Any cloud run triggered while the workspace is blocked ends with a stopped status and carries a label explaining that the workspace reached its credit allocation.
The block lifts on its own as soon as the workspace is back under its limit, whether that's because credits reset for the next billing period or because an account admin raised the limit or turned off enforcement.
Enforcement isn't exact to the credit. Credit usage takes a few minutes to catch up, so a workspace may start an extra run or two right after it reaches its limit. Usage settles within about 10 minutes, and any credits consumed above the limit are billed as overage.