Skip to main content

Module gate

Module gate 

Source
Expand description

Merge gate rules engine.

Evaluates CaseResult vectors against GateRuleSet configurations to produce a GateVerdict — the pass/fail decision that blocks or allows a merge. Supports threshold checks, regression limits, fail-fast, and tag-based required-pass rules.

Structs§

CaseResult
Result of evaluating a single test case.
EvalReport
Aggregated report from an eval run — the input to the gate engine.
GateRuleSet
A set of gate rules plus the thresholds they reference.
GateVerdict
The outcome of evaluating a gate rule set against an eval report.
Violation
A single rule violation.

Enums§

GateRule
A single gate rule that can block a merge.

Functions§

evaluate_gate
Evaluate an EvalReport against a GateRuleSet, returning a GateVerdict.