mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-29 16:15:51 +00:00
Add backend/tests/wac_approval_resume.rs pinning the fix: a job parked on its second waitForApproval() with two resume_job rows (an older approved row for the first approval, a newer cancelled row for the pending one) must resolve to the pending step's own event, not the oldest row. Verified it fails against the pre-fix `ORDER BY created_at ASC LIMIT 1` query and passes with the resume_id filter. Also trim the resume-match comment to the durable constraint (drops the bug-history narration) per AGENTS.md. approval_resume_id stays `pub` — the integration test crate now consumes it. Co-Authored-By: Claude Opus 4.8 (1M context) <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