WarUI

CI Regression Budgets

GRID-A28-F19P0beyond-baselinePlanned

Defines per-scenario, per-metric budgets (absolute limits and allowed relative regression) evaluated automatically in CI on a dedicated reference runner. A failing budget blocks merge unless explicitly waived with justification.

Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Budget editor showing the current published budgets and a sample PR result evaluated against them.

Expected behavior

The evaluator marks each rule pass, fail or inconclusive. Noisy results trigger an automatic rerun rule rather than failure. The waiver view shows required fields: reason, approver, expiry.

Planned API surface

budgets.jsonbudgetRule {metric, scenario, maxAbsolute, maxRelativeRegression}budgetCheckResultwaiverciReport

Acceptance criteria

  • Budgets cover render, sort, filter, group, edit latency, frame over-budget percent, memory retained and bundle size (pending)
  • Relative regression uses the significance verdict to avoid noise failures (pending)
  • Inconclusive results trigger up to a documented number of reruns (pending)
  • Waivers require reason, approver and expiry and are listed publicly (pending)
  • Budget file is validated against a schema in CI (pending)