Expand description
Pre-execution validation for workflow DAGs.
Performs cycle detection, unreachable step detection, missing dependency detection, variable reference validation, and depth/breadth limits.
Enums§
- Validation
Error - A validation error found in a workflow definition.
Constants§
- MAX_
DAG_ BREADTH - Maximum allowed number of steps in a workflow.
- MAX_
DAG_ DEPTH - Maximum allowed depth of a DAG (longest path from any root to any leaf).
Functions§
- topological_
sort - Perform topological sort using Kahn’s algorithm.
- validate_
workflow - Validate a workflow DAG, returning a list of all errors found.