* 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>
#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>
* 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>
* 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
* 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>
* 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>
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>
* 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>
* 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>
* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* [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>
* 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>
* 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>
* 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>
* 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>