WarUI

Complexity budgets and resource limits

GRID-A05-F11P0beyond-baselinePlanned

Enforces configurable limits on tree depth, node count, 'in' list size, string length and group-key count. These limits stop a single crafted query from exhausting backend resources.

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

Live example

A grid with a filter builder and a meter showing current depth and node count against the limits.

Expected behavior

Meters fill as the tree grows. When a limit is exceeded, the builder blocks further additions and validation returns LIMIT_EXCEEDED, naming the limit and the actual value.

Planned API surface

limits.maxDepthlimits.maxNodeslimits.maxInListSizelimits.maxStringLengthlimits.maxGroupKeysLIMIT_EXCEEDED

Acceptance criteria

  • Limits are checked before translation (pending)
  • Validation stops early once a limit is exceeded (bounded work) (pending)
  • Server-side limits apply even if client enforcement is turned off (pending)
  • Default limits are documented and conservative (pending)