Skip to main content

Module gates

Module gates 

Source
Expand description

Gate evaluation logic for workflow transitions.

Gates are checklist items that must be satisfied before transitioning out of a status or phase. A gate is satisfied when the task has an attachment with a matching type (e.g., “gate/tests”, “gate/commit”).

Structs§

GateCheckResult
Aggregated result of evaluating all gates for a transition.
GateResult
Result of evaluating a single gate.

Functions§

evaluate_gates
Evaluate gates for a task against its attachments. Returns only unsatisfied gates.