Expand description
Workflow simulation (dry-run) engine.
Traces the execution path of a workflow DAG without actually running any tasks. Useful for pre-flight validation, capacity planning, cost estimation, and debugging complex conditional workflows.
The simulator walks the DAG in topological order, evaluates edge conditions against simulated outputs, and produces a detailed execution trace showing which nodes would run, be skipped, or potentially fail.
Structs§
- Evaluated
Condition - Result of evaluating an edge condition during simulation.
- Simulation
Config - Configuration for a simulation run.
- Simulation
Report - A simple simulation report produced by dry-running a
crate::workflow::Workflow. - Simulation
Result - Complete result of a simulation run.
- Simulation
Summary - Summary statistics from a simulation.
- Simulation
Trace Entry - A single entry in the simulation trace.
- Workflow
DryRun - Dry-run simulator for
crate::workflow::Workflow. - Workflow
Simulator - The workflow simulation engine.
Enums§
- Condition
Source - How a condition was resolved.
- Simulated
Outcome - Outcome of a simulated node execution.
Functions§
- quick_
simulate - Helper to create a simple simulation for a DAG.