mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-28 08:06:16 +00:00
image-generation-script-two-issues
1256
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
43ea95000d |
feat: list each image of a large result with its own preview
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6a0283a950 |
feat: rerun only the failed iterations of a parallel for-loop or branch-all (#12590)
* 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> |
||
|
|
1683b80185 |
fix: scope app dependency relock to the job's workspace (#12644)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
304f912183 |
feat: alert on same-tag wait deadlocks and fail the waiting parent (#12613)
* feat: alert on same-tag wait deadlocks and fail the waiting parent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: fail a deadlocked wait only when every holder is waiting on it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: count a parent as waiting only when its sdk wait says so Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * perf: monitor only checks open tag deadlock alerts for recovery Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(rust-client): pass wait_for_child from wait_job Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * perf: reach a parent's stuck child through its waiting mark Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ade2a55e86 |
feat: let the workspace error handler skip jobs started from the UI (#12624)
* 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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
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>
|
||
|
|
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> |
||
|
|
98439f8521 |
feat: test flows from the SDKs with mocked or replaced steps, subflows included (#12538)
* 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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
a718720fd6 |
fix: let non-admins read an admin-approved GitHub App repository (#12524)
* fix: let non-admins read an admin-approved GitHub App repository An admin's save of an app-backed git_repository resource records the url it resolves to in github_app_repo_approval. Non-admins who can read the resource are then served that repository through the installation, by repo_archive and git_commit_hash, until the url (or a $var: it names) changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep the approved repository url on the resource row A path-keyed approval table outlived its resource through every writer that moves or deletes resources by path (username rename, offboarding, deletes), so a new resource at a freed path could inherit an approval. On the row, it follows renames and dies with the resource. Also: an unresolvable $var: no longer fails an admin's save, and the admin-or-not caller reuses GitRemoteCaller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: record the approved repository after the write commits Resolving a $var: url takes a second pool connection and maybe a secret backend, which must not be held under the write's row lock. The update applies only while the row still holds the url the admin saved, and an admin save that names no app-backed repository clears the approval. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: point the EE ref at the GitHub App approval branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep approvals in a side table and approve only literal urls The approval moves from a resource column to github_app_repo_approval, whose FK cascades on resource renames and deletes like resource_version. It is now written in the admin's write transaction, from the saved row, so it commits with the value it approves and a delayed approval can no longer undo a later revocation. Only a save that carries the value, and only a literal url, is approved: a $var: resolves to whatever its owner sets, which the admin never saw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 2d094f0018c2474cbc47f2e6e81f7d53e158f87d This commit updates the EE repository reference after PR #993 was merged in windmill-ee-private. Previous ee-repo-ref: 2080e6f837108b6a3c0439b96257df66583cc487 New ee-repo-ref: 2d094f0018c2474cbc47f2e6e81f7d53e158f87d 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> |
||
|
|
dd9f633764 |
fix: read agent tool inputs from the flow running the agent step (#12457)
* fix: read flow_input and results of the subflow in agent tool inputs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: resolve the owning flow for nested agent tool inputs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep nested agent output out of the chat conversation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: give a first-step agent its flow's args as previous_result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: read flow_user_state of the run in nested agent tool inputs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: pin first-step previous_result and nested flow_user_state for agent tools Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9724f3bdf0 |
feat: fairness-aware queue alerts and a capped-workspace alert (#12432)
* feat: fairness-aware queue alerts and a capped-workspace alert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvtgPD3rvKDd8155bTZ * fix: scope queue alert exclusion per tag, pin the EE companion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvtgPD3rvKDd8155bTZ * fix: count only jobs holding a worker in the queue alert exclusion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvtgPD3rvKDd8155bTZ * fix: drop fairness state when off, remove orphaned query cache entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvtgPD3rvKDd8155bTZ * chore: update ee-repo-ref to ff4169005ce8bf08f5dc8625c8e55ac70dd0db50 This commit updates the EE repository reference after PR #985 was merged in windmill-ee-private. Previous ee-repo-ref: ab0b2f2a1d898dabc6571fd81d3014f1ca4ad2f6 New ee-repo-ref: ff4169005ce8bf08f5dc8625c8e55ac70dd0db50 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> |
||
|
|
792e66a30a |
feat: one turn per memory id, a new message takes over a parked turn (#11831)
* feat(ai-agent): background tools that wake the agent when they finish Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ai-agent): run a tool in the background after a delay Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ai-agent): one running turn per memory id, take over, keep history on stop Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ai-agent): claim the memory id of an app's agent run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ai-agent): claim an app run's memory id after its conversation check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(ai-agent): date the memory turn migration after main's Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ai-agent): a new run takes over a parked turn of its memory id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(flow-chat): send while the turn is parked Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(ai-agent): a parked turn hands its memory id over Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(flow-chat): let the server decide whether a turn is parked Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(ai-agent): memory turn queries as sqlx macros Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(ai-agent): park and background tool queries as sqlx macros Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(flow-chat): show background tool calls as one running card, no typing dots while waiting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ai-agent): hand a turn over only from a run's last agent step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat-sdk): Stop cancels a message still sent over a running turn Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(flow-chat): say when a call moved to the background and when results came back Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat-sdk): one message over a running turn at a time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(flow-chat): one card per background call, without the model's note as its result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(flow-chat): a background result streamed in early still folds its row into the call's card Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(flow-chat): queue a message over a working turn without asking the server, send it once the turn waits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(ai-agent): a handed-over background job follows its new turn's cancel; retry a send refused just before a park Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(flow-chat): a stopped background call stays finished in later turns, and a late row read keeps a streamed result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): a hand-over keeps the old turn's background calls open even after their rows were read Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): a late background row keeps a streamed failure failed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(ai-agent): say the agent waits once its memory is saved; cancel handed jobs no turn adopted instead of re-parenting them early Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(ai-agent): cancel unadopted handed jobs with their descendants; a handed-over turn stopped mid-resume saves no memory Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): no other send while one sent over a turn waits, even once that turn ended Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * chore: restore sqlx cache entries the main merge dropped Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): a background result row stays with its own call when the tool is called again; drop stale sqlx entries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev> |
||
|
|
10a8577fab |
feat: background tools for ai agent steps (#11827)
* feat(ai-agent): background tools that wake the agent when they finish Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ai-agent): run a tool in the background after a delay Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(ai-agent): park and background tool queries as sqlx macros Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(flow-chat): show background tool calls as one running card, no typing dots while waiting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(flow-chat): say when a call moved to the background and when results came back Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(flow-chat): one card per background call, without the model's note as its result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(flow-chat): a background result streamed in early still folds its row into the call's card Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(flow-chat): a stopped background call stays finished in later turns, and a late row read keeps a streamed result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): a late background row keeps a streamed failure failed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * chore: restore sqlx cache entries the main merge dropped Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF * fix(chat-sdk): a background result row stays with its own call when the tool is called again; drop stale sqlx entries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F4rzFpemqD4pqLnAp4qRqF --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
70711bec68 |
feat: mount volumes read-only without the exclusive lease (#12410)
* feat: mount volumes read-only without the exclusive lease Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3 * fix: gate lease-free volume reads on the fleet version Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3 * fix: keep held volumes counted by cache eviction, restore MIN_VERSION in tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvvmmTkuELF5qpS2Hs3 * chore: update ee-repo-ref to 38904055ab0d104006278322299bdbcea32c88d1 This commit updates the EE repository reference after PR #980 was merged in windmill-ee-private. Previous ee-repo-ref: 1fe25fa2530efdba4f8a3bf5dbfbb6f85e616ce7 New ee-repo-ref: 38904055ab0d104006278322299bdbcea32c88d1 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> |
||
|
|
6e6789a5f1 |
feat: run the git sync pull request diff check from auto-pull polling (#12360)
* feat: run the git sync pull request diff check from auto-pull polling Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: retry failed pr check claims and never overwrite a newer claim Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: retry pr check claims whose check never started and start checks detached Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: re-run the pr diff check on reopen and retarget Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: bump ee ref for the claim helper caller contract Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 5a9f39d1188f94599c5cee24b9fe4e36a578ef80 This commit updates the EE repository reference after PR #977 was merged in windmill-ee-private. Previous ee-repo-ref: 95463c1ab277c80efc16cd0c2322bf32bbaceb7c New ee-repo-ref: 5a9f39d1188f94599c5cee24b9fe4e36a578ef80 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> |
||
|
|
bd5f4d4d3d |
fix: run ci tests once a batch deploy has landed, not per item (#12369)
* 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> |
||
|
|
1583207af7 |
fix: move schedule and trigger run-as when renaming a user (#12368)
* fix: move schedule and trigger run-as principals when renaming a user Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: let kafka pending commits follow a renamed trigger path Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep group run-as when renaming a legacy group-prefixed member Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
97dedc2f10 |
fix: keep favorites when forking a workspace (#12325)
* fix: keep favorites when forking a workspace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: check the fork favorites query at compile time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
484a7699db |
feat: move a live ai session into a workspace fork with its drafts (#11602)
* feat: move a live ai session into a workspace fork with its drafts Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: guard session moves against concurrent turns and unsaved edits Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: harden the draft transfer against bound tokens, key drift and concurrent saves Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * chore: point ee-repo-ref at the moved_to_fork registration Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * chore: point ee-repo-ref at the ee branch merged with its matching main Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: re-copy drafts into a new fork and keep other tabs in step with a move - A new fork now gets the same transfer as an existing one, with replace_existing set only when this move created the fork, so a draft saved after the clone reaches the fork and an existing fork's own drafts still go through the conflict check. - The transfer runs the operator composition check on each draft in the target workspace, the same check as a direct save there. - Editors already open on a moved item in the fork reload it from the server. - Other tabs on the session hold their composer during a move and adopt the session's new workspace when it ends. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: lock the composer during a move and copy only the locked source drafts - The tab doing a move disables its composer until the move ends, and the move checks again for a running turn once a new fork exists. - Saves still pending in editors open in an existing fork are flushed before the transfer, so they surface as conflicts instead of landing on the moved draft later. - The transfer copies, conflict-checks and removes only the source rows it locked and validated; a draft saved at a requested key after the lock is left out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: keep fork drafts with no source row and re-read the move's drafts on confirm - replace_existing deletes only the fork drafts the transfer replaces, so a draft discarded in the parent after the clone does not take the fork's copy with it. - Confirming a move lists the session's drafts again once no turn can start, and sends the user back to the dialog if the list changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: let a move be retried after its conflicts are resolved - Move stays enabled while the dialog lists conflicts; confirming re-reads them, so a draft discarded in the fork meanwhile no longer blocks it. - A dialog left open while another tab moved the session closes instead of moving from the old workspace. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: refuse to confirm a move while a turn runs A turn started while the move dialog was open owns the cross-tab hold the move would take, and the move would release it while the turn still runs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: disable moving a session again while a move runs Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: re-read the session's drafts once a new fork exists Creating the fork takes seconds, during which an edit in the session's preview can save a draft in the parent that the move's list did not have. The move now flushes and lists the drafts again before the transfer, and reopens the dialog on the created fork when they changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: keep restricted roles from creating a fork through a session move The move's fork gate checked only the workspace's forking rule. A role missing a capability would get the default role in a fork it creates, so the gate also refuses restricted roles, as the workspace picker does. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: hold the session read-only while it moves into a fork An edit in the session's preview during a move saves a draft in the workspace being left, after the move listed what it brings, at any of its awaits. The session now reads as read-only for the whole move, so the preview shows its items without an editor until the move ends. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: close only draft editors during a move, and say why Variable, resource and trigger editors save on click and write no draft, so closing them during a move protected nothing and lost a half-filled form when the move stopped. Only the editors that save drafts close, and the pipeline tab names the move instead of Use mode. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: close variable, resource and trigger editors during a move too They keep their edits as drafts like the other editors, so an edit during the move could save one in the workspace being left. Their state lives in the draft, so closing them loses nothing; they reopen in the fork. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: flush every code editor through one registry, and name the move in editor tabs - Monaco's Editor registers in pendingEditorFlush next to SimpleEditor, and the move drains that registry, so SimpleEditor buffers (step input expressions, resource and variable JSON fields) also land before it. The separate keystroke registry is gone. - A flow, script or app editor tab closed for a move says it reopens once the move ends, instead of showing the parent's viewer. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: re-point unresolvable identities in drafts a move copies into a fork Fork creation re-points an app policy or trigger in a cloned draft that names nobody in the fork at its creator, since a deploy there rejects an identity that does not resolve. The transfer copied drafts without that step, and replace_existing overwrote the clone's repaired copy. The draft half of the repoint is now shared and runs on the rows a transfer copies. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: drop script lineage a fork does not have when copying drafts into it A script draft kept its base and parent_hash on the grounds that a fork shares its parent's script hashes. That holds for what the fork cloned, but not for a version deployed in the parent afterwards, and a deploy in the fork naming it as parent is refused. The copy now keeps the lineage only when the target has that version. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test: pin that a transfer keeps script lineage the fork has Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: drain draft editors before closing them for a move Closing an editor drops an edit it has not yet handed to its draft save, so a keystroke typed just before the move could be lost. The editors are now flushed while still mounted, and closed right after with no await in between. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: hold every turn during a move, and state the repoint's contract - The chat manager refuses sends, retries and message edits while a move runs, from its first step, handing the text back. The composer was locked but a retry or an edit could still start a turn in the parent. - A move into an existing fork checks again for a running turn after saving that fork's pending edits. - repoint_unresolvable_draft_identities documents that it authorizes nothing and when its unscoped form may be used. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: refuse a move while an editor holds text that is not valid JSON That text never reaches the draft, and the move closes the editor holding it. The move now refuses before closing anything, as opening a session from a page drawer already does. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: check for invalid JSON after the editors have parsed what was flushed The JSON editors parse a flushed buffer in an effect, so the check reads the registry after a tick, as RunForm and the page drawer already do. The message says the editor is in the preview. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * perf: look script lineage up by key when copying drafts The lineage check compared a hex rendering of every script hash, which ruled out the primary key and scanned the target's script versions for each script draft, fork creation included. It now converts the draft's 16-digit hex to the bigint column, guarded so a malformed value never reaches the cast. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: stop preview input from the move's first step The editors stay mounted while the move drains them, and a keystroke typed during that drain was lost when they closed, or left in the parent of an existing fork. The preview tabs are inert from the move's first step, so nothing new reaches an editor after the drain starts. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix: update the local draft markers for drafts a move transfers The transfer bypasses the syncer that keeps localDraftHints, and lists prefer a hint over the server's flag, so the parent kept its markers after "Remove these drafts". The parent's hints are cleared for removed drafts and the fork's set for copied ones. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat: move a session to any workspace of its family A session could only move into a direct fork of its workspace. The picker now lists the whole family and lets a new fork be based on any of its workspaces, and /drafts/transfer accepts any target with the same root. A fork the move creates from elsewhere holds that base's drafts, so its drafts are never replaced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: gate fork creation in the move picker on the fork capability Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: refuse to move a pipeline draft based on a version the target lacks A pipeline node deploys with its script hash as parent_hash, so a move to a workspace without that version left a draft whose Deploy all fails there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: check the move's token against the target by re-authenticating it The transfer endpoint looked the caller's token up in the `token` table, so an external-JWT login, which has no row there, could never move a session. It now resolves the same token against the target workspace, which refuses a token bound to the source whatever its kind, and still refuses job tokens. Also stop calling the move target a fork in the model note, the menu item, the editor placeholders and the moving notices: it can be the root or a sibling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: check a move's writes with the rights its token carries in the target The transfer re-authenticated the token against the target but then checked writes with the user's database membership there, so a JWT whose claims are narrower than that membership could copy a draft to a path it cannot save to directly. The identity the re-authentication returns is now the one the checks and the copy use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep an unsent session out of the move after main's session refactor An unsent session holds its workspace in `pending_workspace_id`, which `createSession` rewrites when it reuses the blank session; moving it set `workspace_id`, so a later new session from the old workspace acted on the fork. The move menu item is hidden until the session has a `workspace_id`. The transfer test's JWT claims also set main's new `mcp_client` field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: move the drafts a session's user edited by hand The move's draft list read only the chats' `modifiedItems`, so a draft the user edited in a session tab, which main now records in `sessionHandEdits` and the Changes bar counts, stayed behind in the workspace left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep raw app edits and report draft races on session move Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: offer to move the session when switching fork in the breadcrumb Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: pass the optional don't move handler through onClick Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 3ad072124c3682e282829dd7213e42a6e28cf1fa This commit updates the EE repository reference after PR #856 was merged in windmill-ee-private. Previous ee-repo-ref: 90af10fe72bfcb981abaa119239a63d085030215 New ee-repo-ref: 3ad072124c3682e282829dd7213e42a6e28cf1fa Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> |
||
|
|
9d9875cf0e |
fix: treat skipped jobs as successful in result and wait paths (#12340)
* fix: treat skipped jobs as successful in result_maybe, run-and-wait, AI tools and Slack agents Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: return is_skipped from get_result_maybe Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a9f5a9caa0 |
feat: gate public apps on cloud plans and unpublish them on archive (#12321)
* feat: require a paid plan for public apps on Windmill Cloud On the shared cloud, refuse any app deploy that leaves the app public (execution_mode anonymous) unless the workspace's billing root is premium: creating one, switching to public, and redeploying an app that is already public. Switching away from public stays allowed; serving is unchanged. The app access UI disables Public and links to the upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: word the public-app notice for undeployed apps and test switching to public Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: read the app workspace's own plan for the public option Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: make a workspace's public apps private when it is archived Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: archive public apps to publisher mode, not viewer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: use publisher as the non-public mode Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e3ff8bee3d |
fix: never break running flows when their flow is deleted (#12306)
* fix: report the real error when a flow's stored version cannot be loaded A flow step that completes on a worker without the flow version cached looked it up, failed (e.g. the flow was deleted, cascading its versions), then fell back to the preview path, whose 'Job isn't a flow job' error replaced the real one. Keep the stored lookup's error when the job has no inline flow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a flow's nodes when it is renamed Renaming a flow moved its versions to the new path but left its flow nodes on the old one, so deleting the old flow row cascaded them away. Runs in flight inside a loop or branch then failed loading their body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a deleted flow's versions until its runs are done Deleting a flow cascaded its flow_version and flow_node rows away, so runs in flight failed at their next step. The cascade is dropped; the rows are purged when the flow leaves the trash, unless a run of it is still queued, in which case they are kept. Workspace deletion deletes them explicitly, and the version history only lists the current flow's versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: scope moves, reads and the purge to a flow's own versions A deleted flow's versions now survive at its path, so rename, user rename, offboarding, fork cloning, version reads, history and the trash purge only act on the ids the live flow lists. Renames skip nodes already present at the destination with the same content, nodes are no longer purged (they are shared by content and referenced by id), and dependency relocks skip flows that no longer exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: resolve a flow's latest version among the live flow's own The relock checks and the dependents trigger picked the newest version at the path, which can now be a deleted flow's. Restore the shared query's cache entry under its new text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: set a deleted flow's versions aside instead of scoping every lookup Deleting a flow moves its versions to __deleted/<trash id>; restoring moves them back. Jobs load versions by id so runs in flight keep working, while every lookup by path (history, relocks, versioned runs, renames) stops seeing a deleted flow without special-casing. The purge keeps a set-aside version any queued job references by id, whatever path or kind it was queued under. The per-lookup scoping is reverted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style: rustfmt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: set versions aside only after an authorized delete, find flow_env by id Row-level security can let a caller read a flow it may not delete; the delete then removes nothing and must not trash it or move its versions. fetch_root_flow_env matched a run's version by path too, so runs of a deleted (or renamed) flow lost their inherited flow_env: match by id for the kinds whose runnable_id is a flow version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: state the authorization contract of the version set-aside helpers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * perf: read the queue once when purging a deleted flow's versions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: serialize flow version writes with a concurrent flow delete Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: make the relock copy wait for a concurrent flow rename Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3bf486415b |
fix: keep flow nodes on rename and stop masking flow load errors (#12303)
* fix: report the real error when a flow's stored version cannot be loaded A flow step that completes on a worker without the flow version cached looked it up, failed (e.g. the flow was deleted, cascading its versions), then fell back to the preview path, whose 'Job isn't a flow job' error replaced the real one. Keep the stored lookup's error when the job has no inline flow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a flow's nodes when it is renamed Renaming a flow moved its versions to the new path but left its flow nodes on the old one, so deleting the old flow row cascaded them away. Runs in flight inside a loop or branch then failed loading their body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6f04292ea7 |
feat: let integration triggers use any connection of their type (#11968)
* feat: let integration triggers act through any connection of their type Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a connected resource intact when an integration trigger reconnects it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: pin the ee companion branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: refresh the sqlx cache after merging main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: leave a resource connected from Resources to Resources Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: name integration triggers in the breadcrumb and the remaining copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to effb55d778943537b96a9b0af26c2e24ca8b4686 This commit updates the EE repository reference after PR #916 was merged in windmill-ee-private. Previous ee-repo-ref: 1dfdc11380b866b976f83efe4d0c5203d5e83ccf New ee-repo-ref: effb55d778943537b96a9b0af26c2e24ca8b4686 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> |
||
|
|
0c87c651f4 |
fix: revoke MCP OAuth grants when their token or user goes away (#12282)
* fix: revoke an MCP OAuth refresh grant when its access token is deleted Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: lock the access token before the refresh grant, evict expired mcp tokens Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: revoke all MCP OAuth grants when a user is disabled, deleted or removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: take the mcp grant lock before writing a user's tokens Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: lock the user's password row as the mcp grant lock Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: revoke tokens before grants, lock the account before the membership Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 968437f1f4e912b26b828f88f41dfcfa9bfac6f5 This commit updates the EE repository reference after PR #969 was merged in windmill-ee-private. Previous ee-repo-ref: 65642604e613c7c71cbb74c4f7a38589ac943ed3 New ee-repo-ref: 968437f1f4e912b26b828f88f41dfcfa9bfac6f5 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> |
||
|
|
04230c286d |
feat: reload dedicated workers in place and restart them one at a time (#12208)
* feat: reload dedicated workers in place and restart them one at a time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: reload dedicated importers on deploy, refresh python imports, count native readiness Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: count a native dedicated worker as started once its isolate is ready Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: explain staggered restarts in the dedicated worker group config Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: state when dedicated deploys restart workers in the group config copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: shorten the dedicated worker group restart copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: warn about staggered restarts when applying a dedicated group config Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show the staggered restart note only for groups with several workers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: say when a dedicated deploy restarts workers in the group config note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: clarify when dedicated deploys restart workers and tighten the dedicated tab spacing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep only the supervisor note in the dedicated tab Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: word the staggered restart alert in terms of workers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: use checked sqlx macros for the dedicated restart turn queries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: list what restarts dedicated workers in a tooltip on the group config Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: simplify the dedicated deploy restart bullet Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 51a806ae14dcca95ca2221a9f5cc6434ed755bca This commit updates the EE repository reference after PR #950 was merged in windmill-ee-private. Previous ee-repo-ref: ce1eba465e5891bab71173c06723a1a6cbd2d869 New ee-repo-ref: 51a806ae14dcca95ca2221a9f5cc6434ed755bca 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> |
||
|
|
836440280e | fix: move azure triggers when a script or flow is renamed (#12297) | ||
|
|
caf0d67563 |
feat: track failed job rates per worker (24h, last 100, lifetime) (#12275)
* feat: track failed job rates per worker over 24h, last 100 jobs and lifetime Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: count pre-execution failures and skip pre-canceled jobs in worker stats Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: persist worker job stats after the result processor drains Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: report an agent's failed init script in its job stats, document what is counted Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show one failure rate per worker row, the other windows in its tooltip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show worker failure rate as a bar under jobs ran instead of a column Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show group failure rate as a bar on the active workers line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: align the group failure label on the active workers baseline Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show the group's jobs ran count next to its failure bar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2516d3fca2 |
fix: apply preserve_step_tags to steps of untagged subflows (#12278)
* fix: apply a flow's preserve_step_tags to steps of its untagged subflows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: settle enclosing preserve_step_tags once per push and for agent tools Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: stop at subflows that declare their own tag when inheriting preserve_step_tags Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: walk preserve_step_tags from the flow's own tag and skip default flow tags Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8a53808622 |
fix: never relock a codebase script into a version without its bundle (#12271)
* fix: never relock a codebase script into a version without its bundle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: say which layer keeps codebase scripts from being relocked Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a plain redeploy's importer rows when fan-out cleanup races it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: leave a codebase importer's rows alone in the relock fan-out Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e6072c08d1 |
feat: opt-in superadmin access for MCP tokens, same on both mint paths (#12263)
* feat: opt-in superadmin access for MCP tokens, same on OAuth and token paths Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep MCP superadmin access opt-in across approvals and promotions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: place the MCP superadmin rights toggle under access with a visible hint Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: put superadmin rights above the tool list, on by default for a locked non-member workspace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: explain MCP superadmin rights in the toggle tooltip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: say why the MCP workspace picker lists only memberships for a superadmin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8cdb3425a2 |
feat: admit concurrency-limited jobs in order by default, per tag and priority (#12241)
* feat: admit concurrency-limited jobs in order behind an instance setting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: never refuse admission to a job that already holds a slot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: state the backlog cost and ignored priority in the setting description Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep the ordering helpers crate-private with a trusted-caller contract Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: refill every free slot from the front of the line in order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: give each in-order wake helper its own doc comment Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: name time windows among the jobs that hold back the line in order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * perf: read a concurrency key's line from an index in order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: take a job's place in line when it is first pulled, not when queued Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: pin the slot-holder exemption and describe the ordering guarantee precisely Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: order a concurrency key's jobs per tag, by priority then place Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: describe in-order lines per tag and priority in the setting Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: let a job just woken fill its slot instead of waking past it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: read only the front of each line when waking in order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: admit concurrency-limited jobs in order by default Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep in-order wake and head check bounded past canceled waiters Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: never let a job gone from the queue hold a concurrency line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: delete the concurrency key of a job removed without running Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a finished job's ended concurrency key when deleting jobs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvw1LYaHBvj7gVXedY2 * fix: skip rows locked elsewhere when waking in order, which could deadlock Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PjsYvw1LYaHBvj7gVXedY2 * chore: update ee-repo-ref to 0443bfec5d1ff9971133ea41b67ecde4c350d0e3 This commit updates the EE repository reference after PR #958 was merged in windmill-ee-private. Previous ee-repo-ref: 95df6fffef58527429697f82ee9609d64b9831c4 New ee-repo-ref: 0443bfec5d1ff9971133ea41b67ecde4c350d0e3 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> |
||
|
|
a07aef30d5 |
fix: refill every free concurrency slot on completion, at constant cost (#12261)
* perf: top up deferred concurrency jobs with a bounded index walk Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: compute the wake bounds in bigint Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: filter wake candidates before bounding the walk Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: skip the wake when the completed job is limited per time window Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * revert: wake on every completion that frees a slot, whatever its time window The completed job's window does not decide whether a waiter without one can take its slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
32e67db1c3 |
fix: load git repo resources nested deeper than three segments (#12262)
* fix: load git repo resources nested deeper than three segments * fix: refuse git repo listings that reach another resource's files * fix: refuse git repo keys whose commit directory holds another resource * fix: also refuse a git repo key whose commit directory is a resource * chore: update ee-repo-ref to 39d252f91ef375b3a19705a244ed10a32d084ba2 This commit updates the EE repository reference after PR #962 was merged in windmill-ee-private. Previous ee-repo-ref: 671ca6cc368b4392866c0e03844aba569fde9939 New ee-repo-ref: 39d252f91ef375b3a19705a244ed10a32d084ba2 Automated by sync-ee-ref workflow. --------- Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> |
||
|
|
a4ae82fd69 |
feat: optionally run trigger messages the filters cannot read (#12226)
* fix: route trigger messages the filters cannot parse to the error handler A Kafka or websocket trigger with filters silently skipped a message that was not UTF-8 or not JSON, and Kafka committed its offset, so the message was lost without a trace. Such a message now goes to the trigger's error handler (script targets) or the workspace error handler, with the raw payload and its topic/partition/offset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: take the unfilterable-message handler as a RunnableRef after merging main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep none_of semantics for non-object JSON, honour workspace handler mutes, throttle the no-handler alert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: state the caller contract of push_error_handler_with_parent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: point ee-repo-ref at the kafka companion branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: hold unparseable-message handlers of a suspended trigger, throttle them on websocket A suspended trigger now holds the handler run like its other runs, tagged with the trigger so resuming releases it. Websocket text keepalives would start a handler run per frame, so websocket caps it at one per trigger per minute; Kafka keeps one per message. A parentless handler run carries no token prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: release a held error handler run in place when resuming an edited trigger Resuming re-pushes runs held before the trigger's last edit against its target. A held error handler run would then run the target with the handler's args, so it is released in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: add run_on_filter_error to kafka and websocket triggers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: treat a truncated array as unreadable, not as a filter mismatch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 695eddf214f6a0e6cf1249ee2c20e716788f0766 This commit updates the EE repository reference after PR #954 was merged in windmill-ee-private. Previous ee-repo-ref: c8a26463f72ed76423b14e6a1aaf6376e58f2c4c New ee-repo-ref: 695eddf214f6a0e6cf1249ee2c20e716788f0766 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> |
||
|
|
3c5a5caf97 |
feat: inherited low priority for background flows and scripts (#12256)
* feat: add inherited low priority for background flows and scripts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a low flow priority over step priorities and align the -1 boundary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: note the rolling-upgrade ordering and the renamed queue index Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: order low priority by stored values instead of a coalesce index Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a runnable's own priority when its caller has none Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: do not pass a flow step's default priority on to the jobs it starts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
0ab7290f67 |
feat: let flow step mocks apply to preview runs only (#12243)
* feat: mark mocked and skipped steps in the flow run view and step logs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep the skipped badge to what the run state can tell Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: skip the mocked badge on expanded subflow steps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: keep only the step log lines for mocked and skipped steps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: let flow step mocks apply to preview runs only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: apply the test-runs pin default when pinning from the flow graph Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: choose a pin's scope from the pin and show pins where they apply Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: build the pin scope menu on the standard split button 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> |
||
|
|
afcb41b319 |
perf: wake a deferred job when a concurrency slot frees (#12257)
* perf: wake a deferred job when a concurrency slot frees Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: wake only when the completed job held a slot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: wake as many deferred jobs as there are free slots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: restore the sqlx cache entry monitor.rs still uses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 13cf6e9dd49cb160a128b993db48a7603337f29b This commit updates the EE repository reference after PR #961 was merged in windmill-ee-private. Previous ee-repo-ref: f5e98af6046bc24adb8026553c2db70c7a26c0b0 New ee-repo-ref: 13cf6e9dd49cb160a128b993db48a7603337f29b 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> |
||
|
|
cd8c4ddf0e |
count workspace webhook deliveries and configured webhooks (#12253)
* feat: count workspace webhook deliveries and configured webhooks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: list workspace_webhook in the feature telemetry registry count Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to a0bbb5a697611ed40e5ae9d5a8f8928dfd457f14 This commit updates the EE repository reference after PR #959 was merged in windmill-ee-private. Previous ee-repo-ref: cd0792fdda9d1753fe282ce05bdca286690ba827 New ee-repo-ref: a0bbb5a697611ed40e5ae9d5a8f8928dfd457f14 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> |
||
|
|
21d7c0a3f9 |
feat: filter workspace webhook events by type (#12233)
* feat: filter workspace webhook events by type Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: carry webhook_events through workspace rename and cli settings sync Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update sqlx cache for workspace rename Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: add category presets to the webhook event filter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: reject an empty webhook event list and document editWebhook's url field Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: hint when every webhook event is selected and check presets cover all types Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: make event categories the main webhook filter control Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6a1a0a3599 |
feat: flow-level wall-clock timeout (#12205)
* feat: flow-level wall-clock timeout * chore: regenerate flow schema prompts after rebase Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: claim timed-out flows before cancelling, scope the handler to the expired flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: scope the flow timeout to root flows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: drop flownode from the flow timeout sweep Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: apply a flow's timeout when it runs as a subflow step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: align subflow timeouts with script timeouts and let the ai chat set them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: give a calling step the timeout error whether or not the subflow has a failure module Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f2facc7732 |
feat: instance groups driven by the IdP groups claim without SCIM (#12186)
* feat: link instance groups to an IdP group without SCIM An instance group can now be linked to an IdP group (its `external_id`) when it is created or edited, in the API and the instance groups page: a group id or a full path such as /operators/network-team. Groups SCIM provisioned keep the id SCIM sets, and a manual edit of it is refused. With the SSO groups claim set, each SSO login then drives membership of the linked groups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: one instance groups table for both pages, linked from settings The instance groups page and the workspace groups page now share one table, create popover and drawer, matched to the design system. Only superadmins get create, edit and delete; everyone else sees them read-only, so the drawer no longer offers actions that fail for them. The IdP group field is collapsed until a group is linked, the column appears once one group is linked, and SCIM-provisioned groups carry a badge. Deleting a group asks first. The SSO groups claim and SCIM token settings link to the page, and copy that named SCIM as the only source of instance groups now covers linked IdP groups too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 96005e4f4bdcff3818eb44237eb61efaecec52a8 This commit updates the EE repository reference after PR #944 was merged in windmill-ee-private. Previous ee-repo-ref: f3dc58d7b0637b073f89ff056cc8753641614a71 New ee-repo-ref: 96005e4f4bdcff3818eb44237eb61efaecec52a8 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> |
||
|
|
766825ed47 |
feat: show what a member, group or service account can access (#12142)
* feat: show what a member, group or service account can access Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: point the EE ref at the access view usage counters Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: name groups in the access view's permission error Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: map /access to the acls scope and list each group once A token with scopes was refused before reaching the access endpoint, and a member in a workspace group and an instance group of the same name got that group twice, which broke the drawer's keyed list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: count every registered feature usage action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: read the operating workspace and user in the access view GroupEditorDrawer is reachable from a session editor, where the navigation workspace and user are the parent's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: cover a member reading their group's access Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: size the groups page loading rows like the loaded ones Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: open a group's access from the groups page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: show access as a folder tree with links to each item Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: show a group's access to superadmins who are not workspace admins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: accept instance groups as access view principals Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to c4e610999ca0d1abab06b1660cc48e486ab870b3 This commit updates the EE repository reference after PR #939 was merged in windmill-ee-private. Previous ee-repo-ref: da6bb1965702eb57237882e5fda6179f72294a06 New ee-repo-ref: c4e610999ca0d1abab06b1660cc48e486ab870b3 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> |
||
|
|
5f68eb9f44 |
count pipeline steps and daily pipeline runs in adoption stats (#12137)
* feat: count pipeline steps and daily pipeline runs in adoption stats * fix: report a retried pipeline run by its last attempt * chore: update ee-repo-ref to 9dff0e516841b64b54d7a5b50951016d45161b51 This commit updates the EE repository reference after PR #938 was merged in windmill-ee-private. Previous ee-repo-ref: 26d739296f9efd0b5b412237c9f5149e38b97054 New ee-repo-ref: 9dff0e516841b64b54d7a5b50951016d45161b51 Automated by sync-ee-ref workflow. --------- Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> |
||
|
|
6f4124e9a0 |
feat: reference existing HashiCorp Vault secrets from secret variables (#12078)
* feat: reference existing HashiCorp Vault secrets from secret variables A secret variable can hold `$external:vault://<path>#<key>` instead of a value. The reference is resolved from Vault each time the variable is read, so the value is never stored in Windmill. An instance-level allow-list of path prefixes, optionally per workspace, is checked when a reference is saved and again when it is resolved. Other schemes are parsed and refused as unsupported backends. Adds AppRole as a Vault auth method, an "External reference" toggle in the variable editor and an instance settings section for the connection and the allow-list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: point ee-repo-ref at the external secret references branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep external secret references intact on delete, deploy and export - Deleting a reference no longer runs the managed backend cleanup, which could delete the secret it points at. - Deploying a variable to another workspace copies the reference, which the target's allow-list then checks, instead of its resolved value. - A plain-secrets workspace export writes references verbatim. - Reference paths reject backslashes, `#` and control characters, which the URL parser would otherwise normalize past the allow-list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: skip external secret references in key rotation and the read cache - Workspace key rotation no longer tries to decrypt references. - `get_value?allow_cache=true` does not cache a resolved reference, so Vault rotation and allow-list changes apply on the next read. - `VaultSettings.mount_path` is optional in the OpenAPI spec, matching its serde default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: keep the OSS Vault reader stub public and regenerate workspace tool schemas Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: restrict external secret references to workspace admins and keep them out of the managed Vault storage Creating, repointing or removing a reference now takes a workspace admin, on create and update including already-encrypted pushes and cross-workspace deploys; the variable form disables the toggle and fields for anyone else. A reference into the storage of Windmill's own Vault secret backend (same address, namespace folded into the path) is refused on save and on resolve, whatever the allow-list says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: compare external secret references as written in workspace comparison Two references that currently resolve to the same value still point at different secrets, so comparing their resolved values hid a repoint from the diff and from deployment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: let external secret references reuse the Vault backend connection Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: hide the external reference toggle from non-admins unless already set Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: read whole Vault secrets, show allowed paths, and pick the variable type in one control Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: mask JSON fields only for whole Vault secrets, and skip PEM armor and JSON lines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: align the reference editor and settings warning with the form and alert guidelines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: let a saved reference become non-secret directly, and warn when no prefix is allowed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: save an empty value when a reference is switched to another type Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a saved reference's baseline through type round trips Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: drop an unused binding in the reference parser Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: offer vault reference only when a vault path is allowed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to c0fd22ba77e6618cea7611d72fe2e75c8855c595 This commit updates the EE repository reference after PR #932 was merged in windmill-ee-private. Previous ee-repo-ref: 56cba4e7771e7a87e56a67eb115549a31dd12b1a New ee-repo-ref: c0fd22ba77e6618cea7611d72fe2e75c8855c595 Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> |
||
|
|
45f256a5a1 |
feat: accept MCP access tokens from an external OIDC issuer (#12085)
* feat: accept MCP access tokens from an external OIDC issuer With the mcp_external_idp instance setting, every MCP URL also accepts an access token of an external OIDC issuer, told apart from Windmill's own by its iss. The token's OAuth client is mapped to a workspace and a selection of tools; the request acts as the existing Windmill user with the token's email, under that selection. Runs record the client in mcp_client and give it to steps as WM_MCP_CLIENT; tool calls and refusals are audited with both identities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: harden external MCP token verification Refuse ID tokens, tokens before their nbf, and emails the issuer marks unverified; let a cached signing key expire so a withdrawn key stops verifying; fall back to the token's asymmetric alg for keys published without one; reject clients configured without an issuer or with an id longer than the column recording it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: refuse deactivated accounts and untyped tokens on external MCP auth Read password.disabled, since instance deactivation has no Windmill token to revoke on this path. Without a configured audience, take only tokens typed as access tokens (at+jwt header or a Bearer typ claim), so an ID token cannot stand in for one. Require https for the issuer except on localhost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: refuse ID tokens with an audience set, parse the issuer host Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: take an external MCP token's groups for the request instead of storing them When sso_groups_claim is set, the IdP-managed instance groups of an external MCP request come from the token's claim alone, mapped through their external_id with nested paths counting for their ancestors. Nothing is written, and an absent claim means no IdP groups, so removing a user from every group revokes at the next token. Entra's overage pointer is refused rather than read as no groups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: give external MCP clients the token access levels, one card per client A client takes the same access as a Windmill token: read, read and run, build and run (the session toolset, bound to the client's workspace), or scripts and flows as tools. The settings editor reuses McpAccessPicker, one collapsible card per client. The caller's JWT carries mcp_client so runs the session toolset starts record the client too. With token groups in use, admin rights a managed group grants follow the token, and workspace groups are kept by source rather than by name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep a client's tool selection across reopening its card Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: tidy the MCP external identity provider form Show it under SSO only, shorten its description with details in a tooltip, and give its fields form labels, hints and tooltips. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: leave default claim names empty, shorten auth setting descriptions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: report an external MCP token's groups in whoami Requests and jobs started through an external MCP token act with the token's groups; whoami returned the stored memberships instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep stored roles for external MCP requests Only group memberships follow the token. Admin and superadmin roles stay as stored, kept current by SCIM and SSO login: their source is not recorded, so a group-derived demotion also stripped directly granted admins and left operator restrictions unapplied. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: record the MCP client on on-behalf-of runs and AI agent tool steps On-behalf-of runs now hand push the MCP caller, which push uses only to record the client while it fetches the run's own permissions. AI agent tool jobs read the client from job_perms, so their steps see WM_MCP_CLIENT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep the MCP client off v2_job The client is needed only while a job is queued, which job_perms covers; a finished run's client is in its audit entry. This leaves the job history table unaltered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to e9e94030cebd5afb0c8156ee46af2025bbe8778a This commit updates the EE repository reference after PR #934 was merged in windmill-ee-private. Previous ee-repo-ref: 7bdd6e8067a72e847ed0372ddc79a84f288946cf New ee-repo-ref: e9e94030cebd5afb0c8156ee46af2025bbe8778a 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> |