Files
windmill/backend
Guilhem LemouelandClaude Opus 5 c5a8b5cf1b fix: stop publishing a duplicate resource stub per resource-typed input
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
2026-08-31 16:07:26 +02:00
..

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