* 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>
* feat: label for-loop iterations with a per-iteration expression
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: evaluate iteration labels before the push transaction, under a timeout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: point the EE ref at the iteration_label feature usage registration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: stop QuickJS at its deadline and bound labelling a push as a whole
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: report an interrupted expression as timed out so eval retries it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat: put the iteration label behind a custom iteration labels toggle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 3389335a8f58de7a06ae0402ec1c4fdad3bf6122
This commit updates the EE repository reference after PR #994 was merged in windmill-ee-private.
Previous ee-repo-ref: dde2f1656939c8fc1fc8c75f3ddffcd637cce8a3
New ee-repo-ref: 3389335a8f58de7a06ae0402ec1c4fdad3bf6122
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>
In the Suspend/Approval/Prompt step's help drawer, switching the example to
Python only updated the "Prompt" section; the "Default args" and "Dynamic
enums" sections had no Python variant and stayed TypeScript.
Wrap both in the same bun/python tabs the "Prompt" section already uses, with
the Python equivalent of each example (using wmill.get_resume_urls()).
Fixes#6181
Selecting an owner chip on a trigger list page (HTTP routes, WebSocket,
Kafka, Postgres and the other kinds) filtered the rows the chips are built
from, so every other chip disappeared and switching owners took two clicks.
Apply the owner filter after the chips are computed, as the home page does.
* fix: show a renamed workspace's new name in the header without a reload
* fix: keep the header's workspace name current for non-member renames and overlapping saves
On the page of a script version that is not HEAD, the inputs library is keyed by
the HEAD hash, and the All runs button linked to /runs/<hash>. The runs page
filters by path, so it listed no jobs. Link to the script or flow path instead.
* fix: keep the owner filter on variables and resources to that folder or user
Choosing owner f/ops sent path_start=f/ops, which also matched f/ops_eu/...
and a user u/dev also matched u/devops/.... End the prefix with a slash,
as the home page's owner filter already does.
* fix: escape LIKE wildcards in the owner filter on variables and resources
* fix: open an older script version without flashing the Archived alert
Opening an older version of a script showed "Archived: This path was archived" until the
latest version at its path was fetched, then "Not HEAD". Resolve that latest version before
setting the script, so the page renders both together.
* fix: drop a superseded script load so it cannot overwrite a newer one
The effects that apply the Map component's center and zoom tested the values for truthiness, so a longitude, latitude or zoom of 0 was ignored, and while the longitude was 0 a latitude change was never read either. Check for a value instead.
The "Give feedback" link in Assistant settings opened a new GitHub issue with only a title, so the reporter had to look up the version by hand. The link now also fills the issue body with the backend version (for example "CE v1.876.1"), fetched when the modal first opens.
Fixes#10582
* fix: hit the volume cache on Azure and keep a volume's lease through its pull
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: update ee-repo-ref to 1eb95bcdc7624b90074e8c3a4eaba011b3b5100d
This commit updates the EE repository reference after PR #991 was merged in windmill-ee-private.
Previous ee-repo-ref: 1fac8e2335e3de98e96d602aa6e0a59e8f8f35b8
New ee-repo-ref: 1eb95bcdc7624b90074e8c3a4eaba011b3b5100d
Automated by sync-ee-ref workflow.
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* feat: get an approval step's detail by flow run id and step id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: gate approval step detail like the worker and reach it from run scopes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Node closes idle keep-alive sockets after 5s while tailscale serve's Go
reverse proxy keeps idle upstream connections for 90s, so requests sent
after a short pause land on closing sockets and come back as empty 502s.
Raise the dev server's keepAliveTimeout above the proxy's.
Also stop watching .fast-check/: check:fast rewrites its tsconfig.json on
every run, which makes vite clear its cache and full-reload every tab.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The "Admin only" note in the email trigger editor was gated on
`!userCanEditConfig && isDraftOnly`, which can never hold since a draft
always grants edit rights. Show it whenever the local part is locked, once
the acting user is known, and name the fields it locks.
* fix: center chat icons and show-older ellipsis in the collapsed sidebar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: give the narrow sidebar row icons a 16px slot so labels line up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: let the trigger list search find a trigger by its route, URL or address
The search on the HTTP route, WebSocket, Kafka, NATS and email trigger lists matched only the summary, trigger path and runnable path, so typing what each row's title shows (the route, the WebSocket URL, the topics or the email address) found nothing. Include that text in what the search matches.
* fix: match the trigger list search to the displayed route and WebSocket label
Build the HTTP route once, with its workspace prefix, for both the row title and the search text, and index the formatted 'result of script/flow' WebSocket label alongside the raw URL.
* fix: build enterprise features with systemstat 0.2.8
* chore: update ee-repo-ref to e8f950759d65f1ccc98a4a91c8900709eb8d545a
This commit updates the EE repository reference after PR #989 was merged in windmill-ee-private.
Previous ee-repo-ref: 4aa16423fa16c07f28358dd4a8dccc4889ee6930
New ee-repo-ref: e8f950759d65f1ccc98a4a91c8900709eb8d545a
Automated by sync-ee-ref workflow.
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Restoring a trashed item onto a path that is taken again toasted
"Failed to restore: ApiError: Bad Request", because the toast printed
the error object, whose message is only the HTTP status text. Use the
existing apiErrorMessage helper so the toast shows the response body,
e.g. "A variable already exists at path 'u/dev/token'". The delete and
empty-trash toasts had the same pattern and get the same change.
* feat: pin the current turn's user message at the top of session chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf: find each pinned bubble beside its sticky copy instead of across the transcript
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep an edited message's turn measured and iterate stickies as an array
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep a user message pinned while it is being edited
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: pin an edited first message only once scrolled, keep edits on pinned click, unpin pushed-out copies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
* fix: read flow_input and results of the subflow in agent tool inputs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: resolve the owning flow for nested agent tool inputs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep nested agent output out of the chat conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: give a first-step agent its flow's args as previous_result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: read flow_user_state of the run in nested agent tool inputs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test: pin first-step previous_result and nested flow_user_state for agent tools
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* perf: mount only the tail of a chat transcript, older messages on scroll
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: keep revealed transcript items across prepended pages and follow-mode exits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: say what the transcript tail clamp guarantees
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: drop runs-page rows of queued jobs that complete as skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: advance the runs refresh cursor past hidden skipped jobs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: fetch hidden skipped jobs in their own request on runs refresh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: bound the hidden skipped-jobs scan and run it after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: page through hidden skipped jobs and ignore responses from a reloaded list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: drop listed queued rows the runs refresh no longer returns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: only drop rows queued when the refresh was sent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: only drop queued rows when the refresh queue half is unbounded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(py-parser): read docstring Args descriptions for async def main
The metadata prepass kept only `class` and `def` blocks and matched only
non-async function definitions, so an `async def main` lost the argument
descriptions from its docstring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(py-parser): parse the full source when the metadata prefilter cuts a multiline string
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Updating a variable sent no value whenever the field was empty, so
clearing a non-secret value (or a loaded secret) and clicking Update
reported success but kept the stored value. Only skip the value when the
baseline is empty too, which is the case of a secret never loaded.
* fix: judge session editor rights in the session's workspace
* fix: offer use-in-flow to whoever can build it and drop the FlowBuilder exemption
* fix: offer turn-into-a-flow only to roles that author flows fully
* docs: describe the operator flag whoami actually sends
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>
* fix: refresh a group's members on the Groups page after saving it
GroupInfo fetched the members once when it mounted, and the rows are keyed by name, so after adding or removing members the Members column kept the old list until a reload.
* fix: refresh only the saved group's members and drop superseded member loads
Bump a per-group key on save instead of passing the whole groups array, so
saving one group no longer refetches every row's members. GroupInfo now
ignores a getGroup reply once a newer load has started (latestRequest).
* fix: refresh the schedule's upcoming events when the timezone changes
The preview was only refetched when the cron changed, so after picking another timezone it showed the old zone's run times formatted in the new one.
* fix: ignore stale schedule preview responses
Each cron or timezone change starts a preview request; a slower reply for an earlier value could overwrite the current preview. Reuse latestRequest to drop superseded replies.
S3BufferedReader subclassed BufferedReader without initializing it, so
every method it did not override (readline, iteration, readinto, closed,
TextIOWrapper) failed with "I/O operation on uninitialized object".
The HTTP chunks now feed a RawIOBase that BufferedReader wraps, which
gives the whole file API and replaces the hand-written read/read1/peek.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(python-client): omit approver from get_resume_urls when not given
With approver=None httpx sends `?approver=`, which the server records as
an empty approver instead of falling back to "anonymous".
get_approval_urls already omits it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: point get_resume_urls at get_approval_urls' rationale
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>