* feat: rerun only the failed iterations of a parallel for-loop or branch-all
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: fail a failed-only restart cleanly and keep the popup's iteration per step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: refuse a failed-only restart until every worker can run it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: name the parallel step whose iterations a restart reruns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: rerun the failed iterations of a parallel step nested in a branch-one or loop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate any restart chain carrying failed_only on the worker version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: add --failed-only to wmill job restart
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: rerun failed iterations on the items they originally ran on
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: resume each failed iteration of a failed-only restart at its failed step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: resume a failed iteration only at a step that failed, in an unchanged body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: resume a failed iteration only at a step that ran, in an identical body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: move failed-only restart into its own modules; say failed iterations rerun from their failed step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: show the info icon on the failed-only restart toggle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: name the failed-step restart in the failed-only toggle label
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: let a failed-only restart rerun failed iterations from their first step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: rerun failed iterations from their first step unless from_failed_step is set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor: keep failed-only slot merging out of the parallel push path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: let the workspace error handler skip jobs started from the UI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: address review of the ui-run error handler mute
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(cli): 30-day default CLI login tokens, expiry picker and wmill workspace login
The browser authorization page minted CLI tokens that never expired. It now
offers an expiration (30 days by default) within max_token_expiration_days.
An expired or revoked stored token gets a clear message before the CLI signs
in again, and `wmill workspace login` replaces a profile's token on demand,
revoking the previous one when the browser login created it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): keep re-login output off stdout, reject a mismatched --base-url
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): keep a token other profiles still use, log login port to stderr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* 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>