mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
dffb89e006
A BranchOne predicate expression that threw was propagated as a flow-level error, bypassing the flow's failure_module — especially silent when nested inside a forloop with skip_failures: true, where the failed iteration was swallowed with no handler ever invoked. Catch the predicate-eval error inside compute_next_flow_transform's BranchOne case, return a new NextFlowTransform::StepFailure variant, and have push_next_flow_job route it through update_flow_status_after_job_completion with success=false. Predicate errors now behave exactly like a failing script step: failure_module runs when defined, skip_failures still skips, workspace error handler fires when the flow fails. Closes #8889
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise