Commit Graph
16043 Commits
Author SHA1 Message Date
Ruben Fiszel bf5aafdb76 chore(main): release 1.890.1 2026-11-29 15:46:12 +00:00
Ruben FiszelandClaude Opus 5.5 ca1cb13ad9 fix(audit): record what a global users.update changed (super_admin, devops, disabled, name) (#12742)
The instance-level user update (PATCH /users/update/:email) wrote a parameterless
"users.update" audit entry, so granting super-admin left no trace of the grant in the
audit log or its stdout/OTEL copy. Record the fields the request set: super_admin,
devops and disabled values, and name_changed (without the value).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:45:10 +00:00
Ruben Fiszelandrubenfiszel cc8d2c5d26 chore(main): release 1.890.0 (#12740)
* chore(main): release 1.890.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.890.0
2026-11-29 15:42:51 +00:00
Ruben FiszelandClaude Opus 5.5 6ca1820c51 fix: clearer refusal messages and an install-scripts opt-in for app bundling (#12750)
* fix: clarify session cookie, token scope and MCP selection refusals

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

* fix: clarify unresolved references, app, job and integration refusal messages

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

* fix(cli): clarify skipped install scripts and add --run-install-scripts to app bundle and dev

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

* fix: clarify app isolation, approval, MCP redirect and embedder messages

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

* fix: clarify why CUSTOM_INSTANCE_DB is refused as an app input or resource reference

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

* chore: bump ee-repo-ref

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

* fix: run install scripts on existing node_modules with --run-install-scripts, generic path scope hint

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

* test: match the reworded resource and variable access refusals

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

* chore: bump ee-repo-ref

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:09:23 +00:00
Ruben FiszelandClaude Opus 5.5 3ee1d6a4b8 feat: show what a token loses without its owner's admin rights (#12749)
* feat: warn what a token loses without its owner's admin rights

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

* fix: scope the admin-reliance report and make access refusals readable

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

* fix: keep the admin switch visible under superadmin, resolve MCP favorites

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

* fix: address review round on admin-reliance warnings

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

* fix: require folder write only where a write scope reaches, honor group paths

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:13:08 +01:00
Ruben FiszelandClaude Opus 5.5 09202d4094 fix: consistent writes for linked resource/variable pairs and instance database resolution (#12746)
* fix: serialize resource writes on a path and require write access to both halves of a linked pair

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

* fix: resolve the instance database resource only on routes that name it, within token scopes

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

* fix: keep the resource-then-variable lock order in variable rename

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:06:26 +00:00
2a53334b3f fix: copy data tables whose database uses extensions (#12716)
* feat: copy data tables that use extensions such as timescaledb and postgis

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

* fix: create copied extensions as the cluster admin only for same-cluster copies

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

* fix: load hypertable rows in the dump's snapshot before post-data

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

* fix: read hypertables in the dump's snapshot and copy their rows as text

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

* fix: lock hypertables until their rows are copied

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

* fix: lock every chunk the dump's snapshot sees

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

* refactor: create managed copies' extensions with the database, restore from an archive

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

* fix: hand over only the extension schemas provisioning creates, replay roles without chunks

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

* fix: carry extension schemas' comments through the copy's setup

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

* style: wrap a comment

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

* fix: have the server quote copied schema comments, keep a copy whose inherited schema it cannot comment

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

* refactor: refuse TimescaleDB hypertables in data table copies

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

* fix: check a copy's source for hypertables again once it is dumped

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

* chore: update ee-repo-ref to ae92a820922f76ad60427dec257cc57fc8ce1a36

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

Previous ee-repo-ref: 5a35e6f2a01650b4cc846eba8997837bb307bf71

New ee-repo-ref: ae92a820922f76ad60427dec257cc57fc8ce1a36

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-29 13:56:13 +01:00
Ruben Fiszel 65d567fec6 fix: tighten generated SQL names, flow input lookup and app install steps (#12748)
* fix: refuse database manager names that would break the generated SQL

* fix: read a flow argument directly only for a plain argument name

* fix: drop the hook's delivery URL from GitHub webhook payloads

* fix: use a pinned non-redirecting client for Nextcloud servers a connection names

* fix: build raw apps without their bunfig.toml or the job's own env vars

* fix(cli): skip lifecycle scripts when installing app dependencies

* fix(cli): keep resources stored under a dbt project folder out of its bundle

* fix: keep only the registry settings of a raw app's bunfig.toml when building it

* feat: allow private Nextcloud servers listed in ALLOW_PRIVATE_NEXTCLOUD_URLS
2026-11-29 12:44:12 +00:00
Ruben FiszelandClaude Opus 5.5 0f2f8aaaa3 fix: workspace and fork lifecycle consistency (#12747)
* fix: key deployed script versions by their run-as identity and deployer

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

* fix: check fork rights before leftover cleanup and borrow only storages the parent uses

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

* fix: tie fork creator member management to their current role in the fork

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

* fix: keep trailing suspend steps when a flow runs from its full version

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:44:08 +00:00
Ruben FiszelandClaude Opus 5.5 86612a0ff6 fix: consistent argument reference handling across captures, re-runs, approvals and evals (#12745)
* fix: validate item paths in worker client getters

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

* fix: treat captured payloads like the trigger payloads they stand for

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

* fix: refuse variable references in eval case values

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

* fix: check approver names and other users' re-run args like resume payloads

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:43:53 +00:00
Ruben FiszelandClaude Opus 5.5 8fac722b8e fix: resolve runnables and run-as identities consistently across tasks, deploys and triggers (#12744)
* fix: run workflow tasks at the version their parent job runs

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

* fix: resolve a script path to its deployed version whoever asks

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

* fix: keep deploy schedule updates to schedules that run the deployed path

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

* fix: run only app script rows the deployed app version names

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

* fix: read a preprocessed flow's tag from its own workspace

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

* fix: keep a perpetual run on its version when a deploy drops its named identity

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

* fix: re-push resumed suspended trigger jobs as the trigger's identity

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

* fix: keep a schedule's or trigger's identity when the AI tools edit it

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

* docs: state the authorization a script payload helper expects of its callers

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:43:49 +00:00
Ruben FiszelandClaude Opus 5.5 3ee0d889ef fix: tighten token scope consistency across MCP, job import and capture paths (#12743)
* fix: send the MCP proxy's self-requests without following redirects

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

* fix: limit MCP hub tool calls to the hub apps the token selects

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

* fix: keep every caller scope when a scoped token grants MCP scopes

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

* fix: require jobs:run on job import and batch jobs, and postgres_triggers:write on Postgres captures

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

* fix: keep the operator data table preview to plain SQL content

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:43:45 +00:00
Ruben FiszelandClaude Opus 5.5 76ac275686 fix(cli): accept the cwd's spelling of the checkout in wmill dev path checks (#12736)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:50:11 +01:00
dd206df8e3 fix: leave draining workers out of the autoscaling count (#12739)
* [ee] fix: leave draining workers out of the autoscaling count

Pins the EE fix and adds a regression test that drives
apply_all_autoscaling against planted worker_ping rows.

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

* test: cover a worker group restarting in place

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

* test: cover a scale-in during a partial in-place restart

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

* chore: update ee-repo-ref to 23291f201b34b6f3d8e08b11783413a22a43a15f

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

Previous ee-repo-ref: 331be09b5e61c55b4f3823c76cd5233b3878ac91

New ee-repo-ref: 23291f201b34b6f3d8e08b11783413a22a43a15f

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-29 10:23:54 +01:00
Ruben Fiszelandrubenfiszel 3b333380fd chore(main): release 1.889.1 (#12734)
* chore(main): release 1.889.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.889.1
2026-11-28 20:30:43 +01:00
Ruben FiszelandClaude Opus 5.5 8ccb60c711 fix: read scope for listing mcp tools
Also fixes the image viewer size after two changes crossed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:25:42 +00:00
Ruben FiszelandClaude Opus 5.5 dde36c1682 fix(frontend): keep url helpers in their own chunk
Fixes the release build and frontend checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:20:54 +00:00
Ruben Fiszelandrubenfiszel 8815c71d63 chore(main): release 1.889.0 (#12720)
* chore(main): release 1.889.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.889.0
2026-11-28 19:57:19 +01:00
Ruben FiszelandClaude Opus 5.5 680e8d2ba6 refactor: consolidate request origin handling
Move request origin classification into windmill-api-auth and reuse it for session-authenticated requests; adds SESSION_COOKIE_TRUSTED_ORIGINS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:37 +00:00
Ruben FiszelandClaude Opus 5.5 46a64b1b46 fix(cli): dev server and sync path handling improvements
Dev servers bind to localhost by default (new --host option) and sync keeps paths within the project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:29 +00:00
Ruben FiszelandClaude Opus 5.5 24b15a72e8 fix: app rendering mode for visitors
Apps opened by viewers outside their workspace use the isolated rendering mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:20 +00:00
Ruben FiszelandClaude Opus 5.5 7365bfdf68 fix: token scope matching cleanups
Scope matching and a few missing scope checks on resource and variable routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:04 +00:00
Ruben FiszelandClaude Opus 5.5 1a43ff8500 feat(mcp): show client details on the oauth consent page
The consent page shows the registered client name and redirect address; stricter scope parsing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:53:00 +00:00
Ruben FiszelandClaude Opus 5.5 b9e0e06878 fix: recordings and mcp tools loading tweaks
Replay recordings load without credentials; the MCP tool panel lists tools over POST when requested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:56 +00:00
Ruben FiszelandClaude Opus 5.5 561c5a1ad3 fix: tidy redirect handling after login and logout
Shared helper for redirect targets across login, logout and related pages, plus a small notice on the CLI login page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:52 +00:00
Ruben FiszelandClaude Opus 5.5 90c1361b73 fix(frontend): input handling cleanups
Path parameter encoding in the API client, lazy loading of inline dynamic select options, editor type acquisition paths and alert text rendering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:48 +00:00
Ruben FiszelandClaude Opus 5.5 767d2d6f91 fix(frontend): use the shared markdown renderer in more views
AI instruction/skill views and markdown results now use the shared markdown plugins; small approval result display fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:44 +00:00
Ruben FiszelandClaude Opus 5.5 c883b82fa7 fix(frontend): dev page and raw app editor message handling
Small cleanups to how the dev page and the raw app editor exchange messages with their host frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:40 +00:00
Ruben FiszelandClaude Opus 5.5 e67dd0df53 chore(frontend): update the ui builder
Bump the UI builder artifact to f9da2f8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:35 +00:00
Ruben FiszelandClaude Opus 5.5 00acb80e0d fix(typescript-client): skip regex literals when reading task parameter names
Since #12718 a regex default such as `pattern = /\(/` could shift later task() arguments to positional names; the parameter scan now skips regex literals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:52:31 +00:00
a7ee99ce63 fix(typescript-client): read task parameter names past a default value (#12718)
* fix(typescript-client): read task parameter names past a default value

* fix(typescript-client): fall back to argN for an unnamed task parameter in v1 dispatch

* fix(typescript-client): blank string literals and name object params anonN in task param names

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

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:31:50 +01:00
4f309ec5fb fix: serve s3 previews with an explicit content type (#12715)
* [ee] fix: serve s3 previews with an explicit content type

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

* chore: bump ee ref

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

* chore: update ee-repo-ref to b012f1c9ecd42a6f99808cad65c519e2a3bc35c1

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

Previous ee-repo-ref: bdd62c1cb7dc152502d3116acab992350d83a4a7

New ee-repo-ref: b012f1c9ecd42a6f99808cad65c519e2a3bc35c1

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-28 17:31:17 +01:00
Ruben Fiszelandrubenfiszel 095179d7a0 chore(main): release 1.888.0 (#12711)
* chore(main): release 1.888.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.888.0
2026-11-28 17:19:03 +01:00
Ruben FiszelandClaude Opus 5.5 dce05fdc3b fix: validate return addresses on the webhook and cli sign-in pages (#12719)
* fix: validate the address the webhook and cli sign-in pages send back to

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

* fix: show the port the cli sign-in page actually sends to

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:15:17 +01:00
GuilhemandClaude Opus 5.5 0c63dfe18c feat: open images in the session preview panel (#12602)
* feat: open images in the session preview panel

* fix: address review findings on the image preview

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

* fix: keep the result path in the expanded result and report non-ready images by status

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

* fix: keep the tool screenshot thumbnail as it was

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

* feat: show job and S3 images in the preview, shared zoom control

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

* fix: show the images in an S3 result list that also holds other files

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

* refactor: share zoom and pan between the full-screen and panel image viewers

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

* refactor: drop the blob url revoke effect from the image preview tab

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

* feat: let show_image take a path into a job result or an s3 object

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

* fix: open the format a show_image path names

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:38:05 +01:00
8ec6beed3a feat: require two-factor authentication for password logins (#12704)
* feat: add native totp two-factor authentication for password login

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

* fix: keep login field spacing when the code field shows

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

* fix: keep two-factor across a user overwrite and key the prompt to the submitted email

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

* fix: snapshot totp in the overwrite delete and audit wrong two-factor codes

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

* feat: move two-factor to ee, add recovery codes, encrypt secrets, db-backed limit

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

* fix: refuse a two-factor reset for an account without one

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

* fix: serialize two-factor races with key rotation and ce enrollment

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

* feat: argon2 recovery codes, otpauth link, totp field name, settings styling

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

* fix: serialize totp setup with admins key rotation

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

* feat: two-factor setup wizard that asks for the password

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

* feat: ask for the two-factor code on its own login screen

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

* feat: say two-factor is on with the recovery codes, red turn-off confirm

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

* chore: update ee-repo-ref to 5456ade3c09011206acc20ab026dda49f15f9517

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

Previous ee-repo-ref: 84c64720d625ed5a41b6ff0851f9d9b568b31c0b

New ee-repo-ref: 5456ade3c09011206acc20ab026dda49f15f9517

Automated by sync-ee-ref workflow.

* feat: require two-factor authentication for password logins

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

* chore: shorten the require two-factor setting description

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

* fix: ignore a login submit while one is in flight

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

* docs: note that enrollment at login trusts the password alone

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

* chore: point OAuth and SAML users to the identity provider for 2FA

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

* fix: finish the root account swap when two-factor is required

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

* feat: email the owner when their two-factor settings change

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

* feat: recommend two-factor for the root account in instance setup

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

* feat: offer two-factor setup on the login card after instance setup

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

* feat: stop renewing sessions without two-factor once it is required

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

* feat: show a user's two-factor status in the superadmin editor

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

* feat: show two-factor in the instance users table

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

* perf: load the two-factor setup screens on demand in the login card

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

* chore: update ee-repo-ref to 526e8ad937cc09cdbd36f06434e2a0cee9e575bb

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

Previous ee-repo-ref: 9c14ad5e266144bd8f21eee9d9514570d5c9fbef

New ee-repo-ref: 526e8ad937cc09cdbd36f06434e2a0cee9e575bb

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-27 18:23:17 +01:00
Guilhem a32ae571ca fix: tidy the mcp show tool text fallbacks (#12713)
* fix: address cubic nits on the mcp show tool texts

* fix: mark a live log line that starts mid-line
2026-11-27 18:21:13 +01:00
GuilhemandClaude Opus 5.5 84e903848a fix: give mcp show tools a text fallback for clients without cards (#12707)
* fix: give mcp show tools a text fallback and load card data in claude

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

* fix: state the deploy review text without assuming a card and test structured content

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

* refactor: move the claude card loading to its own pr

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

* fix: say the running show_run text does not update

* fix: label a canceled run's error and drop the ellipsis on the too-large note

* fix: draw the windmill mcp card in claude desktop, which drops _meta (#12708)

* fix: load mcp card data through an app-only tool so claude draws the card

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

* fix: fall back to the show tool when a host refuses load_card

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:38:36 +01:00
hugocasa cb5d6a92c2 fix(mcp): hold each MCP call to its own token, workspace and route (#12709) 2026-11-27 17:33:53 +01:00
Ruben FiszelandClaude Opus 5.5 3ad867ee65 fix: opt the audit probe token into superadmin (#12710)
Since new tokens carry superadmin only when minted asking for it, the
nonmember superadmin's token ran as a plain user and could not run the
g/all-shared on-behalf script.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:31:57 +01:00
Ruben Fiszelandrubenfiszel 48207eafdb chore(main): release 1.887.0 (#12688)
* chore(main): release 1.887.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.887.0
2026-11-27 16:40:33 +01:00
51e9017c67 feat: flag risky tokens and add a superadmin token review (#12693)
* feat: flag risky tokens in the tokens drawer and add a superadmin token review

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

* fix: load the whole token review at once and pin the risk rules in a test

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

* fix: a job tag filter alone does not narrow a privileged token

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

* fix: flag the rights a token carries, not the rights of its owner

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

* feat: flag tokens that work in every workspace and filter the review by flag

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

* perf: compute token risks in a view and page the review with a cursor

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

* fix: trust only reserved labels or short lifetimes as server-managed, keep the review cursor on raw rows

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

* fix: leave a day of clock skew on the server-managed token lifetime

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

* feat: make the instance-wide token list and deletion an EE feature

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

* fix: keep the token list EE in the CE image, which builds private

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

* chore: update ee-repo-ref to b3c5cbb7edcc42f3db92865896d472cdd8842cf9

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

Previous ee-repo-ref: 51a2425e60989d727d40330bdfa7b2d302224c9c

New ee-repo-ref: b3c5cbb7edcc42f3db92865896d472cdd8842cf9

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-27 16:24:34 +01:00
Ruben FiszelandClaude Opus 5.5 b2f3986f94 feat: edit token expiration and allowed IPs, widen only as far as mintable (#12703)
* feat: edit token expiry and allowed IPs, widening only as far as mintable

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

* docs: correct the job-token guard comments on app token mints

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

* fix: evict an edited token's cached identity on every API server

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

* feat: audit a token's full grant on creation and before/after values on edits

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:26:48 +01:00
f52c117e76 feat: add native totp two-factor authentication for password login (#12620)
* feat: add native totp two-factor authentication for password login

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

* fix: keep login field spacing when the code field shows

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

* fix: keep two-factor across a user overwrite and key the prompt to the submitted email

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

* fix: snapshot totp in the overwrite delete and audit wrong two-factor codes

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

* feat: move two-factor to ee, add recovery codes, encrypt secrets, db-backed limit

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

* fix: refuse a two-factor reset for an account without one

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

* fix: serialize two-factor races with key rotation and ce enrollment

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

* feat: argon2 recovery codes, otpauth link, totp field name, settings styling

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

* fix: serialize totp setup with admins key rotation

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

* feat: two-factor setup wizard that asks for the password

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

* feat: ask for the two-factor code on its own login screen

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

* feat: say two-factor is on with the recovery codes, red turn-off confirm

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

* chore: update ee-repo-ref to 5456ade3c09011206acc20ab026dda49f15f9517

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

Previous ee-repo-ref: 84c64720d625ed5a41b6ff0851f9d9b568b31c0b

New ee-repo-ref: 5456ade3c09011206acc20ab026dda49f15f9517

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-27 15:25:14 +01:00
Ruben FiszelandClaude Opus 5.5 55aec82102 feat: add token introspection endpoint and token test UI (#12702)
* feat: add token introspection endpoint and token test UI

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

* fix: report effective superadmin rights in token introspection

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

* fix: resolve guest tokens and check webhooks by path in token introspection

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:24:00 +01:00
Guilhem 5b3a40b1a4 fix: copy the shown error from AI chat tool cards (#12698)
* fix: copy the shown error from AI chat tool cards

* fix: state why the clipboard helper's success toast is off

* fix: hide the copy button on an empty-string result

* fix: skip copying when the formatted text is empty

* fix: base the copy button on the formatted text and report fallback failures
2026-11-27 12:27:47 +01:00
Ruben FiszelandClaude Opus 5.5 7e79229aa4 feat: edit token scopes from the CLI and show token access in token lists (#12694)
* feat(cli): edit token scopes with wmill token update-scopes

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

* feat: show a token's workspace binding and admin rights in token lists

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

* fix: keep unlabeled tokens from breaking the token list

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

* test: correct the unlabeled-token comment

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:27:28 +01:00
9643ba09a4 feat: connect native trigger accounts through the resource connect flow (#12352)
* feat: connect native trigger accounts through the resource connect flow

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

* fix: keep resources when a workspace app is removed and unlink stale accounts on reconnect

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

* fix: reconnect sandbox resources through their client and keep a refresh off a moved variable

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

* fix: check an account is unused outside the caller's RLS and keep a racing refresh's rotated token

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

* fix: set unlink_account in the rust client's variable update

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

* fix: refresh workspace-app trigger accounts through the variable store

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

* fix: store a refreshed token only while its variable still links the account

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

* fix: lock a reconnected variable before writing its secret

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

* feat: let workspace oauth apps serve resources, opt-in for existing apps

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

* fix: keep the account of a non-expiring workspace-app token

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

* fix: use alert actions and name the trigger shared account

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

* feat: list the instance's other oauth clients on the oauth apps page

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

* fix: show resource type display names on the oauth apps page

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

* fix: list instance oauth clients first on the oauth apps page

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

* refactor: keep workspace oauth apps for triggers only

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

* fix: ask a trigger connection for its own scopes and list google trigger scopes as options

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

* feat: show which oauth app a resource was connected through

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

* fix: name no oauth app for client credentials resources

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

* feat: confirm before reconnecting a shared resource

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

* fix: word the reconnect confirm without claiming the resource is shared

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

* chore: update ee-repo-ref to c05fadda9d6bd772e56cec00d5b9c721afab4aed

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

Previous ee-repo-ref: dc0d763b43fafb49b5cf805a8f29e26989c21ea1

New ee-repo-ref: c05fadda9d6bd772e56cec00d5b9c721afab4aed

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-27 11:58:34 +01:00
hugocasaandClaude Opus 5.5 57ad72b28a fix: rerun recovered iterations in failed-only restarts (#12657)
* fix: rerun recovered iterations in failed-only restarts and gate on 1.884.0

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

* revert: keep top-level while loops restartable, they never run in parallel

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:50:00 +01:00
hugocasaandClaude Opus 5.5 0496abbad8 feat: stop a loop once a failure threshold of iterations has failed (#12686)
* feat: stop a for loop once a failure threshold of iterations has failed

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

* fix: cancel unpulled iterations at the threshold, spare ones awaiting a retry or approval

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

* fix: cancel only iterations no worker picked up, fail on the threshold after a recovery

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

* test: pin that recovered iterations still reach the failure threshold

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

* feat: make the loop failure threshold an expression and support while loops

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

* perf: evaluate the loop failure threshold from the already-parsed loop step

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

* fix: skip the failure threshold of an empty for loop

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

* chore: address review nits on the loop failure threshold

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:49:50 +01:00