Commit Graph
1376 Commits
Author SHA1 Message Date
hugocasaandClaude Opus 5.5 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>
2026-11-24 22:49:48 +01:00
Ruben FiszelandClaude Opus 5.5 a8b2228753 fix: bind datatable() args as literals and read _FLOW_PATH on previews (#12638)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:42 +01:00
Ruben FiszelandClaude Opus 5.5 2df2c83313 fix: pin definer function search_path and check sql contextual vars (#12640)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:22 +01:00
Ruben FiszelandClaude Opus 5.5 a2de1979bb fix: give jailed uv lock its own cache and copy no symlinked deps (#12641)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:13 +01:00
Ruben FiszelandClaude Opus 5.5 b8e3eff2d0 refactor: set workspace env in the jail config, per-workspace deno cache (#12643)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:55 +01:00
Ruben FiszelandClaude Opus 5.5 114d68456e fix: read request bodies as plain json and keep cancel reasons literal (#12646)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:16 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-24 12:08:40 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-24 11:44:59 +01:00
shamnad-sheriefandcubic-dev-ai[bot] 7d5a09af83 fix(worker): fall back to host RAM when cgroup v2 memory.max is max (#12588)
* fix(worker): fall back to host RAM when cgroup v2 memory.max is max

* fix(worker): preserve explicit 0 in cgroup v2 memory.max

* update comment

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-11-24 09:46:53 +00:00
shamnad-sherief 3495d42f78 perf(worker): read cgroup and proc files directly instead of spawning cat (#12614) 2026-11-24 09:46:39 +00:00
Ruben FiszelandClaude Opus 5.5 4e5fc300f3 feat: add an instance setting for raw app versions to keep (#12577)
* feat: add an instance setting for full-code app versions to keep

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:24:30 +01:00
d538f2adfa fix: relax git auto-pull polling only once the webhook has delivered (#12532)
* fix: relax git auto-pull polling only once the webhook has delivered

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

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

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

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

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

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

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

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

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

Previous ee-repo-ref: 095ef5033bff64ed5b2d08c84bb0037b83449d88

New ee-repo-ref: 6c06d688fe435630e2827bc177f066d2646bb768

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 16:55:30 +01:00
Ruben FiszelandClaude Opus 5.5 7f5bdee834 feat: let a subflow step override its worker tag (#12556)
* feat: let a subflow step override its worker tag

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

* fix: route a subflow step test like the flow does and regenerate MCP session exports

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

* fix: test an untagged subflow step on its preserving parent's tag

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:57:49 +01:00
Ruben Fiszel cb824de928 fix: make the mssql database manager work under case-sensitive collations (#12550) 2026-11-19 23:00:24 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-19 14:40:33 +01:00
e24a4309d0 fix: resolve the caller's role capabilities at authentication (#12501)
* fix: resolve the caller's role capabilities at authentication

* chore: update ee-repo-ref to e4bfe4229dfd07f6c356835c2ac0e80c2729d582

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

Previous ee-repo-ref: 637d417668a1c3b4203cfedf782bd72648fdb102

New ee-repo-ref: e4bfe4229dfd07f6c356835c2ac0e80c2729d582

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-18 23:21:44 +01:00
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>
2026-11-18 22:51:17 +01:00
AlexRV12 88ef4e9f3c fix: check new hub paths when a trigger or schedule is saved (#12465) 2026-11-17 12:12:14 +01:00
hugocasaandClaude Opus 5.5 f480dcee27 chore: pin git-sync hub scripts to windmill-cli 1.875.0 (#12463)
The current scripts (30172/30173/30174) pin windmill-cli 1.862.1, which predates
the bundled minimatch, brace-expansion, yaml and fast-uri fixes from #12337.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:29:05 +01:00
5f8e0022b6 feat: fairness reserve as a worker group setting, shown on the workers page (#12435)
* feat: fairness reserve as a worker group setting, shown on the workers page

Replaces the WORKSPACE_FAIRNESS_RESERVE_WORKER env var with a
`fairness_reserve` worker group setting, toggled in the group config
editor and shown as a badge on the workers page. Workers pick it up on
config reload without restarting. A worker still started with the env
var exits with a message pointing to the setting.

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

* fix: only refuse the old reserve env var when it enabled the flag

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

* fix: warn that a fairness reserve idles when fairness is off, at startup and on enable

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

* fix: warn on enabling a fairness reserve while fairness is off

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

* feat: log feature usage for the fairness reserve toggle

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

* chore: update ee-repo-ref to 3972beb0b39a115aad0154d43558692627158b3b

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

Previous ee-repo-ref: 15a06f4c8dff6e8d8fb4cc92ce1655bb48a41b02

New ee-repo-ref: 3972beb0b39a115aad0154d43558692627158b3b

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-14 16:17:31 +01:00
Alexander PetricandClaude Opus 5.5 fffef91888 fix: keep group run-as principals when renaming a group-* member (#12409)
* fix: keep group run-as principals when renaming a group-* member

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

* refactor: assert the run-as move never receives a group principal

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 08:16:13 +01:00
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>
2026-11-14 08:13:13 +01:00
Ruben FiszelandClaude Opus 5.5 df56c111bb feat: fairness reserve workers that only serve non-overloaded workspaces (#12431)
* feat: fairness reserve workers that only serve non-overloaded workspaces

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

* fix: refuse the fairness reserve flag on agent workers

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

* fix: let reserve workers resume suspended jobs of non-overloaded workspaces

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

* fix: refresh overload state before reserve resumes, share suspended query

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

* fix: refuse reserve workers on CE builds, warn while fairness is off

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

* fix: gate the reserve flag on the enterprise feature, tidy comments

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

* docs: fairness setting comment names the enterprise gate

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:55:44 +01:00
c93a17396c feat: vertex_ai_federated resource type for workload identity federation (#12416)
* feat: Workload Identity Federation for Vertex AI resources

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

* docs: list vertex_workload_identity in feature telemetry

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

* feat: vertex_ai_federated resource type instead of fields on anthropic and googleai

A federating resource carries no key and only works where Windmill runs the
exchange, so it gets its own type: the anthropic and googleai types keep a
required key and their generated script types stay unchanged. The type implies
Vertex, and the pickers infer Claude or Gemini from its base_url publisher.

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

* fix: resolve a variable base URL, keep federated Vertex out of decisions, drop stale picks

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

* feat: point token-based Vertex AI resources at vertex_ai_federated

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

* chore: update ee-repo-ref to 458eeca8c31ba093a72eeb1ed9d82a83e18477db

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

Previous ee-repo-ref: 269785e57e681bea9be0c66ca1b8ba92b04d836a

New ee-repo-ref: 458eeca8c31ba093a72eeb1ed9d82a83e18477db

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-13 15:40:06 +01:00
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>
2026-11-13 13:21:40 +01:00
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>
2026-11-13 07:55:54 +01:00
AlexRV12 6f52126377 fix: hold a builder's hub steps to the run-time hub rule (#12401)
* fix: hold a builder's hub steps to the run-time hub rule

* fix: show the server's reason when a flow test run is refused

* fix: check each distinct hub path once when a builder saves a flow

* fix: drop an unused import from the app builder check tests
2026-11-12 19:30:01 +01:00
hugocasaandClaude Opus 5.5 73f29ba7fb refuse html and redirect job responses on free cloud workspaces (#12402)
* fix: refuse html and redirect job responses on free cloud workspaces

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

* fix: refuse download, auth and cookie headers and look up the plan lazily

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

* fix: refuse comma-listed content types and parse each result once

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

* fix: allow calendar and ndjson responses on free cloud workspaces

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

* test: cover cookie headers and document the response flag

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

* fix: name the refused key and a fix in the error and allow plain content-type headers

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:29:34 +01:00
AlexRV12 260b480df6 fix: refuse a hub path named by a member without the code capability (#12381) 2026-11-12 16:42:11 +01:00
AlexRV12andwindmill-internal-app[bot] d78bc9b026 refactor: say who chose the path wherever a job is built from one (#12358)
* refactor: say who chose the path wherever a job is built from one

* refactor: rename SavedItem to Deployed, checked when saved

* refactor: trigger pushes are deployed, test connection named by the tester

* chore: update ee-repo-ref to bf04cefe64776cb7262f041105b6ceca2953d5f4

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

Previous ee-repo-ref: 2276bc7f7f711d6ef33a5133ca87e78ae0fa345a

New ee-repo-ref: bf04cefe64776cb7262f041105b6ceca2953d5f4

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-12 07:16:25 +01:00
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>
2026-11-11 16:55:42 +01:00
df6a61c07e fix: read dedicated worker entries with the runnable parser (#12326)
* fix: read dedicated worker entries with the runnable parser

* chore: update ee-repo-ref to 1b1071ad69624a79e6eb9ceeb5d0f63c29de8167

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

Previous ee-repo-ref: e31dd26f77fb301bb075f9c0f680de7c6ef1da36

New ee-repo-ref: 1b1071ad69624a79e6eb9ceeb5d0f63c29de8167

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-10 22:58:44 +01:00
AlexRV12andwindmill-internal-app[bot] 2e422b497e fix: read the git sync callback script with the runnable parser (#12304)
* fix: read the git sync callback script with the runnable parser

* chore: update ee-repo-ref to a2e29e58a275306fa016c6675fc8e603848fb2f0

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

Previous ee-repo-ref: b5adfeec9d5154f00c05bb808c944eef8fa5e611

New ee-repo-ref: a2e29e58a275306fa016c6675fc8e603848fb2f0

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-10 10:32:46 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-10 10:23:10 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-09 22:51:39 +01:00
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>
2026-11-09 17:49:35 +01:00
e4671f7d3f feat: optional Vault AppRole secret_id setting, env var as fallback (#12276)
* feat: add an optional Vault AppRole secret_id setting

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

* fix: mask the AppRole secret_id in the instance settings YAML view

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

* fix: align secret storage panels with the form guidelines

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

* fix: use the card styles from the brand guidelines in the secret storage panels

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

* chore: update ee-repo-ref to 747a8896c7bd2490063ccfe0c0796aa14b57ab67

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

Previous ee-repo-ref: 450e839407e53540186523170127e5b17d110c5c

New ee-repo-ref: 747a8896c7bd2490063ccfe0c0796aa14b57ab67

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-09 17:45:03 +01:00
1f92c4fa44 feat: let dedicated_workers take folder patterns like ws:f/dw/* (#12268)
* 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: let dedicated_workers take folder patterns like ws:f/dw/*

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

* fix: re-save pattern groups on redeploy over an archived script, reject workspace in pattern input

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

* fix: autoscale pattern groups on matched script tags, keep legacy dedicated_worker literal

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

* docs: state who may supply entries to expand_dedicated_workers

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

* feat: show which listed scripts a folder pattern covers and how many it matches

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.

* chore: update ee-repo-ref to 276f5f5cacc259bad1dc138430ae03c53d3db43d

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

Previous ee-repo-ref: 3511c351a2fd81268d2fb1f7ca1c2ba74c3c1467

New ee-repo-ref: 276f5f5cacc259bad1dc138430ae03c53d3db43d

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-09 17:34:05 +01:00
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>
2026-11-09 17:26:54 +01:00
hugocasaandClaude Opus 5.5 e6183f5e0f fix: mint an RDS IAM token for DuckDB postgres attaches (#12260)
* fix: mint an RDS IAM token for DuckDB postgres attaches

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

* chore: drop unrelated module reorder

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

* fix: mint the token for a fork's ancestor ducklake catalogs too

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

* docs: state the caller contract of iam_auth_token

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

* fix: mask longer secrets first and skip empty ones in duckdb errors

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

* fix: mask secrets in the recorded materialization error

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:10:45 +01:00
AlexRV12 836440280e fix: move azure triggers when a script or flow is renamed (#12297) 2026-11-09 17:05:31 +01:00
AlexRV12andwindmill-internal-app[bot] a70afdea36 refactor: shared resolution helpers take a RunnableRef (#12285)
* refactor: shared resolution helpers take a RunnableRef

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

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

Previous ee-repo-ref: be7a939d7ba0ad78ebc5a47ab130f5677c5f5d8e

New ee-repo-ref: 6e0c858148b7099399be3f9a0ab81b258ca88dac

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-09 05:18:50 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-06 17:04:27 +01:00
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>
2026-11-06 10:44:57 +00:00
9dedc42b4e fix: reserve the system usernames used for jobs and audit logs (#12236)
* fix: reserve the usernames Windmill writes as job creators and audit authors

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

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

Previous ee-repo-ref: 7dfe3cce0247ec29ebfe9bc8f0771827408027c4

New ee-repo-ref: 9f8892d5f110e844937f74433ad436fe4c5233f6

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-05 23:40:38 +01:00
087e79e6ed feat: configurable SSO email and username claims (#12235)
* feat: configurable SSO email and username claims

Two instance settings next to sso_groups_claim, read by OIDC and SAML logins:
sso_email_claim and sso_username_claim (NameID means the SAML subject). A
configured claim absent from a login falls back to the protocol default, so
unset settings keep today's behaviour.

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

* chore: bump ee-repo-ref

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

* docs: say what a custom SSO email claim must be trusted for

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

* chore: update ee-repo-ref to cb6aa42ad515529506531051a3cbfa0e0867c605

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

Previous ee-repo-ref: 9f10709a6898df0682ae478955e18b9f201f4776

New ee-repo-ref: cb6aa42ad515529506531051a3cbfa0e0867c605

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-05 23:39:00 +01:00
964f1af303 feat: option to fail a run on a full concurrency key (#12215)
* feat: fail or queue on a full concurrency key, keep queue order on requeue

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

* fix: mint a flow token for pre-run step failures, accept on_concurrency_limit in ai flow settings

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

* fix: fail reserved ai tools on a full concurrency key in fail mode

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

* fix: drop ordered re-queue, keep the fail mode

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

* chore: update ee-repo-ref to 0b763cc905bb67b17728794bb52bfdf336fe25fb

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

Previous ee-repo-ref: 9e92c30589c417c5eae156b28760470ad4e86628

New ee-repo-ref: 0b763cc905bb67b17728794bb52bfdf336fe25fb

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>
2026-11-05 23:31:06 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-05 23:26:04 +01:00
AlexRV12 05d08f8444 parse app and builder-check runnables once with RunnableRef (#12249) 2026-11-05 20:04:12 +01:00
Ruben FiszelandClaude Opus 5.5 84a7672b4e fix: harden role_overrides apply from the settings document (#12255)
* fix: refuse unknown roles and stale operator_settings in settings apply

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

* fix: keep omitted-key clears when a push only removes a workspace role

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

* fix: load instance roles on the held connection in the settings document

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:03:53 +01:00