Commit Graph
626 Commits
Author SHA1 Message Date
3b860d549e fix: keep step_id, job_id, flow_path and extra on dedicated worker errors (#12417)
* fix: keep step_id, job_id, flow_path and extra on dedicated worker errors

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

* fix: add extra to python and step context to native dedicated worker errors

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

* fix: keep dedicated python worker alive on unserializable error attributes

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

* chore: update ee-repo-ref to 07883025e535974b9a01b20913f904b8f798d311

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

Previous ee-repo-ref: 129aa6a625084ea3a35d8f37bf3b825f1b2cee26

New ee-repo-ref: 07883025e535974b9a01b20913f904b8f798d311

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-13 17:36:58 +01:00
Ruben FiszelandClaude Opus 5.5 8d0eca4c9b update tarball settings export test for the encrypted webhook (#12421)
#12414 made the webhook URL a settings secret, so the v2 settings export
writes it encrypted. The test still expected it in plaintext.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 17:24:41 +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
AlexRV12 260b480df6 fix: refuse a hub path named by a member without the code capability (#12381) 2026-11-12 16:42:11 +01:00
hugocasaandClaude Opus 5.5 2994e06643 fix: hold roles that cannot run to read-only over mcp and the ai session (#12357)
* fix: hide mcp run tools from roles that cannot run

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

* fix: also hide the preview run tool and pin the unrestricted listing

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

* fix: hold mcp and chat sessions of roles that cannot run to read-only

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

* fix: lock the session mode picker for roles that cannot run

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

* fix: mark a protected workspace's lock read-only for roles that cannot run

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

* feat: warn in the mcp access picker where a workspace narrows the access

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

* fix: no narrowing warning on unedited older mcp tokens

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

* fix: no run promise in the read-only chat intro for roles that cannot run

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

* fix: re-resolve the mcp access warning once the workspace list loads

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:40:06 +01:00
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>
2026-11-12 12:42:31 +01:00
hugocasaandClaude Opus 5.5 354aa2581d fix: report a failed mcp script or flow run as a tool error (#12365)
* fix: report a failed mcp script or flow run as a tool error

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

* fix: take mcp run success from the job and cap failure text

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:41:10 +01:00
d4f9975121 fix: skip the worker's suspend_resume audit row when a rejected approval continues (#12376)
The API already records the rejection under the approver; the worker added a
second row under the flow's requester saying the step timed out.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-12 12:40:11 +01:00
Ruben FiszelandClaude Opus 5.5 e9f4636d44 feat: run AI decision steps on Gemini's Decisions API (#12370)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 07:32:28 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-12 07:27:38 +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
hugocasaandClaude Opus 5.5 0323310d64 fix(python): give folder modules an empty __path__ so relative imports resolve to workspace scripts (#12307)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 22:54:14 +01:00
AlexRV12 c1447389e5 fix: drop renamed and deleted items from Home recent list (#12317)
* fix: drop renamed and deleted items from Home recent list

* refactor: check home recent items through the runnables listing

* fix: keep the renamed item and its new summary on its Home recent card
2026-11-10 22:51:47 +01:00
hugocasaandClaude Opus 5.5 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>
2026-11-10 17:09:54 +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
Ruben FiszelandClaude Opus 5.5 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>
2026-11-06 16:40:04 +01:00
Ruben FiszelandClaude Opus 5.5 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>
2026-11-06 13:26:47 +01:00
AlexRV12 2b95c9a73e fix: parse flow step, ai tool and wac step paths on the worker (#12264) 2026-11-06 11:13:57 +00: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
Ruben FiszelandClaude Opus 5.5 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>
2026-11-06 04:51:39 +01:00
hugocasaandClaude Opus 5.5 9cd04d0a88 fix: keep the real error when a Bun script throws a cyclic error (#12232)
* fix: keep the real error when a Bun script throws a cyclic error

The Bun wrapper copies a thrown error's own properties into `extra` and
JSON-encodes the result. When one of them is cyclic (AWS SDK v3 errors'
`$response`), the encoding threw and the job error became
"cannot serialize cyclic structures". Fall back to an encoding that
replaces back-references with "[Circular]", keeping the plain encoding
first so non-cyclic errors are unchanged.

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

* fix: replace only the unencodable fields of a Bun error's extra

Encode each field of `extra` on its own when the whole error fails, and
replace the ones that throw with "[unserializable]". Simpler than walking
cycles, and drops noise like AWS's `$response` while keeping `Code` and
`$metadata`.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 23:29:19 +01:00
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>
2026-11-05 20:13:14 +00:00
71beff7438 feat: add max iterations and max duration bounds to while loops (#12245)
* feat: add max iterations and max duration bounds to while loops

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

* fix: fail exhausted while loops regardless of skip_failures and prior recovery

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

* docs: state that a while loop's duration limit can overrun by one iteration

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

* fix: let the while loop iterations field be cleared and retyped

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-05 15:15:03 +00:00
AlexRV12andwindmill-internal-app[bot] 0e9245c080 fix: parse trigger targets once with RunnableRef (#12216)
* fix: parse trigger targets once with RunnableRef

* chore: update ee-repo-ref to 496b0fc99d3980b83599a842267f3192090b4fb0

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

Previous ee-repo-ref: db5c70293ce79b88188c3c9fcae38ab316dba108

New ee-repo-ref: 496b0fc99d3980b83599a842267f3192090b4fb0

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-04 22:30:53 +01:00
6268780952 fix: stop git sync auto-pull from reverting edits with its own commit (#12209)
* fix: stop auto-pull from reverting edits with windmill's own git sync commit

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

* docs: say when should_pull skips a commit windmill pushed

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

* fix: skip the synced sha advance when a pull overlaps the push

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

* test: cover an overlapping pull from another hub version

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

* chore: pin the git sync push script to hub 30168

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

* chore: update ee-repo-ref to 30ca75f61bd354d18c9edc7fb0045f7d69480d64

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

Previous ee-repo-ref: f9427c628e2e81c6d3e16ede7e384a5bafc69a8a

New ee-repo-ref: 30ca75f61bd354d18c9edc7fb0045f7d69480d64

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-04 20:18:57 +01:00
hugocasaandClaude Opus 5.5 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>
2026-11-04 18:51:43 +01:00
AlexRV12andwindmill-internal-app[bot] 7f6251f390 fix: parse handler references once with RunnableRef (#12203)
* fix: parse handler references once with RunnableRef

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

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

Previous ee-repo-ref: bb2621c9059d51a8a2e5d097a1e7a51a4db2decc

New ee-repo-ref: 0c8882d93f3d49cb144e539378d0bc167f2b89c5

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-04 18:35:58 +01:00
Guilhem fa83659b48 feat: open shared artifacts full screen and switch between them (#12206)
* feat: open shared artifacts full screen and switch between them from the header

* fix: drop the shared artifact actions' labels when the header bar is narrow
2026-11-04 18:10:07 +01:00
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>
2026-11-03 17:41:09 +01:00
AlexRV12 67dcf145f4 fix: parse a schedule's target once, at save and when it fires (#12183) 2026-11-03 17:09:22 +01:00
Ruben FiszelandClaude Opus 5.5 1a6e5440ba feat: resolved runs on home, an easier resolve action, and load fades (#12167)
* feat: show resolved failures on home recent runs and surface the resolve action

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

* fix: read failed run ids on resolve click instead of in the polled response

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

* feat: show a loader while recent runs load for the first time

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

* fix: show a failed recent runs load and keep only the newest response

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

* feat: fade in home content that lands after an api response

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

* fix: pass each cookie through the pages preview proxy on its own

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

* fix: take an item's failed run ids from the recent runs endpoint

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 06:43:21 +01:00
d1a2c13cf2 feat: add a recently run panel to the workspace home (#12105)
* feat: one home for the workspace and AI sessions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: home's ai side opens its composer, lists sessions, previews items

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: keep a hand-off that reuses home's draft on its session page

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: address local review findings on home's ai side

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: address local review findings on home's draft routing and links

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: keep home's layout on both sides of the sidebar switch

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: drop home's continue last session row

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: scope ai session writes to the folders it works in

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: show each folder's instructions, skills and mcp servers

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: stop the breadcrumb sliding when switching sessions

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

* feat: make the sidebar switch a button row that only swaps the list

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

* feat: list ai sessions inline in the workspace sidebar

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

* feat: keep home's composer open while switching workspace

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

* feat: data stores in the data menu and a customizable sidebar

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

* feat: move folders and groups to settings and add a data section to the sidebar

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

* feat: space the sidebar's sections apart and give its rows a little more height

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

* feat: add a recently run panel to the workspace home

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

* feat: let a folder be added to the ai session context

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

* feat: mention recent runs in home's composer and list every run in the header

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

* feat: mention cards, folders and users from home's lists

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

* feat: scroll to a recent run's item in home's list and align the panel with the composer

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

* feat: open a folder's badge in its assistant settings section

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

* feat: fold home's header actions into its menu on small screens

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

* feat: hide ai sessions from assistant settings instead of unpinning home's composer

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

* chore: remove the session mode switch the sidebar no longer renders

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

* fix: scope recent runs to the token's tags and window them by when they ran

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

* fix: key recent runs by kind and path, show canceled runs and poll only while shown

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

* fix: focus the mcp badge's folder and drop +@ from cards that cannot be context

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

* fix: follow same-page chat links, restore new session on the rail and list ai chats once

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

* fix: follow a chat link whenever the panel shows another conversation

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

* fix: limit recent runs before the join, reveal by kind, gate ask ai on failing items

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

* fix: keep the danger zone from hiding ai in a staged fork's parent

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

* fix: order concurrent running runs newest first

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

* feat: let the sidebar's session list fill the space above its pinned rows

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

* refactor: drop the group data pages option and keep data as a sidebar section

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

* fix: keep home's composer open only in an empty workspace

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

* feat: tell admins without ai credentials they can also hide ai sessions

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

* fix: fold home's composer on an outside click while the sidebar is hidden

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

* feat: scroll the sidebar as one list and pin the session edit actions

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

* fix: iterate the open overlays with Array.from so the type check passes

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

* chore: move working folders and folder instructions to their own pr

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

* fix: keep a sending home draft in the workspace it was sent from

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

* feat: add working folders and folder instructions to ai sessions

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

* Apply automatic changes

* fix: keep list_workspace_items limit one cap across scoped folders

A session scoped to several folders listed each with its own limit and the
same page, so it returned up to N x limit items per type. The folders now
read as one listing, folder after folder, paged by limit.

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

* fix: build the sidebar section headers on the design-system button

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

* Revert "Apply automatic changes"

This reverts commit 58f23ffd3f: a version-bump
workflow rewrote backend/Cargo.lock while the PR still diffed against an older base.

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

* fix: keep folder instruction drafts, tell no folders from the whole workspace

- Opening another folder instruction, or the workspace or user block, parks
  the open one's unsaved text by path; reopening it restores the draft.
- The turn notice compares the scope lists themselves, so a switch to no
  folders reads "no folders" rather than "the whole workspace" or nothing.
- Folder instructions already in the WORKING IN section are no longer also
  listed as delivered on first touch.

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

* fix: keep new folder instruction drafts, widen the prompt with the scope

- A new folder instruction's unsaved body is parked like an existing one's,
  and opening "New folder instructions" again restores it.
- "Allow writes in" mid-turn rebuilds the system prompt, so the WORKING IN
  section, skills and scoped instructions follow the widened gate.
- The outOfScope comment says runs are never held.

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

* fix: key parked instruction drafts by workspace, keep the editor through a delete

- Parked drafts are keyed by workspace and path, and Escape on the list
  drops only the current workspace's.
- A delete that lands after another instruction was opened leaves that
  instruction's editor alone.

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

* fix: scope the delete's editor reset to the workspace it was made in

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

* fix: keep a new folder instruction draft per workspace

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

* fix: let parked instruction drafts not hold back a workspace's reload

Parked drafts are kept by workspace and survive a reload, so only the open
drafts wait for it. Returning to a workspace with a parked draft reloads
its own instructions instead of keeping the last workspace's.

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

* fix: park an open instruction draft under the workspace it was opened in

After a workspace switch the open editor still holds the previous
workspace's text; parking reads it from `opened`, so opening another
instruction or pressing Escape no longer drops it.

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

* fix: leave another workspace's open instruction draft alone on Escape

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

* feat: show the danger zone's hide ai sessions as an error alert

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

* chore: update ee-repo-ref to a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

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

Previous ee-repo-ref: 9084bd523e19c5de1f43568714c6aeaf6a466368

New ee-repo-ref: a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

Automated by sync-ee-ref workflow.

* chore: update ee-repo-ref to a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

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

Previous ee-repo-ref: 5aa52fcc8e32431cf6cc976186622c48dcfb9641

New ee-repo-ref: a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

Automated by sync-ee-ref workflow.

* fix: restore a parked folder instruction draft with its own path

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

* feat: flash the focused folder when assistant settings open from a badge

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

* fix: play the focused folder flash once per badge click

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

* fix: count failed runs in the recent runs header and on each item

The header counted failing items while its popover counted failed runs, so
one item with 12 failures read as "1 failing" next to "12 failed". Both
now count failed runs, and each item carries its own failed_runs over the
whole window so the total has a visible source.

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

* chore: say what the per-item failed count explains

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

* perf: bound the completions recent_runs examines and poll it every 30s

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <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-02 22:55:25 +01:00
AlexRV12 088c83e3f8 fix: parse runnable references once at the API run entry points (#12153) 2026-11-02 22:09:16 +01:00
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>
2026-10-30 20:09:09 +01:00
AlexRV12 6df5705223 fix: run Hub script trigger targets that have a retry or error handler (#12094) 2026-10-29 19:25:41 +01:00
Ruben FiszelandClaude Opus 5.5 2d9594f3f9 chore: add per-job perf profiler and docs for agents (#12089)
* chore: add per-job perf profiler and its docs

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

* chore: create perf output dir and refuse to sample with backtraces enabled

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

* chore: treat PERF_SQL=0 as off and tag reports with their mode

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:35:01 +01:00
d3869fcdb2 feat: gate guest apps by their mode and the protection rule alone (#12061)
* feat: gate guest apps by their mode and the protection rule alone

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

* fix: keep apps that admitted no guest closed on upgrade

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

* chore: update ee-repo-ref to 0605eac866b49f0de913ab41c1168b79eec31ca0

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

Previous ee-repo-ref: 1f643a1aaa697578b36d67982358299ee20af7f4

New ee-repo-ref: 0605eac866b49f0de913ab41c1168b79eec31ca0

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-10-28 13:35:44 +01:00
60d07dc0d9 fix: issue oidc tokens to a deployed flow's dynamic select (#12046)
* fix: issue oidc tokens to a deployed flow's dynamic select

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

* fix: leave dyn select previews on a dedicated worker unproven

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

* fix: match every dedicated worker tag shape in the dyn select check

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

* fix: cover hashed dedicated worker tags of long workspace ids

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

* fix: keep a flow dyn select claimed when a script or app shares its sub

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-10-28 01:28:43 +01:00
e3b4dcffbc chore: apply the untrusted-input check to trigger, resume and asset args (#12031)
* chore: apply the untrusted-input check to trigger, resume and asset args

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

* chore: apply the check to every native trigger and slack/teams commands

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

* chore: accept resume references the approver can read

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

* chore: refuse every reference in a resume payload

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

* chore: update ee-repo-ref to 5e7b1de9a07114e277a22e9e3c68b0809c06f18d

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

Previous ee-repo-ref: 15733e7ee1e8ab0efa56a429801be31fe40277e2

New ee-repo-ref: 5e7b1de9a07114e277a22e9e3c68b0809c06f18d

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-10-27 23:55:10 +01:00
hugocasaandClaude Opus 5.5 07d4f7fe61 feat: app conversations through the memory_id query parameter (#12025)
* feat: app conversations through the memory_id query parameter, chat-mode flows included

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

* chore: regenerate the mcp session instructions

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

* fix: type backendAsync's memoryId option in the eval diagnostics

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

* chore: pin git-sync hub scripts to windmill-cli 1.849.0

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

* feat: memoryId option on the sync backend call too

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

* chore: bump the ui builder artifact for the memoryId option

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

* chore: shared-utils 1.0.14

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

* chore: cli takes shared-utils 1.0.14 for the memoryId option

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

* test: pin the app conversation scoping and the memoryId signatures

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

* test: assert the ownership refusal, not any refusal

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

* test: match the memoryId option in the cli wmill.ts signature tests

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

* fix: file an app's turns as the deployed flow's conversation, preview included

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:51:35 +01:00
hugocasaandClaude Opus 5.5 a1bc9ec0c2 feat: tool approval and a question tool for ai agent steps (#11826)
* feat(ai-agent): built-in approval tool that parks the agent

An AI agent step can now be given a built-in "Request approval" tool. The model
calls `request_approval` with a message; the agent stores its conversation in
the new `ai_agent_checkpoint` table, releases its worker by parking its own
queue row like a workflow-as-code parent, and resumes with the answer (approved,
approver, comment) or a timeout once someone answers from the run page.

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

* fix(ai-agent): tie approval answers to their request and hold the turn

- A turn that asks for approval runs none of its other calls; they are refused
  so the model repeats them after the answer.
- The run page sends the request's call id. An answer naming another request is
  ignored and the agent parks again for the time left; `suspend` is zeroed when
  the answer is read, so answers sent while the agent runs are refused.
- The checkpoint is read whatever the current roster holds, the answer's
  outcome is written by position, and a cancel that beats the park completes
  the job as cancelled.

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

* fix(ai-agent): say why calls beside an invalid approval request were refused

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

* fix(ai-agent): one approval form per request, none on a finished run

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

* feat(ai-agent): answer approval requests from a flow's chat

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

* fix(ai-agent): show chat approvals for agents that do not stream

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

* feat(ai-agent): approval as a per-tool setting, built-in tool asks a question

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

* fix(ai-agent): say when a nested agent leaves out tools that require approval

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

* feat(ai-agent): show chat approvals and questions on the tool's own card

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

* feat(ai-agent): question choices, and approval buttons shared with approval steps

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

* feat(ai-agent): show a waiting agent as suspended, and refused calls as not run

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

* fix(ai-agent): each added chat card shows its own call, answered marker keyed by job

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

* test(ai-agent): approve and reject a held call through resume_suspended

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

* feat(ai-agent): require approval in a tool settings tab, plain descriptions on built-in tool panes

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

* fix(ai-agent): sentence case for the web search tool label

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

* feat(ai-agent): built-in tool drawers explain themselves in the header subtitle

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

* fix(ai-agent): clearer question tool subtitle

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

* fix(ai-agent): badge the tool settings tab like run settings

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

* chore(ai-agent): regenerate system prompts and MCP session files

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 19:22:45 +01:00
Alexander Petric 82d1076604 chore: normalize NUL escapes in job args before name-based checks (#11989) 2026-10-23 16:41:05 -07:00
7a29abc7ee feat: run a workspace handler when a variable's value expires (#10837)
* feat: run a workspace handler when a secret variable expires

Secret variables gain an optional `value_expires_at`, and a workspace can point
at a script or flow to run once that date passes, so a rotation is driven by the
platform instead of tracked out of band.

The secret never leaves the database. The sweep selects the path, description and
expiry and nothing else, so the handler is given a reference to rotate rather than
a value to handle. Job results are stored in cleartext and shown in Runs, which is
what makes that a boundary rather than a preference; a test asserts the job's args
never contain the value.

Each row is claimed by writing `expiration_dispatched_for` in the same transaction
as the push, so a failed push un-claims it and a lost race claims nothing. Moving
the date re-arms the row; re-saving the same date does not. A pass takes at most
100 rows under a transaction-scoped advisory lock, and orders so that one broken
workspace cannot starve the rest.

Dispatch runs as `g/variable_expiration_handler`, exempt from the CE group limit
and from non-premium exec metering the way the error and schedule handlers already
are. A handler that keeps failing backs off and raises a critical alert instead of
retrying every pass, and the back-off ends when the handler is repointed.

The expiry travels with the variable through workspace clone, tarball export and
workspace comparison. The dispatch marker deliberately does not, so a fork re-arms
on its own copy.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* feat(frontend): expose variable value expiration in the UI

The variable drawer takes an optional expiry on a secret value, and the variables
list badges it, turning red once the date has passed. A workspace settings tab
picks the handler, its extra args, and whether variables under `u/` are skipped.

That mute flag is stored inside the handler setting, so the toggle stays disabled
until a handler is picked: saving it on its own would clear the setting it lives
in and still report success.

The expiry is carried as a tri-state through the draft deploy and copilot paths —
absent leaves the remote value alone, an explicit null clears it — so deploying a
draft cannot silently drop a date someone set elsewhere.

The settings tab names the one case where the configured identity does not apply:
a handler script carrying `on_behalf_of` runs as that user rather than as
`g/variable_expiration_handler`, which matters because the same tab asks the admin
to grant that group write access to the variables it rotates.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* feat(cli): sync variable expiry and the workspace expiration handler

`wmill sync` carries `value_expires_at` on variables in both directions, and
pushes the workspace handler alongside the error and success handlers in the
grouped settings format. Dropping the key from a variable's yaml clears the
remote expiry, so the file stays canonical rather than accumulating fields that
can only ever be added.

The handler follows the same rule, with the caveat recorded where the type is
declared: an omitted handler only reaches the clear when some other setting
differs, because the push short-circuits on a comparison that walks the local
object's keys and so never sees a missing one. That gate is shared with the two
existing handlers and is left as it is here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(frontend): open the variable expiration handler template in a new tab

The "Create a handler" button hands its script template to /scripts/add through
the URL hash, which `load` reads from `window.location`. A client-side navigation
leaves the previous page's hash in place, so the payload was dropped and the
editor opened on the default template at a `u/` path. `target="_blank"` forces a
full page load, matching the success handler's "Create from template" button.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(frontend): make the variable expiry field state its own status

The expiry field rendered a DateTimeInput whose time defaults to 12:00 when it
holds no value, so a variable with no expiry looked like one already configured,
and "cleared" looked identical to "never set". Setting an expiry is optional, so
the field has to say which it is.

Rebuild it on the shape ScriptAdvancedSettings already uses for Timeout, Cache and
Concurrency limits: a toggle whose checked state is the stored value being present,
seeding a date on enable rather than revealing an empty picker, with the input
under its own label. Drop `clearable` with it, so the toggle is the single way to
mean "no expiry" instead of competing with an X.

Stop the surrounding copy promising a run that may not happen. A handler is only
dispatched if the workspace has one configured and does not skip u/ paths, so the
list tooltip now states the date alone, and the form hedges both conditions,
naming the u/ mute only on personal paths where it can apply.

Also anchor the mute toggle's tooltip: Popover's trigger is a span around a
block-level label, which stretched to the full width of its SettingCard and left
the popup floating beside the card rather than under the control.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(rust-client): initialize value_expires_at in the variable models

The generated `CreateVariable` / `EditVariable` structs gain the field from
openapi.yaml, and client.rs builds both with exhaustive literals.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(frontend): drop extra_args when the variable expiration handler is cleared

Clearing the handler nulls the whole setting server-side, extra_args included,
but the tab kept its loaded copy. A handler picked afterwards without reloading
was persisted with the cleared one's arguments, which the tab does not display.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* feat: back the variable expiration handler's built-in Slack and Teams destinations

Backfills the Slack bot token grant for g/variable_expiration_handler, mirroring
20231016142659 for g/error_handler: the slack_bot folder's extra_perms is written
once at Slack connect and never refreshed, and disconnecting leaves the folder
behind, so workspaces that already connected Slack cannot pick the grant up from
the creation-time list alone.

Adds run_variable_expiration_test_job so an admin can exercise the handler on
demand rather than waiting for a real expiry, which may be months away. It goes
through push_variable_expiration_handler so the test run proves what matters:
the handler resolves, and the group can read what it needs, under the same
identity and argument shape the sweep uses.

Also covers extra_args on the edit endpoint, which the settings tab now writes
for the built-ins' channel. The endpoint rebuilds the setting from the request,
so an omitted extra_args erases it.

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

* feat(frontend): offer Slack and Teams as variable expiration handlers

Gives the variable expiration tab the same no-code destinations the workspace
error handler has, so "tell #ops before this credential expires" no longer
requires writing a script.

A sibling component rather than a fourth mode of ErrorOrRecoveryHandler: that
one is shared with the workspace error handler and the three schedule handlers,
and its stripped-args list, hub path suffixes and Email tab are all
error-shaped. This reuses the pieces that are already generic
(SlackConnectionStatus, TeamsConnectionStatus, ChannelSelector, ScriptPicker,
SchemaForm) and leaves those five call sites untouched.

extra_args stops being an API/CLI-only escape hatch now that the built-ins write
their channel into it, so it joins the unsaved-changes comparison and the
discard path, normalised through the existing helper that drops the two
auto-managed keys.

The two hub ids are placeholders until the scripts are pushed to the hub.

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

* fix(frontend): scope the handler identity notice to the chosen destination

The notice told every admin to grant g/variable_expiration_handler write access
to the variables it rotates. That is right for a custom handler and wrong for
the built-ins, which only post a message and are granted the Slack bot token by
migration. Following it for a Slack handler would hand a group write access to
the workspace's secrets for no reason.

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

* feat(frontend): flag the Slack and Teams handlers as EE

Connecting a workspace to Slack or Teams is EE-only (oauth2_oss.rs returns
"Slack only available on enterprise"), so on CE those two tabs can never be
completed. Says so up front, the way the error/success handler tab does,
instead of leaving the user at a "not connected" badge with no working path.

Only on those two tabs: a custom script or flow handler is CE.

Drops the "Connect Slack first" alert, now that the banner and the connection
badge above it already say it twice.

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

* chore(backend): regenerate the sqlx cache after the merge

The merged workspace_settings column list in change_workspace_id is a new
query text, so it needs a new cached entry. Drops the two pre-merge entries
it supersedes; both had been left with conflict markers by the merge, since
rename/rename markers are eight characters and escape the usual scan.

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

* fix(cli): narrow the expiry-clear check to a variable that exists remotely

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

* feat(frontend): point the built-in handlers at their published hub scripts

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

* chore(backend): regenerate the sqlx cache after the merge

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

* fix(frontend): disable the Slack and Teams handler controls without a license

Matches the workspace error handler, which greys out its built-in destinations
and hides the test button on an unlicensed instance. The custom destination stays
editable: unlike the error handler, the variable expiration handler itself is not
an EE feature.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: record which destination a variable expiration handler uses

handler_configured now counts slack, teams, custom or cleared instead of
set or cleared, so usage shows whether the built-in destinations are picked.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(frontend): let the variable expiration handler template run on any worker

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: guard the variable expiration test endpoint and correct its help text

* fix: reuse the error handler's slack arg and built-in path helpers

* docs: trim variable expiration sweep and backfill comments

* feat: put the variable value expiration under an advanced section

* fix: restrict the expiration test job to built-ins and keep expiry on conflict reload

* fix: link the expiry hint to the variable's workspace and document built-in test paths

* fix: give the expiration sweep its own lock id and reuse double_option

* fix: pin the variable expiration presets so the hub-paths test accepts them

* feat: let the variable expiration handler set how far ahead it runs

* fix: give the notify before expiry setting its own card

* feat: remind the variable expiration handler at a set interval

* fix: tighten the gap between the Slack channel field and its test button

* feat: refuse a value expiry on variables linked to an OAuth account

* refactor: reuse the shared handler form for variable expiration

* refactor: sweep expiring variables round-robin and check the handler exists

* chore: trim comments to the constraints they record

* fix: compare expiry dates by moment when deploying a variable draft

* refactor: rename value_expires_at to value_valid_until

* fix: neutralize variable fields in expiration handler args

* fix: reserve the variable_expiration_handler group name for admins

* fix: send first expiry notices before reminders

* test: pin that a handler failing to start leaves its rows unclaimed

* chore: say any hub handler path skips the existence check

* fix: empty a pre-existing handler group before granting it the Slack token

* docs: correct the registered feature usage counts

* fix: let a workspace whose handler failed to start sit out for an hour

* fix: send first notices before reminders across workspaces

* fix: end a failed handler's wait as soon as it is redeployed

* fix: show an expiry-only variable change in the AI fork diff

* chore: regenerate workspace tool schemas

* test: keep one variable expiration guard per behavior

* fix: use the renamed hub expiration handlers and template

* feat: carry the variable expiry in windmill-utils-internal 1.8.4

* fix: keep the variable expiry through MCP drafts

* chore: bump windmill-utils-internal to 1.8.4

* fix: keep the variable expiry through mcp deploys

* fix: disable saving a slack or teams expiry handler without ee

* fix: skip the failure mark when the expiry handler was saved mid-sweep

* fix: count expiry telemetry only where the expiry changed

* test: assert the exact variable expiry in export and cli push tests

* fix: stamp an expiry handler failure with the pass's read time

* fix: wait for a pending handler lock instead of marking it failed

* test: isolate expiry handler tests from the deployed-script cache

* fix: retry a failing expiry handler every pass instead of waiting an hour

* chore: update ee-repo-ref to b6e23d229966cf0019c0a1926a254fda658d8def

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

Previous ee-repo-ref: c52c06d145b13a6fb04459e85ca5818bf3c1bff4

New ee-repo-ref: b6e23d229966cf0019c0a1926a254fda658d8def

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: hugocasa <hugo@casademont.ch>
2026-10-23 18:12:55 +02:00
c89a82750e fix: run unstamped git auto-pulls as a superadmin when no admin (#11973)
* [ee] fix: run unstamped git auto-pulls as a superadmin when the workspace has no admin

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

* bump ee ref: log the fallback identity

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

* chore: update ee-repo-ref to 6858e4cbd515b52713afea8dc32b23072af2248c

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

Previous ee-repo-ref: 03d89d10bdd9fba9d1184dc75f8582a5ad3741a8

New ee-repo-ref: 6858e4cbd515b52713afea8dc32b23072af2248c

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-10-23 15:37:40 +02:00
hugocasaandClaude Opus 5.5 e5dedd147e feat: let flow builder operators build AI agents (#11898)
* feat: let flow builder operators build AI agents

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

* fix: check linked agents' bound tools and type, validate on the write's transaction

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

* fix: bound the linked-agent walk by sorting bound tool ids

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

* fix: let builders bind only the agent tool inputs left to the model

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

* fix: check every agent tool sharing a bound id

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

* feat: show builders the agent's own tool inputs read-only and name agents in the setting

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

* refactor: show the agent's own tool inputs with the read-only step viewer

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

* style: give the agent-set inputs heading the input label style

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

* style: label the agent's fixed tool inputs static inputs

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

* fix: address cubic review on agent builder rights

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

* fix: check agent writes against the role's flows capability

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

* docs: name the flows capability as the agent builder right

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

* fix: gate agent evals on the role's code capability

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

* refactor: move the composed-flow check into windmill-api-auth

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:05:20 +02:00
GuilhemandClaude Opus 5.5 725b15f546 fix: change an app's access mode under the deploy row lock (#11965)
* fix: change an app's access mode under the deploy row lock

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: defer a mode change to deploy on an app run as another user

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: hold the access toggle while its change is in flight

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* revert: leave the deploy panel's access toggle to the settings drawer PR

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: keep the caller's draft on a mode-only app update

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: refuse a builder's mode-only change on an unsandboxed app

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 14:49:05 +02:00
Ruben Fiszelandwindmill-internal-app[bot] 5ef19a88a9 fix: stop audit inserts from silently rolling back saves (#11938)
* fix: let non-admins write audit rows for jobs run as another user

* fix: keep logging audit failures on pool connections

* chore: point ee-repo-ref at the import fix

* chore: update ee-repo-ref to 06b2eb32cd7d40fd93078285d8b6150648384602

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

Previous ee-repo-ref: da546d93c846192ed599b02a5aa3edd5d1ecdcfd

New ee-repo-ref: 06b2eb32cd7d40fd93078285d8b6150648384602

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-10-22 17:15:05 +02:00
21d2a49971 feat: configurable workspace roles with per-workspace overrides (#11821)
* feat: configurable workspace roles with per-workspace overrides

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

* fix: close role review gaps in pickers, declarative sync and removal

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

* docs: keep resolve_role_name doc on its function

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

* fix: validate overrides on instance role changes and bill admins fully

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

* fix: allow pipeline drafts and keep role checks on one connection

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

* docs: list data pipelines in operator_can_draft

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

* test: expect a 403 role refusal when an operator resolves jobs

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

* feat: require a valid license for custom workspace roles

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

* fix: freeze workspace roles when the license lapses

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

* chore: pin the ee companion for workspace roles

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

* refactor: broadcast role override changes from the write path, not a trigger

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

* chore: update ee-repo-ref to b5294d38db082bdd104d5358a47695390694c05d

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

Previous ee-repo-ref: 688e00c5982865b14098f530d54280e2311994c0

New ee-repo-ref: b5294d38db082bdd104d5358a47695390694c05d

Automated by sync-ee-ref workflow.

* fix: let an admin row that kept the operator flag hold full rights everywhere

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

* fix: treat superadmin members as admins and return role names from get user

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

---------

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-10-21 15:51:54 +02:00