1398 Commits
Author SHA1 Message Date
9039e1a824 feat: record the real client IP behind proxies with no configuration (#12752)
* feat: record the real client IP behind reverse proxies with no configuration

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

* docs: state why the login rate limit reads the attributed client ip

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

* chore: update ee-repo-ref to c17af04e6cc7eb26b85b4c0e1d7b949961dd394a

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

Previous ee-repo-ref: e01d101e5429106d5bead38ec96d74a885561626

New ee-repo-ref: c17af04e6cc7eb26b85b4c0e1d7b949961dd394a

Automated by sync-ee-ref workflow.

* fix: take the client behind a cloudflare hop from cf-connecting-ip

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

* fix: keep cloudflare out of the address token allowlists check

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

* fix: a worker's own api believes no forwarding header

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

* docs: steer cloudflare to TRUST_CLOUDFLARE, not TRUSTED_PROXIES

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

* fix: never suggest a cloudflare edge for TRUSTED_PROXIES in the client ip page

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

* feat: token ip allowlists trust private proxies by default too, with a warning until TRUSTED_PROXIES is set

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

* docs: record the default proxy trust as an accepted risk for reviewers and scanners

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

* docs: state the registry limit without its history, document the warning cap, log both trust views

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

* docs: TRUSTED_PROXIES closes the gap only when it names the actual proxies

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

---------

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 23:47:23 +01: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
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 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
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
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
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
f5644d7f43 feat: make new tokens workspace-bound and rights-free unless opted in (#12695)
* feat: make new tokens workspace-bound and rights-free unless opted in

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

* fix: honour withheld token rights in devops, instance db and webhook rotation

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

* chore: bump ee ref

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

* fix: name token admin explicitly in every token insert

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

* fix: carry withheld token rights through caller JWTs and keep nonmember superadmin mints working

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 74c3a4ce446d8d9abd69c69da5be8bfdb6d775f4

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

Previous ee-repo-ref: 28e9391cff06b84fff9bd420a8b244c35588523a

New ee-repo-ref: 74c3a4ce446d8d9abd69c69da5be8bfdb6d775f4

Automated by sync-ee-ref workflow.

* feat: make the instance-wide token choice explicit in the token form

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

* feat: rename the token scope switch to restrict to specific scopes

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

* fix: refuse mcp oauth approval from a token withholding admin, warn on empty scope restriction

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

* feat: workspace choice on the cli login page and hints for workspace-bound cli tokens

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

* fix: bind a cli login token only to the workspace the cli names

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-27 11:32:15 +01:00
Ruben FiszelandClaude Opus 5.5 3ec14c7ed2 fix: demote a token's superadmin when its owner loses it (#12692)
* fix: demote a token's superadmin when its owner loses it

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

* fix: demote unlabeled superadmin tokens in the backfill

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

* fix: leave superadmin tokens alone on an email change

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

* test: pin that an email change keeps a superadmin's tokens

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:32:27 +01:00
f555024e73 feat: restrict api tokens to allowed ip ranges (#12679)
* fix: derive the client ip from trusted proxies only

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

* fix: read forwarded-for as raw bytes and add an explicit client ip header

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

* fix: strip the source port from cloudfront-viewer-address before parsing

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

* style: rustfmt client_ip

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

* feat: restrict api tokens to allowed ip ranges

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

* fix: inherit token ip restrictions on every mint and refuse login links

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

* fix: keep a webhook token's ip restriction when rotating it

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

* test: pin that webhook token rotation keeps allowed_ips

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

* perf: resolve the client ip only for restricted tokens and throttle refusal logs

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

* chore: update ee-repo-ref to 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

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

Previous ee-repo-ref: 6c8458630cea7c3082771db9f772c964ef11dcdf

New ee-repo-ref: 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

Automated by sync-ee-ref workflow.

* feat: show the caller's ip so a device can check what to allowlist

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

* feat: make token ip allowlists an ee feature

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

* refactor: move token ip allowlist logic into ee

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

* chore: update ee-repo-ref to cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

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

Previous ee-repo-ref: 98f8ade3347f3dcfc73962f4aa39618282f73fa3

New ee-repo-ref: cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

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-26 21:27:52 +01:00
Ruben FiszelandClaude Opus 5.5 0b11d3e9a6 fix: resolve the client ip in one place and trust private ranges only on cloud (#12685)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 21:21:10 +01:00
f28bdff94f feat: a second OTel logs exporter for audit logs (#12675)
* feat: a second OTel logs exporter for audit logs

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

* chore: pin ee to the audit logs exporter companion

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

* fix: redact otel exporter headers when logging the otel setting

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

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

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

Previous ee-repo-ref: 8c53ef5354a79af46cdce617b0df5416c240a27c

New ee-repo-ref: 9a5254e3dc2ea4af8e20fd497b50025f99fa02b3

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-26 17:25:26 +01:00
Ruben FiszelandClaude Opus 5.5 f45209064a fix: derive the client ip from trusted proxies only (#12677)
* fix: derive the client ip from trusted proxies only

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

* fix: read forwarded-for as raw bytes and add an explicit client ip header

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

* fix: strip the source port from cloudfront-viewer-address before parsing

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

* style: rustfmt client_ip

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:03:12 +01:00
71f22fc6e9 feat: add a Require SSO workspace protection rule (#12681)
* feat: add a Require SSO workspace protection rule

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

* fix: serialize the sso checks per email and count new members in all

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

* docs: describe what the Require SSO rule refuses in the AI guidance

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

* fix: lock the account row instead of an advisory lock for sso checks

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

* fix: serialize sso checks for emails that have no account yet

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

* fix: check a password transition after the update locks the account

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

* fix: serialize every sso transition on one per-email lock

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

* fix: lock sso transitions only under a rule, in bounded buckets

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

* refactor: drop the locks around the sso checks

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

* docs: say what the password-login members listing returns

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

* chore: update ee-repo-ref to 04fb511569ecb790b24e0a2f70e316de34cbb067

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

Previous ee-repo-ref: b9eb85d7908eecfc3e22612db7e8028e458f208e

New ee-repo-ref: 04fb511569ecb790b24e0a2f70e316de34cbb067

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-26 15:57:37 +01:00
Ruben FiszelandClaude Opus 5.5 cc855e6fd9 fix: redact secrets in instance settings reads unless explicitly revealed (#12682)
* fix: redact secrets in instance settings reads unless explicitly revealed

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

* fix(cli): compare redacted remote settings against unchanged local secrets

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

* fix: redact nuget, maven, cargo, webhook and otel header credentials too

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

* fix(cli): mask get-config secrets from servers that do not redact

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

* fix(cli): refuse a masked get-config export from a server that cannot restore it

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

* fix(cli): word the get-config prompt for servers that do not redact

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:45:42 +01:00
c689d74505 feat: record client IP and user agent on audit entries (#12673)
* feat: record client IP and user agent on audit entries

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

* fix: trust the compose network's proxy for the audit client IP

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

* fix: treat undecodable forwarded-for entries as a stop in the client IP walk

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

* fix: keep the legacy audit view in step with the new audit columns

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

* refactor: add the audit origin columns to audit_partitioned only

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

* revert: keep the legacy audit table and view in step with the new columns

Older servers read the legacy audit table in a SELECT * UNION ALL with audit_partitioned.

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

* chore: update ee-repo-ref to 8604f6779f08ff2208e85628503877edce8e2343

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

Previous ee-repo-ref: 8c44649a51062cf4f056792c0e2da09b7b7354b5

New ee-repo-ref: 8604f6779f08ff2208e85628503877edce8e2343

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-26 12:54:08 +01:00
hugocasaandClaude Opus 5.5 6a0283a950 feat: rerun only the failed iterations of a parallel for-loop or branch-all (#12590)
* feat: rerun only the failed iterations of a parallel for-loop or branch-all

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

* fix: fail a failed-only restart cleanly and keep the popup's iteration per step

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

* fix: refuse a failed-only restart until every worker can run it

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

* feat: name the parallel step whose iterations a restart reruns

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

* feat: rerun the failed iterations of a parallel step nested in a branch-one or loop

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

* fix: gate any restart chain carrying failed_only on the worker version

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

* feat: add --failed-only to wmill job restart

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

* fix: rerun failed iterations on the items they originally ran on

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

* feat: resume each failed iteration of a failed-only restart at its failed step

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

* fix: resume a failed iteration only at a step that failed, in an unchanged body

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

* fix: resume a failed iteration only at a step that ran, in an identical body

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

* refactor: move failed-only restart into its own modules; say failed iterations rerun from their failed step

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

* fix: show the info icon on the failed-only restart toggle

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

* fix: name the failed-step restart in the failed-only toggle label

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

* feat: let a failed-only restart rerun failed iterations from their first step

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

* feat: rerun failed iterations from their first step unless from_failed_step is set

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

* refactor: keep failed-only slot merging out of the parallel push path

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:49:48 +01:00
Ruben FiszelandClaude Opus 5.5 a8b2228753 fix: bind datatable() args as literals and read _FLOW_PATH on previews (#12638)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:42 +01:00
Ruben FiszelandClaude Opus 5.5 2df2c83313 fix: pin definer function search_path and check sql contextual vars (#12640)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:22 +01:00
Ruben FiszelandClaude Opus 5.5 a2de1979bb fix: give jailed uv lock its own cache and copy no symlinked deps (#12641)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:45:13 +01:00
Ruben FiszelandClaude Opus 5.5 b8e3eff2d0 refactor: set workspace env in the jail config, per-workspace deno cache (#12643)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:55 +01:00
Ruben FiszelandClaude Opus 5.5 114d68456e fix: read request bodies as plain json and keep cancel reasons literal (#12646)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:44:16 +01:00
Ruben FiszelandClaude Opus 5.5 304f912183 feat: alert on same-tag wait deadlocks and fail the waiting parent (#12613)
* feat: alert on same-tag wait deadlocks and fail the waiting parent

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

* fix: fail a deadlocked wait only when every holder is waiting on it

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

* fix: count a parent as waiting only when its sdk wait says so

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

* perf: monitor only checks open tag deadlock alerts for recovery

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

* fix(rust-client): pass wait_for_child from wait_job

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

* perf: reach a parent's stuck child through its waiting mark

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:08:40 +01:00
Ruben FiszelandClaude Opus 5.5 ade2a55e86 feat: let the workspace error handler skip jobs started from the UI (#12624)
* feat: let the workspace error handler skip jobs started from the UI

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

* fix: address review of the ui-run error handler mute

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:44:59 +01:00
shamnad-sheriefandcubic-dev-ai[bot] 7d5a09af83 fix(worker): fall back to host RAM when cgroup v2 memory.max is max (#12588)
* fix(worker): fall back to host RAM when cgroup v2 memory.max is max

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

* update comment

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

---------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

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

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

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

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

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

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

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

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

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

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

Previous ee-repo-ref: 095ef5033bff64ed5b2d08c84bb0037b83449d88

New ee-repo-ref: 6c06d688fe435630e2827bc177f066d2646bb768

Automated by sync-ee-ref workflow.

---------

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

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

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

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

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

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:57:49 +01:00
Ruben Fiszel cb824de928 fix: make the mssql database manager work under case-sensitive collations (#12550) 2026-11-19 23:00:24 +01:00
Ruben FiszelandClaude Opus 5.5 98439f8521 feat: test flows from the SDKs with mocked or replaced steps, subflows included (#12538)
* feat: test flows from the SDKs with mocked or replaced steps

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

* fix: walk only real flow modules and refuse overrides a step would ignore

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

* fix: harden flow tests against sdk tokens, rls, test-run pins and built-in tools

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

* fix: require the code capability to test a flow

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

* fix: refuse overriding ai agent tools in flow tests

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

* fix: refuse overriding the preprocessor, which a flow test never runs

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

* feat: override steps inside subflows in flow tests

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

* fix: gate subflow overrides on worker version and disable caching in flow tests

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

* docs: note subflows never run their preprocessor in flow test docstrings

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:40:33 +01:00
e24a4309d0 fix: resolve the caller's role capabilities at authentication (#12501)
* fix: resolve the caller's role capabilities at authentication

* chore: update ee-repo-ref to e4bfe4229dfd07f6c356835c2ac0e80c2729d582

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

Previous ee-repo-ref: 637d417668a1c3b4203cfedf782bd72648fdb102

New ee-repo-ref: e4bfe4229dfd07f6c356835c2ac0e80c2729d582

Automated by sync-ee-ref workflow.

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-18 23:21:44 +01:00
a718720fd6 fix: let non-admins read an admin-approved GitHub App repository (#12524)
* fix: let non-admins read an admin-approved GitHub App repository

An admin's save of an app-backed git_repository resource records the url
it resolves to in github_app_repo_approval. Non-admins who can read the
resource are then served that repository through the installation, by
repo_archive and git_commit_hash, until the url (or a $var: it names)
changes.

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

* fix: keep the approved repository url on the resource row

A path-keyed approval table outlived its resource through every writer
that moves or deletes resources by path (username rename, offboarding,
deletes), so a new resource at a freed path could inherit an approval.
On the row, it follows renames and dies with the resource.

Also: an unresolvable $var: no longer fails an admin's save, and the
admin-or-not caller reuses GitRemoteCaller.

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

* fix: record the approved repository after the write commits

Resolving a $var: url takes a second pool connection and maybe a secret
backend, which must not be held under the write's row lock. The update
applies only while the row still holds the url the admin saved, and an
admin save that names no app-backed repository clears the approval.

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

* chore: point the EE ref at the GitHub App approval branch

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

* fix: keep approvals in a side table and approve only literal urls

The approval moves from a resource column to github_app_repo_approval,
whose FK cascades on resource renames and deletes like resource_version.

It is now written in the admin's write transaction, from the saved row,
so it commits with the value it approves and a delayed approval can no
longer undo a later revocation. Only a save that carries the value, and
only a literal url, is approved: a $var: resolves to whatever its owner
sets, which the admin never saw.

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

* chore: update ee-repo-ref to 2d094f0018c2474cbc47f2e6e81f7d53e158f87d

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

Previous ee-repo-ref: 2080e6f837108b6a3c0439b96257df66583cc487

New ee-repo-ref: 2d094f0018c2474cbc47f2e6e81f7d53e158f87d

Automated by sync-ee-ref workflow.

---------

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

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

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

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

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

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

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

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

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

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

* feat: log feature usage for the fairness reserve toggle

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

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

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

Previous ee-repo-ref: 15a06f4c8dff6e8d8fb4cc92ce1655bb48a41b02

New ee-repo-ref: 3972beb0b39a115aad0154d43558692627158b3b

Automated by sync-ee-ref workflow.

---------

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

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

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

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 08:16:13 +01:00
9724f3bdf0 feat: fairness-aware queue alerts and a capped-workspace alert (#12432)
* feat: fairness-aware queue alerts and a capped-workspace alert

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

* fix: scope queue alert exclusion per tag, pin the EE companion

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

* fix: count only jobs holding a worker in the queue alert exclusion

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

* fix: drop fairness state when off, remove orphaned query cache entry

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

* chore: update ee-repo-ref to ff4169005ce8bf08f5dc8625c8e55ac70dd0db50

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

Previous ee-repo-ref: ab0b2f2a1d898dabc6571fd81d3014f1ca4ad2f6

New ee-repo-ref: ff4169005ce8bf08f5dc8625c8e55ac70dd0db50

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-14 08:13:13 +01:00
Ruben FiszelandClaude Opus 5.5 df56c111bb feat: fairness reserve workers that only serve non-overloaded workspaces (#12431)
* feat: fairness reserve workers that only serve non-overloaded workspaces

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

* fix: refuse the fairness reserve flag on agent workers

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

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

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

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

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

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

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

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

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

* docs: fairness setting comment names the enterprise gate

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

---------

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

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

* docs: list vertex_workload_identity in feature telemetry

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

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

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

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

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

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

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

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

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

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

Previous ee-repo-ref: 269785e57e681bea9be0c66ca1b8ba92b04d836a

New ee-repo-ref: 458eeca8c31ba093a72eeb1ed9d82a83e18477db

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-13 15:40:06 +01:00
792e66a30a feat: one turn per memory id, a new message takes over a parked turn (#11831)
* feat(ai-agent): background tools that wake the agent when they finish

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

* feat(ai-agent): run a tool in the background after a delay

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

* feat(ai-agent): one running turn per memory id, take over, keep history on stop

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

* fix(ai-agent): claim the memory id of an app's agent run

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

* fix(ai-agent): claim an app run's memory id after its conversation check

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

* chore(ai-agent): date the memory turn migration after main's

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

* feat(ai-agent): a new run takes over a parked turn of its memory id

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

* feat(flow-chat): send while the turn is parked

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

* docs(ai-agent): a parked turn hands its memory id over

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

* refactor(flow-chat): let the server decide whether a turn is parked

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

* refactor(ai-agent): memory turn queries as sqlx macros

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

* refactor(ai-agent): park and background tool queries as sqlx macros

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

* feat(flow-chat): show background tool calls as one running card, no typing dots while waiting

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

* fix(ai-agent): hand a turn over only from a run's last agent step

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

* fix(chat-sdk): Stop cancels a message still sent over a running turn

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

* feat(flow-chat): say when a call moved to the background and when results came back

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

* fix(chat-sdk): one message over a running turn at a time

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

* fix(flow-chat): one card per background call, without the model's note as its result

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

* fix(flow-chat): a background result streamed in early still folds its row into the call's card

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

* fix(flow-chat): queue a message over a working turn without asking the server, send it once the turn waits

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

* fix(ai-agent): a handed-over background job follows its new turn's cancel; retry a send refused just before a park

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

* fix(flow-chat): a stopped background call stays finished in later turns, and a late row read keeps a streamed result

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

* fix(chat-sdk): a hand-over keeps the old turn's background calls open even after their rows were read

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

* fix(chat-sdk): a late background row keeps a streamed failure failed

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

* fix(ai-agent): say the agent waits once its memory is saved; cancel handed jobs no turn adopted instead of re-parenting them early

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

* fix(ai-agent): cancel unadopted handed jobs with their descendants; a handed-over turn stopped mid-resume saves no memory

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

* fix(chat-sdk): no other send while one sent over a turn waits, even once that turn ended

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

* chore: restore sqlx cache entries the main merge dropped

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

* fix(chat-sdk): a background result row stays with its own call when the tool is called again; drop stale sqlx entries

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-13 13:21:40 +01:00
70711bec68 feat: mount volumes read-only without the exclusive lease (#12410)
* feat: mount volumes read-only without the exclusive lease

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

* fix: gate lease-free volume reads on the fleet version

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

* fix: keep held volumes counted by cache eviction, restore MIN_VERSION in tests

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

* chore: update ee-repo-ref to 38904055ab0d104006278322299bdbcea32c88d1

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

Previous ee-repo-ref: 1fe25fa2530efdba4f8a3bf5dbfbb6f85e616ce7

New ee-repo-ref: 38904055ab0d104006278322299bdbcea32c88d1

Automated by sync-ee-ref workflow.

---------

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

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

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

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

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

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

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

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

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

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

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

* test: cover cookie headers and document the response flag

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

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

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:29:34 +01:00