mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-17 00:20:51 +00:00
* fix(worker): wait up to 15 min for the server to migrate instead of 30s During a rolling upgrade new workers start alongside the new server, which needs longer than 10 x 3s to come up and run migrations. Workers exited, restarted and tripped crash loop alerts on every Cloud EE upgrade. Wait up to 15 minutes, and log progress every 30s instead of every 3s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvvEoe9TQtBwGumWBKo * fix(worker): cap the migration wait at 3 min, from observed rollout data Over the last 12 Cloud EE rollouts (3,430 worker starts) the median wait was 0s, p99 47s and the longest 94s, so 15 minutes was far more than needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvvEoe9TQtBwGumWBKo --------- Co-authored-by: Claude Opus 5.5 <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