Commit Graph
9745 Commits
Author SHA1 Message Date
hugocasaandClaude Opus 5.5 34a01ac644 fix: compare script modules and real step metadata in the ci test rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:18:23 +01:00
hugocasaandClaude Opus 5.5 d80b5b5b37 feat: add a deploy rule requiring passing CI tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:08:56 +01:00
Ruben Fiszelandrubenfiszel 28985a122c chore(main): release 1.882.0 (#12578)
* chore(main): release 1.882.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-22 16:13:27 +01:00
Ruben FiszelandClaude Opus 5.5 4e5fc300f3 feat: add an instance setting for raw app versions to keep (#12577)
* feat: add an instance setting for full-code app versions to keep

`raw_app_versions_to_keep` makes the monitor delete each raw app's versions past
the newest N, with their bundles. A version superseded less than an hour ago and
a version a draft is based on are kept.

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

* fix: validate the versions to keep in the UI as the server does

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

* fix: read the drafts' bases per batch while pruning app versions

A first pass over a long history runs for minutes, so a draft saved during it
was not seen by the snapshot taken with the candidates.

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

* fix: never date a version's supersession before the version itself

`created_at` is when a deploy started, so a successor can carry the older one.

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

* fix: keep pruned app versions' rows while object storage is down

`get_object_store` answers `None` both for no storage and for storage that
failed to build or refresh, and deleting the rows then orphans the bundles.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:24:30 +01:00
Ruben Fiszelandrubenfiszel 443f41283e chore(main): release 1.881.1 (#12576)
* chore(main): release 1.881.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-21 09:13:56 +01:00
Ruben Fiszelandrubenfiszel 184b97d2f6 chore(main): release 1.881.0 (#12554)
* chore(main): release 1.881.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-20 18:08:28 +01:00
AlexRV12 2390f11c78 fix: offer script-step test and edit to compose roles with code (#12574) 2026-11-20 18:08:02 +01:00
64995fae4a feat: hide items from home's recently run panel (#12572)
* feat: hide items from home's recently run panel

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

* fix: list hidden recent-run items only within the folder filter

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

* feat: store hidden recent-run items server side and leave them out of counts

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

* fix: carry hidden recent-run items over a workspace id change

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

* fix: carry hidden recent-run items over email changes and user removal

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

* test: pin hidden recent-run items leaving every count

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

* test: drop the hidden recent-run items test

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 18:04:22 +01:00
AlexRV12 8b3b692b3c fix: session chat shows its own workspace's AI config (#12573) 2026-11-20 17:43:02 +01:00
6ec19f0fe5 feat: lead the run graph's error handler to the node that receives its output (#12516)
* fix: show retries, subflow error handlers and empty branches in the run graph

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

* fix: keep stale and preprocessor retries off other steps, show empty-branch note only on success

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

* fix: list retry attempts in the graph node panel, align approval page with brand guidelines

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

* fix: isolate retry attempt viewers and mount one list per view

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

* fix: give retry attempt viewers their own loop selection scope

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

* fix: mark a denied or timed-out approval on its own step in the run graph

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

* fix: show a recovered subflow as the failed step its parent records

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

* feat: lead the run graph's error handler to the node that receives its output

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

* fix: end a continuing branch-one's handler edge at the branch-one

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

* fix: hang the error handler of a denied approval from the approval step

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

* refactor: draw the handler edge on the same path instead of bowing around the column

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

* fix: pick a retried step's attempt on the graph, as a loop's iteration

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

* fix: clear a subflow's step states when switching attempts, keep the retry line for the preprocessor and error handler

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

* feat: one step settings bar with the attempt picker in its menu

* fix: keep a nested attempt pick, open loop and branch settings from the bar

* feat: show how many steps were retried inside a collapsed subflow

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

* feat: expand a subflow from its retried-inside line

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

* fix: use the design-system button for the retried-inside line

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

* feat: mark error handlers and the path a run took in the run graph

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

* fix: count error handlers only where one can have run, a few requests at a time

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

* fix: skip successful iterations when counting a subflow's error handlers

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

* feat: draw the run's path plain and dashed, with a dashed outline on steps that did not run

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

* feat: show retry and error handler counts together under a collapsed subflow, drop the not-run outline

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guilhem Lemouel <guilhemlemouel@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 17:13:42 +01:00
d538f2adfa fix: relax git auto-pull polling only once the webhook has delivered (#12532)
* fix: relax git auto-pull polling only once the webhook has delivered

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

* fix: keep a delivering webhook verified while its last pull failed

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

* docs: state the caller contract of the webhook verification writer

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

* fix: do not count a ref's first auto-pull as a missed webhook delivery

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

* chore: update ee-repo-ref to 6c06d688fe435630e2827bc177f066d2646bb768

This commit updates the EE repository reference after PR #996 was merged in windmill-ee-private.

Previous ee-repo-ref: 095ef5033bff64ed5b2d08c84bb0037b83449d88

New ee-repo-ref: 6c06d688fe435630e2827bc177f066d2646bb768

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>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 16:55:30 +01:00
GuilhemandClaude Opus 5.5 c8d047905e feat: give the chat's deploy confirmation a card of its own (#12571)
* feat: give the chat's deploy confirmation a card with editable fields and a diff

* fix: refuse a picked deploy path that is already taken

* fix: show the folder default user a first deploy will run as

* fix: close the run-as picker once a user is chosen

* fix: let Escape stop a turn in a drawer and seed the card from the staged path

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

* fix: read a raw app's staged path before canonicalizing its unsaved draft

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

* chore: drop the deploy card dev page

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:50:42 +01:00
GuilhemandClaude Opus 5.5 a8f7c56c7e fix: store an artifact edit only when made on its latest version (#12477)
* fix: store an artifact edit only when made on its latest version

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

* fix: retry a session save with its latest state after making room

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

* refactor: drop artifact write branches no saved write can reach

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

* fix: keep a renamed plan's approval and catch stale edits earlier

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

* fix: word the stale artifact refusal without naming another tab

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

* fix: tell a private window apart from full storage in artifact refusals

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:37:52 +01:00
Tristan TRandClaude Fable 5.2 4fd4b04947 feat(hub): publish a folder's AI agents with their project (#12490)
* feat(hub): publish a folder's AI agents with their project

A saved AI agent is an `ai_agent` resource, and the Hub bundle shipped every
resource as an empty stub: a project built around an agent reached the Hub with
the agent's tools and without the agent.

- The publish screen lists a folder's agents as items. An agent is bundled like
  the one-step flow a run makes of it, so the scripts its tools run come along
  and its `$res:` references (provider, tools' fixed inputs) are relocated by
  the same code as a flow's. Its deploy identity and sharing switches stay here.
- Agents are synced as a set after the items (`POST /hub/agents`).
- Its demo is a conversation: "Record conversation" chats with the agent in a
  conversation of its own, one run per message, and saves each turn with its
  run (`POST /hub/projects/{slug}/agent_recording`).
- Installing a project recreates its agents after the resource stubs they
  point at.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(folders): count a folder's AI agents on their own

The Folders table counted a saved agent among the resources, so a folder built
around an agent showed nothing that said so. Agents get their own column, and
the resources count is the credentials and other resources only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(hub): hand agents to the deploy layout as the resource rows it knows

Widening the shared layout's item kind broke the workspace deploy screen, which
passes that kind on. The layout already draws an agent as a resource row it is
told about (isAgent): the publish screen now uses that, and the layout is
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* List the agents a flow or script uses in its Hub dependencies

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

* Export the read-only AI chat components from the package

The Hub renders recorded agent conversations with the same components as the
AI Sessions share page.

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

* Record only the current turn's tool calls; address review nits

- readAgentTurn reads the messages after the turn's own user message: a run
  with memory returns the whole conversation, so turn N repeated the tools of
  turns 1..N-1. Covered by a two-turn test.
- randomUUID from $lib/utils/uuid instead of crypto.randomUUID, which is
  missing on instances served over plain http.
- The record drawer's message box uses TextInput instead of a raw textarea.

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

* Ship agents' MCP servers and variables; keep background tool calls

- extractAgentRefs and rewriteAgentValue read an MCP tool's resource_path,
  which the flow walker skips, so its resource is stubbed and relocated
  instead of left pointing at the publisher's path.
- collectExportVarPaths visits agents, so a variable only an agent uses is
  relocated on retarget and gets its placeholder on install.
- readAgentTurn ignores the user messages that carry a background tool's
  result (tagged with agent_action) when finding the turn's start, so a turn
  that waits on a background tool keeps its call.
- The record buttons use unifiedSize instead of the deprecated size.

Tests for each.

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

* Ship nested MCP servers and linked agents; surface agent-list failures

- The flow walker reads, on every aiagent step or tool, the saved agent it
  links to (`agent`) and its MCP tools' `resource_path`, and the rewriter
  relocates both keeping their prefix. This covers agents nested as tools and
  flows with agent steps, not only an agent's own tools.
- A referenced `ai_agent` resource is pulled into the bundle as an agent,
  so a linked agent from another folder ships whole instead of as an empty
  stub.
- The agent list no longer swallows failures: agents sync as a full set, so
  publishing without them would have removed them from the Hub.

Tests for the nested MCP tool, the linked agent's retarget and the linked
agent from outside the folder.

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

* Walk an agent's whole value for references; harden recording

Bundling
- A saved agent is read unvalidated and its tools nest, so references are no
  longer looked up field by field. One walk over the whole value serves
  extraction, rewriting and the install check: whole-string $res: values,
  $res: tokens in rawscript content, and the shapes that name things by path
  ({type: script|flow, path}, {type: aiagent, agent}, {tool_type: mcp,
  resource_path}) wherever they sit. Covers tool_inputs, output_schema and
  any key added later.
- Inputs are read as the worker reads them: a static value is data (only
  whole-string refs count), a JavaScript expr is never resolved. Only on real
  input entries, so nothing can be hidden beside them from the install check.
- Prose holding a $res: token mid-sentence is no longer a reference.
- enabled_tools follows an MCP server to its new path.
- An agent named by a trigger is shipped whole like one an item references.

Recording
- An agent parked on an approval or a question is detected and its run
  cancelled with a clear message; closing the drawer or disposing the session
  cancels the run in flight.
- Turns no longer keep the whole run: it names who ran it and holds the agent
  as the workspace stores it. Structured-output calls are not shown as tools;
  web searches are.
- Send is disabled while saving; a failed message is handed back to retype; a
  save does not close another agent's drawer.
- The empty agent sync ignores only a 404.

Backend: agent_recording requires the recording key (null clears). OpenAPI:
agents is required in folder usage.

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

* Address review: install strips identity keys, shared transcript, one agent walk

- importAgent drops on_behalf_of, run_on_behalf_of and slack_anyone, through
  the same helper as publish: an export written through the Hub API could
  otherwise bind the agent to whoever installs it.
- The recorder draws the conversation with AgentRecordingTranscript, the AI
  chat's read-only components, so tool arguments and results are seen before
  they are saved. The component and the turns-to-messages mapping are
  exported for the Hub page to use the same ones.
- readAgentTurn moves to aiAgentResult.ts on top of parseAgentResult;
  STRUCTURED_OUTPUT_CALL has one copy.
- The flow walker hands an aiagent step's agent part to walkAgentConfig
  instead of recognising the shapes itself; comments trimmed.
- deserialize_explicit is generic.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Record an agent's demo in the agent's own chat

The record drawer embeds FlowChat as the agent page's Chat tab does (new
conversation, no sidebar), so the recorder uses the same composer, transcript,
tool cards and approval/question handling. Saving reads each answered
message off its completed run with readAgentTurn; failed or unfinished runs
are left out.

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

* Retarget imported agents onto an existing resource; recorder guards

- "Use an existing resource" now sees saved agents: each ai_agent resource
  is read, those in the project have their resource references moved
  (provider, MCP servers, tool inputs) with the run identity preserved, and
  any reference left unmoved, outside the project or unreadable keeps the
  stub. Before, the stub could be deleted under an agent still reading it.
- Closing the record drawer or disposing the session cancels the run in
  flight, which the chat stops following but does not stop.
- Saving waits for the message being answered instead of leaving it out,
  and says how many failed messages were left out.
- The recorder warns when the agent keeps no managed memory.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Move enabled_tools with a reused MCP resource; cancel a late run

- rewriteAgentResourceRefs goes through rewriteAgentConfig, so the
  enabled_tools entry naming an MCP server follows it when an existing
  resource replaces the stub. The worker matches names exactly and dropped
  the server otherwise.
- A run whose id comes back after the record drawer closed is cancelled:
  it was not tracked yet when the close looked for a run to stop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 16:37:39 +01:00
GuilhemandClaude Opus 5.5 1d38a6bd25 feat: outline an expanded subflow on hover and selection (#12560)
* feat: outline an expanded subflow on hover and selection in the flow graph

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

* fix: keep subflow layout linear when nested and below reserved head space

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

* fix: recognise expanded subflows by node type, not by id suffix

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:33:10 +01:00
fb13514e50 fix: retries, subflow error handlers and empty branches in the run graph (#12511)
* fix: show retries, subflow error handlers and empty branches in the run graph

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

* fix: keep stale and preprocessor retries off other steps, show empty-branch note only on success

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

* fix: list retry attempts in the graph node panel, align approval page with brand guidelines

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

* fix: isolate retry attempt viewers and mount one list per view

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

* fix: give retry attempt viewers their own loop selection scope

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

* fix: mark a denied or timed-out approval on its own step in the run graph

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

* fix: show a recovered subflow as the failed step its parent records

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

* fix: hang the error handler of a denied approval from the approval step

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

* fix: pick a retried step's attempt on the graph, as a loop's iteration

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

* fix: clear a subflow's step states when switching attempts, keep the retry line for the preprocessor and error handler

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

* feat: one step settings bar with the attempt picker in its menu

* fix: keep a nested attempt pick, open loop and branch settings from the bar

* feat: show how many steps were retried inside a collapsed subflow

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

* feat: expand a subflow from its retried-inside line

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

* fix: use the design-system button for the retried-inside line

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guilhem Lemouel <guilhemlemouel@gmail.com>
2026-11-20 13:58:42 +01:00
Ruben FiszelandClaude Opus 5.5 7f5bdee834 feat: let a subflow step override its worker tag (#12556)
* 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>
2026-11-20 13:57:49 +01:00
GuilhemandClaude Opus 5.5 775c371737 feat: show selection actions in the flow canvas right-click menu (#12561)
* feat: show selection actions in the flow canvas right-click menu

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

* fix: keep the flow canvas right-click menu inside the canvas

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:57:28 +01:00
Ruben FiszelandClaude Opus 5.5 67b1f15a63 chore: bump windmill-parser-wasm-ts and -csharp to 1.880.1 (#12565)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:46:16 +01:00
8ee2a7e500 fix: list running jobs in the inputs history of an older script version (#12493)
* fix: list running jobs in the inputs history of an older script version

On an older version of a script the Inputs library is keyed by the HEAD
hash, and the "currently running" list filtered jobs by that hash as a
path, so it never showed a running job. List running jobs by the script
or flow path instead, as on the latest version's page.

* refactor: reuse runsPath for the running jobs path

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 12:07:10 +01:00
Ruben FiszelandClaude Opus 5.5 554cfd0620 chore: remove the akeyless icon, the hub ships no akeyless type (#12564)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:02:47 +01:00
Ruben FiszelandClaude Opus 5.5 8dc728ec99 show workspace fairness settings and events only when relevant (#12562)
* feat: show workspace fairness settings and events only when they can matter

The three fairness tuning settings show only while workspace fairness is on,
and the Queues drawer's fairness events section hides when fairness is off and
there is no history to look back on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

* fix: keep the fairness events section hidden while its events load when fairness is off

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:07:42 +01:00
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
Ruben FiszelandClaude Opus 5.5 d23f4d46bb perf: keep only the open session's column off the sessions route (#12558)
* fix: re-read AI visibility and protection rules on return to sessions

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

* perf: keep only the open session's column off the sessions route

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

* fix: drop protection reads superseded by a refresh

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:59:54 +01:00
Ruben FiszelandClaude Opus 5.5 b08a2aada1 show the fairness reserve toggle only when it can matter (#12557)
* feat: show the fairness reserve toggle only when workspace fairness is on or the group is a reserve

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

* fix: drop the fairness-off warning once the reserve is switched off in the drawer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjsYvvJe56H5vnK7jXVvAp

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:07:44 +01:00
Ruben Fiszel 666f3e5577 fix: send null for untouched nullable inputs in run forms (#12553)
* fix: send null for untouched nullable inputs in run forms

* fix: fill nullable defaults only in forms submitted as run args

* fix: keep the nullable opt-out through nested object forms
2026-11-20 08:42:58 +01:00
Ruben Fiszelandrubenfiszel 66262f364a chore(main): release 1.880.1 (#12552)
* chore(main): release 1.880.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 23:04:58 +01:00
Ruben Fiszel cb824de928 fix: make the mssql database manager work under case-sensitive collations (#12550) 2026-11-19 23:00:24 +01:00
Ruben Fiszelandrubenfiszel b40552c5f4 chore(main): release 1.880.0 (#12548)
* chore(main): release 1.880.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 19:24:46 +01:00
Ruben Fiszelandwindmill-internal-app[bot] 5583c680d4 feat: record and download a worker group's autoscaling decisions (#12542)
* feat: record and download a worker group's autoscaling decisions

* fix: count decisions without fetching them and show the controls to devops only

* chore: update ee-repo-ref to cac1d382a7c22e8a4e9c56832ad12d11de5bba7f

This commit updates the EE repository reference after PR #999 was merged in windmill-ee-private.

Previous ee-repo-ref: e2232bda0cea3c1abcdac88140f48f6c7d90d15d

New ee-repo-ref: cac1d382a7c22e8a4e9c56832ad12d11de5bba7f

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-19 18:33:57 +01:00
7fa093f7d4 fix: keep the AI sessions view mounted across navigation (#12479)
* fix: keep the AI sessions view mounted across navigation

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

* perf: skip layout of the hidden sessions view off route

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

* fix: stop the page header flipping between two breadcrumb stages

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-19 16:59:23 +01:00
Ruben Fiszelandrubenfiszel 87c9d0d1fe chore(main): release 1.879.0 (#12541)
* chore(main): release 1.879.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 15:37:43 +01:00
GuilhemandClaude Opus 5.5 5bf5ff28bc fix: stop hidden session preview tabs from acting on keys (#12531)
* fix: stop hidden session preview tabs from acting on keys

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

* fix: type HostWindow key handlers as window keyboard handlers

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:21:51 +01:00
Tristan TRandClaude Opus 5.5 3591598d03 feat(home): link each primitive's explainer video in the New picker (#12536)
* feat(home): link each primitive's explainer video in the New picker

The description panel of Script, Flow, App (full-code), AI agent and Data
pipelines shows a thumbnail of its short "What is a …?" video, opened on
YouTube in a new tab.

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

* feat(home): larger explainer thumbnail with a YouTube label

The card shows the video's full-resolution thumbnail at 15rem wide and a
"2 min explainer · Watch on YouTube" line with the YouTube logo.

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

* feat(home): play the explainer in an in-app dialog

The card is smaller (11rem) and opens the video in a modal with the
youtube-nocookie player, autoplaying and allowed to go fullscreen, so
watching it does not leave Windmill. The menu closes as the dialog opens.

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

* feat(home): compact explainer card with the video's title

A small thumbnail next to the video's title and "In 2 minutes"; clicking it
still plays the video in the in-app dialog.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:21:24 +01:00
GuilhemandClaude Opus 5.5 a89886c46a fix: keep the first undo after a redo in the flow editor (#12537)
* fix: keep the first undo after a redo in the flow editor

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

* fix: keep a renamed input in place when the schema has no order

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:19:45 +01:00
Ruben Fiszelandrubenfiszel c3393bdef2 chore(main): release 1.878.0 (#12530)
* chore(main): release 1.878.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2026-11-19 11:42:54 +01:00
c11123db37 fix: preserve object-store config when switching storage tabs (#9696)
* fix: preserve object-store config when switching storage tabs

In the instance object-store settings, the storage-type tabs (S3 / Azure /
AWS OIDC / GCS) rebuilt the config as a fresh empty object on every switch.
So switching S3 -> Azure -> S3 returned a blank S3 config, and because the
config is two-way bound into the instance settings, saving then persisted
the empty value, clearing a configured bucket (#6611).

Cache each storage type's config and restore it on tab switch (or fall back
to a default on first visit), so toggling tabs no longer discards entered or
loaded values.

Addresses #6611

* fix: drop the issue reference from the object store tab cache comment

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

* fix: reset the object store tab cache when the store is turned off

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-19 11:21:11 +01:00
f3b31b18f5 fix(api): type /scripts/list response as ListableScript (#9577)
* 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>
2026-11-19 11:20:49 +01:00
2ceeff3e9c fix: enable DynSelect fields in the schedule editor (#9718)
* fix: enable DynSelect fields in the schedule editor

Scheduling a script or flow that has a dynselect/dynmultiselect field showed
"Dynamic input (dynselect) is not available in this mode, write value
directly" instead of the options dropdown.

DynamicInput renders the dynamic <Select> only when given a `helperScript`
(the script that resolves the options). RunForm passes it; the schedule
editor's SchemaForm did not, so the field always fell back to manual entry.

Pass `helperScript` from the scheduled runnable (mirroring RunForm) so the
options load in the schedule editor too.

Addresses #7151

* fix: restore dropped </Tooltip> in retries section

Amend the previous commit's transcription drop of the closing Tooltip tag in
the retries-handler header snippet.

* fix: build the schedule editor's dynselect helper from its runnable path

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-19 11:18:09 +01:00
089808f627 add Akeyless resource type icon (#9604)
* feat(frontend): add Akeyless resource type icon

Register the Akeyless mark for the community akeyless Hub resource type.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: format the Akeyless icon and give it a square viewBox

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:11:34 +01:00
2b8a0790a0 fix: put a saved input's name back when its rename is cancelled (#12483)
* fix: put a saved input's name back when its rename is cancelled

The rename field in the Saved Inputs list is bound to the listed input
itself. Pressing Escape, or opening the rename of another input, ended
the edit without saving but left the typed text as the input's name, so
the list showed a name the server never stored until the page was
reloaded. Remember the name when the edit starts and restore it when the
edit is cancelled; saving with Enter or the pencil button is unchanged.

* fix: keep a saved input's new name when Escape is pressed during its save

* fix: keep a saved input's name while its rename is saving, and keep another row's rename open

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

* fix: let a rename save close only the rename session it was started from

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:03:07 +01:00
1fa8fd0c94 feat: show how many resources use each resource type (#12512)
* feat: show how many resources use each resource type

The Resource Types tab gets a Resources column, filled from the existing
listResourceCountsByType endpoint. The counts load with the Workspace list, so
adding, deleting or restoring a resource updates them too.

* fix: load resource type counts without blocking the resource list

* fix: show '-' instead of 0 when the resource counts could not be loaded

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

* fix: clear the resource counts when the workspace changes

* fix: load the resource counts only on workspace load and after a change, not on every filter change

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-19 10:01:27 +01:00
905a92ab32 fix(frontend): download a large file result as its file, not as JSON (#12507)
* fix(frontend): download a large file result as its file, not as JSON

A result over the backend's inline size cap reaches the result viewer as
'WINDMILL_TOO_BIG', so a big { file: { content, filename } } result fell
through to the generic "Download as JSON" link and saved result.json.
Fetch just file.filename through json_path to recognise it, and decode
file.content into the named file when the user downloads it.

Fixes #6287

* fix(frontend): handle a top-level file result and save large files via a blob

A file result is either { file, filename } or { file: { content, filename } }.
Look up the name at `filename` first and fall back to `file.filename`, and
read the content from `file` for both shapes.

Download through an object URL instead of a data: URL, which browsers cap
below a large file's size. The blob download is shared with downloadViaClient.

* fix: offer a large result's file only when the result has one, and keep the JSON download

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

* fix: read a large result's root file only on download, and decode it without a per-character array

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

* fix: offer a large result's file only for the nested shape, and report a failed download response

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-19 09:59:40 +01:00
GuilhemandClaude Opus 5.5 0c18bdc825 feat: adapt workspace settings to narrow layouts (#12492)
* feat: adapt workspace settings to narrow layouts

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

* fix: keep a section mounted across the narrow breakpoint and use the full picker in a session preview

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

* feat: list workspace settings sections in the session tab picker

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

* fix: highlight aliased settings tabs and keep settings searchable in the picker

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

* fix: open the session picker on Pages when workspace settings is not the user's

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:31:07 +01:00
b9dc5f26db feat: open shared AI sessions in the app (#12486)
* feat: open shared AI sessions in the app and list the ones you opened

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

* fix: date opened shares by when the reader opened them, and navigate shared rows by keyboard

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

* fix: drop the unreachable Stop sharing on the standalone page and never offer to open a draft-only item

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

* fix: show share authors as initials and send signed-out readers of a private share to login

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

* fix: list shared sessions after show older and leave a fork session's edits unopenable

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

* fix: drop the deployed-item link when a share does not name its edits' workspace

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

* fix: block outside images in shared transcripts when rendering instead of with a page policy, so leaving a shared session no longer reloads

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

* fix: drop picture sources in shared artifacts and treat a non-member on the in-app shared page as a reader

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

* feat: open a fork session's drafts for fork members, say why a shared draft is locked, and add a menu to shared sidebar rows

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

* feat: open shared artifacts in a session-style preview panel and add sign-in to the standalone shared page

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

* fix: block outside images when a shared artifact is printed to PDF and explain locked deployed rows

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

* fix: keep mermaid off in a shared artifact's PDF and lock deployed rows for a public share's non-member reader

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

* feat: count shared session opens and removals from the reader's list

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

* chore: update ee-repo-ref to 9ffb89ad54e2ab508573f8f7779b6471b49dcb9f

This commit updates the EE repository reference after PR #992 was merged in windmill-ee-private.

Previous ee-repo-ref: 6b1f4121b94920baba7234be2ed3cc9e5678722b

New ee-repo-ref: 9ffb89ad54e2ab508573f8f7779b6471b49dcb9f

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>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-18 23:29:52 +01:00
AlexRV12 306f38dd04 feat: offer the hub to compose roles that have code (#12518) 2026-11-18 23:14:15 +01:00
Adrien Vermersch 64e6142277 fix(frontend): sync eval drawer open state (#10333) 2026-11-18 23:08:31 +01:00
Daniel GomezandClaude Opus 4.8 b56bb252a9 fix(frontend): make run-page flow graph scrollable (#3830) (#9607)
On the run page the flow graph is rendered without a maxHeight, so its
height grows to the full content height. The wrapper used overflow-clip
and was itself capped by max-h-screen, so once the graph was taller than
the viewport the overflow was clipped with no way to reach the lower
nodes.

Switch the wrapper to overflow-y-auto overflow-x-clip so a vertical
scrollbar appears only when the content overflows. The flow editor passes
maxHeight equal to its container, so its graph never overflows and is
unaffected.

Fixes #3830

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-11-18 23:06:34 +01:00
Ruben FiszelandClaude Opus 5.5 71e7d9e440 feat: show a flow's continue-on-error failures on its run and status (#12525)
* feat: show a flow's continue-on-error failures on its run and status

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

* fix: record continued failures after the flow's row and render jobless ones as text

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

* fix: keep the share link's view token on failed-step links

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:53:19 +01:00
91de7252b8 feat: label for-loop iterations with a per-iteration expression (#12526)
* 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>
2026-11-18 22:45:59 +01:00