mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 08:06:46 +00:00
* feat: add an instance setting for full-code app versions to keep `raw_app_versions_to_keep` makes the monitor delete each raw app's versions past the newest N, with their bundles. A version superseded less than an hour ago and a version a draft is based on are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: validate the versions to keep in the UI as the server does Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: read the drafts' bases per batch while pruning app versions A first pass over a long history runs for minutes, so a draft saved during it was not seen by the snapshot taken with the candidates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: never date a version's supersession before the version itself `created_at` is when a deploy started, so a successor can carry the older one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep pruned app versions' rows while object storage is down `get_object_store` answers `None` both for no storage and for storage that failed to build or refresh, and deleting the rows then orphans the bundles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- 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