Commit Graph
15943 Commits
Author SHA1 Message Date
hugocasa d349b1909a Merge remote-tracking branch 'origin/main' into deploy-block-on-failing-ci-tests
# Conflicts:
#	backend/windmill-api/src/ai_session_tools/gen/instructions.json
2026-11-24 17:32:24 +01:00
hugocasaandClaude Opus 5.5 af5a1d51e9 fix: ignore archived tests, gate only live-version archives, retry merges once
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:31:25 +01:00
hugocasaandClaude Opus 5.5 3f74141dc3 feat: promote ci-covered items from the fork server-side instead of comparing payloads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:15:17 +01:00
Raunak Burrows cf8a1c3850 fix: suggest filter values by their label and in any case (#12582)
A filter's value suggestions matched the typed text against the option's value only, case-sensitively. On the Runs page "timeframe:within" listed nothing, since every timeframe starts with "Within", and "job_trigger_kind:pub" did not find GCP Pub/Sub, whose value is "gcp". Suggestions now match the label too, ignoring case.
2026-11-24 13:19:37 +01:00
Ruben Fiszelandrubenfiszel 10a9d3bf89 chore(main): release 1.883.0 (#12608)
* chore(main): release 1.883.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.883.0
2026-11-24 12:36:43 +01:00
2ca87efdb8 feat: pick how to connect a resource in a wizard, one row per provider (#12418)
* feat: pick how to connect a resource in a wizard, one row per provider

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

* fix: keep custom _sandbox type names and drop a stale BYO instance

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

* fix: keep the import path on manual entry and unblock Back from an invalid form

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

* feat: stepper only for a real choice of method, badges say how a provider connects

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

* fix: fetch provider badges only with the list shown, keep scopes on method re-pick

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

* fix: drop the one-click setup badge from the provider list

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

* chore: drop a comment about the removed Others section

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

* feat: mix custom resource types into the list, first and badged

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

* feat: read the sign-in badge from list_connects, no request per provider

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

* feat: badge providers whose admin shares client credentials, render the list once in order

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

* fix: word shared client credentials as instance-level, not an admin's

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

* chore: update ee-repo-ref to a403f3ce12fd150dd649098e61562eda1e6a4d81

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

Previous ee-repo-ref: d29259b728e6da017caeec86ef6df304d8cace17

New ee-repo-ref: a403f3ce12fd150dd649098e61562eda1e6a4d81

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-24 12:32:32 +01:00
c3cb814e9e feat: store refreshed installation JWT for managed GitHub app git sync (#12592)
* chore: bump ee ref for refreshed installation JWT storage

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

* chore: bump ee ref for x-wm-jwt-refresh header

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

* chore: update ee-repo-ref to ab02cdcdd4b936e8f1c905fc70df182d1a58e5bb

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

Previous ee-repo-ref: d383fe1e30f95607d596b17ea52347f8ff149608

New ee-repo-ref: ab02cdcdd4b936e8f1c905fc70df182d1a58e5bb

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-24 12:24:27 +01:00
Raunak Burrows 17fe165d60 fix: apply a changed default value to the Time and Date Select app components (#12581)
* fix: apply a changed default value to the Time and Date Select app components

Both components applied their default only while they had no value, so once it was set, a new default (edited in the editor or computed from another component) never reached them. Text, Number, Date and the other inputs apply every new default. The Time input also read its value in that effect, so clearing the field put the default straight back.

Date Select now skips a default that does not parse as a date instead of throwing, since a default linked to an input is seen while it is being typed.

* fix: clear a Time input's result once its value is emptied

A cleared field now keeps its empty value, so the result and validity outputs are reset instead of keeping the last time.
2026-11-24 12:22:21 +01:00
Raunak Burrows 508b9f84f3 fix: let a Date & Time input become valid again once a later day is picked (#12584)
Its validity was only set back to true when the value fell on the minimum's (or maximum's) own day, so after an out-of-range value, picking a valid time on another day left validity false. The checks now combine into one result that is set on every change. The max check could also overwrite a failed min check with true.
2026-11-24 12:21:52 +01:00
GuilhemandClaude Opus 5.5 924d9b7755 feat: fold consecutive test runs of one item in the ai chat (#12599)
* feat: fold consecutive test runs of one item in the ai chat

* fix: keep a test run out of its group until its form opens

* fix: read an editor test run's item from the open editor, not its inputs

* fix: keep test runs refused before starting out of a test group

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

* fix: read null tool arguments safely and keep refused app runs out of a test group

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

* fix: fold an agent's resource writes and reads into its test group

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

* docs: put the test-group comments over the functions they describe

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:21:31 +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 b917f6f458 stop concurrent C# first builds racing in .NET first-run setup (#12625)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:05:01 +01:00
GuilhemandClaude Opus 5.5 3194184c52 feat: keep mcp consent page open with a copyable callback for localhost clients (#12619)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:54:13 +01:00
AlexRV12 f9ade481da fix: generate branch predicates from the branch node (#12623) 2026-11-24 11:45:48 +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
Ruben FiszelandClaude Opus 5.5 e810cbb93a feat(cli): 30-day CLI login tokens with expiry picker and token roll (#12621)
* feat(cli): 30-day default CLI login tokens, expiry picker and wmill workspace login

The browser authorization page minted CLI tokens that never expired. It now
offers an expiration (30 days by default) within max_token_expiration_days.
An expired or revoked stored token gets a clear message before the CLI signs
in again, and `wmill workspace login` replaces a profile's token on demand,
revoking the previous one when the browser login created it.

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

* fix(cli): keep re-login output off stdout, reject a mismatched --base-url

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

* fix(cli): keep a token other profiles still use, log login port to stderr

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:17:57 +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
AlexRV12 a87ab5d6ac fix: stop AI sessions rewriting the tab's copy of the AI settings (#12615)
* fix: stop AI sessions rewriting the tab's copy of the AI settings

* chore: clarify the template picker's session config comment
2026-11-24 10:23:12 +01:00
hugocasaandClaude Opus 5.5 5044d02325 fix: serialize BigInt and non-finite elements of sql template arrays (#12616)
* fix: serialize BigInt and non-finite elements of sql template array args

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

* docs: note how json-typed array args keep serialized elements

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:22:05 +01:00
Ruben FiszelandClaude Opus 5.5 db218c0d3a fix: raise windmill-worker macro recursion limit so main builds again (#12612)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:29:13 +01:00
Ruben FiszelandClaude Opus 5.5 e6d9ff8f95 feat(nsjail): make rlimit_fsize configurable per worker (NSJAIL_RLIMIT_FSIZE_MB) (#12609)
python3, ansible and dbt nsjail run configs hard-code rlimit_fsize: 1000, so a
jailed job cannot write any single file larger than 1000 MiB, even with a
disk-backed /tmp (nsjail_tmp_backing=disk) and plenty of worker disk. Jobs that
download multi-GB files (e.g. a 1.75 GB CSV) fail, while the same job works
under unshare.

Add NSJAIL_RLIMIT_FSIZE_MB (worker env, read at startup): MiB, or
unlimited/none/inf/0 for rlimit_fsize_type: INF. Unset keeps 1000 MiB. Reuses
the rlimit_as renderer, now generic over the field name. Total space stays
bounded by the /tmp tmpfs size or, when disk-backed, the worker's disk.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:26:39 +01:00
GuilhemandClaude Opus 5.5 1fb70c4fab feat: restore working in a new fork from the Home session composer (#12559)
* feat: restore working in a new fork from the Home session composer

* feat: ask for a fork or, for a bypasser, direct work when building in a protected workspace from Home

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

* fix: let direct work be left without forking, and check staged ids with the server

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

* fix: suggest a dev workspace's id, badge a staged dev workspace, and stage off a fork lock's dev workspace

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:30:42 +01:00
hugocasaandClaude Opus 5.5 ff8f2e05fb fix(cli): require the dot in .fetch.ts/.bun.ts/.deno.ts language suffixes (#12583)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:28:16 +01:00
Ruben FiszelandClaude Opus 5.5 ba0ef82eed feat: show who deployed each version in script and flow history (#12587)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:28:03 +01:00
hugocasaandClaude Opus 5.5 a5c7dd4f69 fix: steps inside expanded subflows on the flow detail and run pages (#12591)
* fix: flow detail page steps inside expanded subflows, show approvers

- Resolve a step inside an expanded subflow from the expansion's modules, so
  its detail panel shows the step instead of a bare node id.
- Key expanded subflows' groups and modules by their prefixed node ids, so
  expanding the same subflow at two steps no longer trips cycle detection and
  inner step ids no longer shadow the parent flow's steps.
- Show an approval step's approvers, required approvals and timeout in the
  step panel.

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

* fix: drop the approval section from the step panel

Approvers will be shown in a separate change.

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

* fix: show definitions of expanded subflow steps on the run page, link subflow paths

The run page's Node definition tab looked the selected step up in the run's
top-level modules only, so a step inside an expanded subflow showed nothing.
Both viewers now resolve it through expandedSubflowStepOf. A subflow step's
path in the step panel links to that flow.

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

* fix: render script and subflow paths in the step panel as the same accent link

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

* fix: step panel path links use the graph's step icon and an external link icon

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

* fix: drop the copy path button from the subflow step panel

The path is shown in full as a link, as for workspace script steps.

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

* feat: show which subflow an expanded step belongs to

The step panel of a step inside an expanded subflow names the subflows crossed
to reach it, each linking to its flow, on the detail and run pages. The graph
node's hover popover gives the step's full position (g › a › b) instead of the
badge's slow native tooltip.

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

* fix: graph node tooltips use the standard tooltip, step parentage on the id badge

The step label's tooltip moves off the deprecated popover onto the shared
Tooltip, and no longer repeats the path when it is the label. An expanded
step's subflow steps show as badges in a tooltip on its id badge.

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

* feat: link the script or subflow path from a graph node's tooltip

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

* fix: address review findings on the step links and tooltips

- No link for a script or flow step whose path is still empty.
- An inline script with a path and no summary keeps its label in the tooltip.
- Hub flow paths link to the hub from the step panel.
- subflowPathChain uses $bindable() without a default.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:27:40 +01:00
AlexRV12 3ceff81e72 fix: use the session's AI config in session editor tabs (#12593)
* fix: AI features in session editor tabs use the session's AI config

* fix: hide the completion toggle until the session's AI config loads
2026-11-23 21:27:27 +01:00
Guilhem 1fe3704515 fix: make schedule and trigger lists usable on small screens (#12594)
* fix: make schedule and trigger lists usable on small screens

* fix: keep row actions on the title line for draft rows on phones

* fix: let native trigger titles shrink on phones
2026-11-23 21:27:05 +01:00
GuilhemandClaude Opus 5.5 344694ada7 feat: redesign the token scope picker and add a scope search (#12595)
* feat: redesign the token scope picker and add a scope search

Put label and expiration before permissions and hold the picker in one
card: selected scopes on top, a search over groups and scopes, and one
checkbox per scope showing its exact scope string. Read-only groups
(Trigger History, Documentation, Data Metrics) can now be ticked as a
whole, and the first row of selected scopes no longer shifts the list.

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

* feat: pick token scope paths with a path picker

Restricting a scope to paths now uses one select-like field per scope:
browse folders, search items, or type a path that matches nothing. It
reuses the workspace tree the chat context picker builds, so drafts show
under their friendly path, and offers empty folders for scopes on other
resources. The group counter now counts the read scope implied by write.

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

* fix: list the token's workspace in the path picker and keep Escape for its list

- The path picker lists the folders and items of the token's own workspace, which an
  edited token may hold apart from the workspace on screen.
- An open picker sits on the overlay stack, so Escape closes its list instead of the
  token edit dialog around it.
- A group checkbox also grants bare run scopes (apps:run, resources:run).

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:26:50 +01:00
GuilhemandClaude Opus 5.5 3a720da989 fix: derive chat lookup grouping from tool definitions (#12596)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:26:33 +01:00
1d3fcb4a06 fix: harden telemetry submission (#12606)
* [ee] fix: harden telemetry submission

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

* chore: update ee-repo-ref to fe0b119cd8292b1dcaf12100192ab7f4ec53fb48

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

Previous ee-repo-ref: ddad2700daf20a9680de917ab0ff78a5e1444758

New ee-repo-ref: fe0b119cd8292b1dcaf12100192ab7f4ec53fb48

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-23 21:26:18 +01:00
hugocasaandClaude Opus 5.5 d53c068876 fix: check scripts before the deploy transaction and accept kept flow pins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:49:04 +01:00
hugocasaandClaude Opus 5.5 9736b5e1c1 fix: hold renames, flow pins and codebases to the ci test rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:44:04 +01:00
hugocasaandClaude Opus 5.5 34a01ac644 fix: compare script modules and real step metadata in the ci test rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:18:23 +01:00
hugocasaandClaude Opus 5.5 d80b5b5b37 feat: add a deploy rule requiring passing CI tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:08:56 +01:00
Ruben Fiszelandrubenfiszel 28985a122c chore(main): release 1.882.0 (#12578)
* chore(main): release 1.882.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.882.0
2026-11-22 16:13:27 +01:00
Ruben FiszelandClaude Opus 5.5 374d9d1c37 chore: publish npm packages with trusted publishing (#12579)
* chore: publish the client and cli with npm trusted publishing

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

* chore: drop the npm token script and pass the client's access level

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:49:14 +01: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
Ruben Fiszelandrubenfiszel 443f41283e chore(main): release 1.881.1 (#12576)
* chore(main): release 1.881.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.881.1
2026-11-21 09:13:56 +01:00
Ruben Fiszel dc84446e47 fix: pin oracle instantclient stage to amd64 in full ee image 2026-11-21 09:00:55 +01:00
Ruben Fiszelandrubenfiszel 184b97d2f6 chore(main): release 1.881.0 (#12554)
* chore(main): release 1.881.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
v1.881.0
2026-11-20 18:08:28 +01:00
AlexRV12 2390f11c78 fix: offer script-step test and edit to compose roles with code (#12574) 2026-11-20 18:08:02 +01:00
64995fae4a feat: hide items from home's recently run panel (#12572)
* feat: hide items from home's recently run panel

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

* fix: list hidden recent-run items only within the folder filter

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

* feat: store hidden recent-run items server side and leave them out of counts

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

* fix: carry hidden recent-run items over a workspace id change

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

* fix: carry hidden recent-run items over email changes and user removal

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

* test: pin hidden recent-run items leaving every count

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

* test: drop the hidden recent-run items test

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 18:04:22 +01:00
AlexRV12 8b3b692b3c fix: session chat shows its own workspace's AI config (#12573) 2026-11-20 17:43:02 +01:00
6ec19f0fe5 feat: lead the run graph's error handler to the node that receives its output (#12516)
* fix: show retries, subflow error handlers and empty branches in the run graph

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

* fix: keep stale and preprocessor retries off other steps, show empty-branch note only on success

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

* fix: list retry attempts in the graph node panel, align approval page with brand guidelines

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

* fix: isolate retry attempt viewers and mount one list per view

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

* fix: give retry attempt viewers their own loop selection scope

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

* fix: mark a denied or timed-out approval on its own step in the run graph

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

* fix: show a recovered subflow as the failed step its parent records

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

* feat: lead the run graph's error handler to the node that receives its output

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

* fix: end a continuing branch-one's handler edge at the branch-one

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

* fix: hang the error handler of a denied approval from the approval step

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

* refactor: draw the handler edge on the same path instead of bowing around the column

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

* fix: pick a retried step's attempt on the graph, as a loop's iteration

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

* fix: clear a subflow's step states when switching attempts, keep the retry line for the preprocessor and error handler

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

* feat: one step settings bar with the attempt picker in its menu

* fix: keep a nested attempt pick, open loop and branch settings from the bar

* feat: show how many steps were retried inside a collapsed subflow

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

* feat: expand a subflow from its retried-inside line

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

* fix: use the design-system button for the retried-inside line

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

* feat: mark error handlers and the path a run took in the run graph

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

* fix: count error handlers only where one can have run, a few requests at a time

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

* fix: skip successful iterations when counting a subflow's error handlers

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

* feat: draw the run's path plain and dashed, with a dashed outline on steps that did not run

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

* feat: show retry and error handler counts together under a collapsed subflow, drop the not-run outline

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guilhem Lemouel <guilhemlemouel@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-20 17:13:42 +01:00
hugocasaandClaude Opus 5.5 5819ced95b fix(cli): show the workspace commands actually target in workspace list (#12464)
* fix(cli): show the git-branch-resolved workspace in workspace list/whoami/switch

When the current git branch matches a wmill.yaml workspace's gitBranch,
commands target that workspace regardless of the active profile, but
`workspace list`, `whoami` and `switch` only printed the stored profile.
Print a note naming the workspace commands actually target, as is already
done for fork branches. Skip it when --workspace is passed, since that wins.

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

* fix(cli): cover unmatched-branch and fork-base cases in the workspace target note

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

* fix(cli): read wmill.yaml diagnostics-safe in the workspace target note

Use a peek that never exits, throws or chdirs, flag a target with no local
profile, and drop the multi-workspace claim that the active profile is skipped.

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

* fix(cli): tolerate empty legacy entries and name the effective id in the single-workspace note

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:56:01 +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
GuilhemandClaude Opus 5.5 c8d047905e feat: give the chat's deploy confirmation a card of its own (#12571)
* feat: give the chat's deploy confirmation a card with editable fields and a diff

* fix: refuse a picked deploy path that is already taken

* fix: show the folder default user a first deploy will run as

* fix: close the run-as picker once a user is chosen

* fix: let Escape stop a turn in a drawer and seed the card from the staged path

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

* fix: read a raw app's staged path before canonicalizing its unsaved draft

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

* chore: drop the deploy card dev page

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:50:42 +01:00
GuilhemandClaude Opus 5.5 a8f7c56c7e fix: store an artifact edit only when made on its latest version (#12477)
* fix: store an artifact edit only when made on its latest version

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

* fix: retry a session save with its latest state after making room

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

* refactor: drop artifact write branches no saved write can reach

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

* fix: keep a renamed plan's approval and catch stale edits earlier

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

* fix: word the stale artifact refusal without naming another tab

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

* fix: tell a private window apart from full storage in artifact refusals

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:37:52 +01:00
Tristan TRandClaude Fable 5.2 4fd4b04947 feat(hub): publish a folder's AI agents with their project (#12490)
* feat(hub): publish a folder's AI agents with their project

A saved AI agent is an `ai_agent` resource, and the Hub bundle shipped every
resource as an empty stub: a project built around an agent reached the Hub with
the agent's tools and without the agent.

- The publish screen lists a folder's agents as items. An agent is bundled like
  the one-step flow a run makes of it, so the scripts its tools run come along
  and its `$res:` references (provider, tools' fixed inputs) are relocated by
  the same code as a flow's. Its deploy identity and sharing switches stay here.
- Agents are synced as a set after the items (`POST /hub/agents`).
- Its demo is a conversation: "Record conversation" chats with the agent in a
  conversation of its own, one run per message, and saves each turn with its
  run (`POST /hub/projects/{slug}/agent_recording`).
- Installing a project recreates its agents after the resource stubs they
  point at.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(folders): count a folder's AI agents on their own

The Folders table counted a saved agent among the resources, so a folder built
around an agent showed nothing that said so. Agents get their own column, and
the resources count is the credentials and other resources only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(hub): hand agents to the deploy layout as the resource rows it knows

Widening the shared layout's item kind broke the workspace deploy screen, which
passes that kind on. The layout already draws an agent as a resource row it is
told about (isAgent): the publish screen now uses that, and the layout is
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* List the agents a flow or script uses in its Hub dependencies

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

* Export the read-only AI chat components from the package

The Hub renders recorded agent conversations with the same components as the
AI Sessions share page.

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

* Record only the current turn's tool calls; address review nits

- readAgentTurn reads the messages after the turn's own user message: a run
  with memory returns the whole conversation, so turn N repeated the tools of
  turns 1..N-1. Covered by a two-turn test.
- randomUUID from $lib/utils/uuid instead of crypto.randomUUID, which is
  missing on instances served over plain http.
- The record drawer's message box uses TextInput instead of a raw textarea.

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

* Ship agents' MCP servers and variables; keep background tool calls

- extractAgentRefs and rewriteAgentValue read an MCP tool's resource_path,
  which the flow walker skips, so its resource is stubbed and relocated
  instead of left pointing at the publisher's path.
- collectExportVarPaths visits agents, so a variable only an agent uses is
  relocated on retarget and gets its placeholder on install.
- readAgentTurn ignores the user messages that carry a background tool's
  result (tagged with agent_action) when finding the turn's start, so a turn
  that waits on a background tool keeps its call.
- The record buttons use unifiedSize instead of the deprecated size.

Tests for each.

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

* Ship nested MCP servers and linked agents; surface agent-list failures

- The flow walker reads, on every aiagent step or tool, the saved agent it
  links to (`agent`) and its MCP tools' `resource_path`, and the rewriter
  relocates both keeping their prefix. This covers agents nested as tools and
  flows with agent steps, not only an agent's own tools.
- A referenced `ai_agent` resource is pulled into the bundle as an agent,
  so a linked agent from another folder ships whole instead of as an empty
  stub.
- The agent list no longer swallows failures: agents sync as a full set, so
  publishing without them would have removed them from the Hub.

Tests for the nested MCP tool, the linked agent's retarget and the linked
agent from outside the folder.

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

* Walk an agent's whole value for references; harden recording

Bundling
- A saved agent is read unvalidated and its tools nest, so references are no
  longer looked up field by field. One walk over the whole value serves
  extraction, rewriting and the install check: whole-string $res: values,
  $res: tokens in rawscript content, and the shapes that name things by path
  ({type: script|flow, path}, {type: aiagent, agent}, {tool_type: mcp,
  resource_path}) wherever they sit. Covers tool_inputs, output_schema and
  any key added later.
- Inputs are read as the worker reads them: a static value is data (only
  whole-string refs count), a JavaScript expr is never resolved. Only on real
  input entries, so nothing can be hidden beside them from the install check.
- Prose holding a $res: token mid-sentence is no longer a reference.
- enabled_tools follows an MCP server to its new path.
- An agent named by a trigger is shipped whole like one an item references.

Recording
- An agent parked on an approval or a question is detected and its run
  cancelled with a clear message; closing the drawer or disposing the session
  cancels the run in flight.
- Turns no longer keep the whole run: it names who ran it and holds the agent
  as the workspace stores it. Structured-output calls are not shown as tools;
  web searches are.
- Send is disabled while saving; a failed message is handed back to retype; a
  save does not close another agent's drawer.
- The empty agent sync ignores only a 404.

Backend: agent_recording requires the recording key (null clears). OpenAPI:
agents is required in folder usage.

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

* Address review: install strips identity keys, shared transcript, one agent walk

- importAgent drops on_behalf_of, run_on_behalf_of and slack_anyone, through
  the same helper as publish: an export written through the Hub API could
  otherwise bind the agent to whoever installs it.
- The recorder draws the conversation with AgentRecordingTranscript, the AI
  chat's read-only components, so tool arguments and results are seen before
  they are saved. The component and the turns-to-messages mapping are
  exported for the Hub page to use the same ones.
- readAgentTurn moves to aiAgentResult.ts on top of parseAgentResult;
  STRUCTURED_OUTPUT_CALL has one copy.
- The flow walker hands an aiagent step's agent part to walkAgentConfig
  instead of recognising the shapes itself; comments trimmed.
- deserialize_explicit is generic.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Record an agent's demo in the agent's own chat

The record drawer embeds FlowChat as the agent page's Chat tab does (new
conversation, no sidebar), so the recorder uses the same composer, transcript,
tool cards and approval/question handling. Saving reads each answered
message off its completed run with readAgentTurn; failed or unfinished runs
are left out.

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

* Retarget imported agents onto an existing resource; recorder guards

- "Use an existing resource" now sees saved agents: each ai_agent resource
  is read, those in the project have their resource references moved
  (provider, MCP servers, tool inputs) with the run identity preserved, and
  any reference left unmoved, outside the project or unreadable keeps the
  stub. Before, the stub could be deleted under an agent still reading it.
- Closing the record drawer or disposing the session cancels the run in
  flight, which the chat stops following but does not stop.
- Saving waits for the message being answered instead of leaving it out,
  and says how many failed messages were left out.
- The recorder warns when the agent keeps no managed memory.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Move enabled_tools with a reused MCP resource; cancel a late run

- rewriteAgentResourceRefs goes through rewriteAgentConfig, so the
  enabled_tools entry naming an MCP server follows it when an existing
  resource replaces the stub. The worker matches names exactly and dropped
  the server otherwise.
- A run whose id comes back after the record drawer closed is cancelled:
  it was not tracked yet when the close looked for a run to stop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 16:37:39 +01:00