mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-22 00:02:38 +00:00
A project's resource list answered two questions at once. A `$res:` token (or a trigger's resource field) names a path something in the project reads, so that credential has to be filled in. An item's `resource-<type>` input names no path — it says the project needs a Postgres — and publish minted a stub at `f/<slug>/<type>` to carry it. Flattening the two meant an app pinning `$res:.../prod_db` for a script arg declared as `resource-postgresql` published both `prod_db` and `postgresql`, and the importer filled two credentials to satisfy one dependency. Input-derived stubs now ship unrequired: still created, so a standalone run of the item that declared the type has something to pick, but kept off the import wizard's credential checklist. A path claimed by both stays required. The flag defaults to true on the Hub, so projects published before the distinction keep asking for all of their resources; republishing demotes them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MtNNB49VfeJgxAn3YNS2Cq
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