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 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