# executor

Flow execution engine: runs a [`VersionFlow`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/models/#api-VersionFlow) end-to-end with dry-run, validation, and structured result reporting.

[`executeFlow`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/executor/#api-executeFlow) walks the steps of a flow in declared order, invoking each step's executor with the current [`FlowContext`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/models/#api-FlowContext), threading state through `FlowStepResult[]`, and short-circuiting on the first failed step (or on the first step whose [`skipIf`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/models/#api-FlowStep-prop-skipIf) opts out). [`dryRun`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/executor/#api-dryRun) performs the same traversal but instructs each step to report what it would do without performing side effects. This is useful for validating release plans before publishing. [`validateFlow`](https://www.hyperfrontend.dev/docs/libraries/versioning/flow/executor/#api-validateFlow) walks the flow definition only (not the runtime context) and surfaces structural problems such as duplicate step IDs, missing dependencies, or invalid configuration.

---

Canonical page: https://www.hyperfrontend.dev/docs/libraries/versioning/flow/executor/
This file: https://www.hyperfrontend.dev/docs/libraries/versioning/flow/executor.md
Documentation index: https://www.hyperfrontend.dev/llms.txt
