When a flow has a flow-level `skip_expr` (or `no_flow_overlap`) and the first module has `skip_if` defined, the flow-level condition returns `UpdateFlow` before any identity job is created. The `UpdateFlow` path passes `Uuid::nil()` as `job_id_for_status`, causing `fetch_one` to fail with "no rows returned". - Change `fetch_one` to `fetch_optional` so a missing row returns false - Short-circuit the DB query with `stop_early && skip_if_stop_early` so both skip mechanisms (identity job check and early-stop skip flag) are considered - Also fixes the logical gap where a module with both `skip_if` and `stop_after_if` would only check the identity job, ignoring the early-stop skip signal Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Windmill Worker
The worker. Used to process and execute flows & jobs.
This crate exposes both a library as well as a binary target.