Files
windmill/backend
2eddc5d9cc feat: fill argument descriptions from JSDoc @param and Python Args: (#12515)
* feat: fill argument descriptions from JSDoc @param and Python Args:

windmill-parser-ts reads the @param lines of the JSDoc block on the
entrypoint function and passes each description as the argument's otyp,
the way windmill-parser-py already passes docstring Args: text. The
editor's inferArgs now turns that text into the schema property's
description for Python and TypeScript, so both show in the run form.

Part of #2451

* fix: keep jsdoc descriptions apart from the union marker, describe server-side schemas

A JSDoc @param description containing both `[` and `|` would read as the
`T | T[]` union marker it shares `otyp` with, so the parser leaves it out.
main_arg_schema, used when a deploy sends no schema, now also turns a
non-union `otyp` into the property description for Python and TypeScript,
as the editor's inferArgs does.

* fix(cli): take argument descriptions from code in generate-metadata

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a typed description on an empty doc entry and skip comment collection on the job path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: let a description from code fill an empty one, never replace a typed one

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:07:01 +01: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