mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 08:01:38 +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 Worker
The worker. Used to process and execute flows & jobs.
This crate exposes both a library as well as a binary target.