* fix(cli): show the git-branch-resolved workspace in workspace list/whoami/switch
When the current git branch matches a wmill.yaml workspace's gitBranch,
commands target that workspace regardless of the active profile, but
`workspace list`, `whoami` and `switch` only printed the stored profile.
Print a note naming the workspace commands actually target, as is already
done for fork branches. Skip it when --workspace is passed, since that wins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): cover unmatched-branch and fork-base cases in the workspace target note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): read wmill.yaml diagnostics-safe in the workspace target note
Use a peek that never exits, throws or chdirs, flag a target with no local
profile, and drop the multi-workspace claim that the active profile is skipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): tolerate empty legacy entries and name the effective id in the single-workspace note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: let a subflow step override its worker tag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: route a subflow step test like the flow does and regenerate MCP session exports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: test an untagged subflow step on its preserving parent's tag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* 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>
Matches the sub:inner id the flow graph shows for a step of an expanded
subflow, and avoids reading like a field of the step's result.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep the python client generator within memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: state the generator's real memory peak
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: test flows from the SDKs with mocked or replaced steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: walk only real flow modules and refuse overrides a step would ignore
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: harden flow tests against sdk tokens, rls, test-run pins and built-in tools
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: require the code capability to test a flow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: refuse overriding ai agent tools in flow tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: refuse overriding the preprocessor, which a flow test never runs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: override steps inside subflows in flow tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate subflow overrides on worker version and disable caching in flow tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: note subflows never run their preprocessor in flow test docstrings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(api): type /scripts/list response as ListableScript
GET /w/{workspace}/scripts/list is documented as returning the full Script
schema, but it actually returns a lighter object (Rust ListableScript) that
omits heavy fields like content, created_by, parent_hashes, deleted,
is_template and has_preprocessor. The OpenAPI docs — and the generated clients
— therefore over-promise fields that are never present at runtime.
Add an accurate ListableScript schema and point the /scripts/list response at
it. Regenerating the frontend client surfaced several consumers that were typed
against the full Script for list results; retype them to ListableScript. They
only use the lighter fields — full-script fields elsewhere come from separate
getScriptByPath/getScriptByHash fetches and are unchanged.
Addresses #5451
* fix: type /scripts/list as ListableScript matching the Rust struct, retype its consumers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: fail when ListableScript and its openapi schema drift apart
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>
* fix: rebuild the dependency map off the request for workspace deps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: force dependents to relock after the background map rebuild
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: read the dependency map once the background rebuild has run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: make the background workspace deps rebuild resumable
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: let a workspace deps push outlive its client instead of rebuilding in the background
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): wait for a workspace deps push that got no response
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): keep Node argument errors out of the network error message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: label for-loop iterations with a per-iteration expression
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: evaluate iteration labels before the push transaction, under a timeout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: point the EE ref at the iteration_label feature usage registration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: stop QuickJS at its deadline and bound labelling a push as a whole
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: report an interrupted expression as timed out so eval retries it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: put the iteration label behind a custom iteration labels toggle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 3389335a8f58de7a06ae0402ec1c4fdad3bf6122
This commit updates the EE repository reference after PR #994 was merged in windmill-ee-private.
Previous ee-repo-ref: dde2f1656939c8fc1fc8c75f3ddffcd637cce8a3
New ee-repo-ref: 3389335a8f58de7a06ae0402ec1c4fdad3bf6122
Automated by sync-ee-ref workflow.
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* chore: treat the workspace webhook URL as a settings secret
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep the webhook when pushing settings to a server storing it plain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: reattach applySettingsDocument doc comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): recognize datatable migration paths with Windows separators
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): match Windows migration paths against git history on push
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: render charts and tables in AI chat replies and artifacts
* fix: count display blocks when the chat commits a reply
* fix: keep display blocks in artifact PDF and HTML exports
* chore: update ee-repo-ref to a5d1e052df3e920d3f0b50bdb148c37bf8eec2c4
This commit updates the EE repository reference after PR #978 was merged in windmill-ee-private.
Previous ee-repo-ref: 4ee687c09398105fd7ffe1702493ced097ef6359
New ee-repo-ref: a5d1e052df3e920d3f0b50bdb148c37bf8eec2c4
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* fix: run ci tests once a batch deploy has landed, not per item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: require deploy rights for ci test batches and wait out delayed relocks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate ci test batches on run role and keep failed pushes tested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
`wmill init` wrote `# yaml-language-server: $schema=wmill.schema.json`,
a path relative to the user's wmill.yaml where no schema file exists, so
the YAML language server loaded nothing. The header now names
cli/wmill.schema.json at the CLI's own release tag on
raw.githubusercontent.com.
The committed schema had drifted since v1.834.0 (it lacked
includeDatatablePermissions); regenerate it and add a unit test that
fails while it is stale.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: carry folder display names through fork deploy and diff
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: fold the folder display name check into the existing deploy test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: carry resource types' file settings and resources' type through fork deploy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: bump windmill-utils-internal to 1.8.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: document folder display_name in the api and pick up windmill-utils-internal 1.8.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(cli): opt-in per-script codebase digests from each script's imports
* fix(cli): digest only the tsconfig esbuild applies, with its extends chain
* perf(cli): skip codebase digests in the lockfile dedupe pass
* fix(cli): digest package.json build fields and package-resolved tsconfig bases
* fix(cli): resolve tsconfig extends exactly as esbuild does, BOM included
* fix(cli): fall through unmatched nested export conditions in tsconfig extends
* refactor(cli): hash every config of an extended tsconfig package
* fix(cli): hash every file of an extended tsconfig package, through symlinks
* style(cli): escape the BOM and sort package files in the digest
* docs(cli): note runtime-read files in the per_script_digest description
* fix: settle sync push on multi-output bundles and empty schemas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: compare an inferred schema against the stored one on push
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: drop empty-schema handling, keep the bundle digest fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>