Files
windmill/backend/tests
d1a2c13cf2 feat: add a recently run panel to the workspace home (#12105)
* feat: one home for the workspace and AI sessions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: home's ai side opens its composer, lists sessions, previews items

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: keep a hand-off that reuses home's draft on its session page

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: address local review findings on home's ai side

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: address local review findings on home's draft routing and links

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: keep home's layout on both sides of the sidebar switch

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: drop home's continue last session row

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: scope ai session writes to the folders it works in

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat: show each folder's instructions, skills and mcp servers

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: stop the breadcrumb sliding when switching sessions

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

* feat: make the sidebar switch a button row that only swaps the list

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

* feat: list ai sessions inline in the workspace sidebar

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

* feat: keep home's composer open while switching workspace

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

* feat: data stores in the data menu and a customizable sidebar

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

* feat: move folders and groups to settings and add a data section to the sidebar

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

* feat: space the sidebar's sections apart and give its rows a little more height

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

* feat: add a recently run panel to the workspace home

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

* feat: let a folder be added to the ai session context

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

* feat: mention recent runs in home's composer and list every run in the header

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

* feat: mention cards, folders and users from home's lists

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

* feat: scroll to a recent run's item in home's list and align the panel with the composer

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

* feat: open a folder's badge in its assistant settings section

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

* feat: fold home's header actions into its menu on small screens

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

* feat: hide ai sessions from assistant settings instead of unpinning home's composer

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

* chore: remove the session mode switch the sidebar no longer renders

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

* fix: scope recent runs to the token's tags and window them by when they ran

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

* fix: key recent runs by kind and path, show canceled runs and poll only while shown

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

* fix: focus the mcp badge's folder and drop +@ from cards that cannot be context

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

* fix: follow same-page chat links, restore new session on the rail and list ai chats once

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

* fix: follow a chat link whenever the panel shows another conversation

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

* fix: limit recent runs before the join, reveal by kind, gate ask ai on failing items

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

* fix: keep the danger zone from hiding ai in a staged fork's parent

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

* fix: order concurrent running runs newest first

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

* feat: let the sidebar's session list fill the space above its pinned rows

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

* refactor: drop the group data pages option and keep data as a sidebar section

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

* fix: keep home's composer open only in an empty workspace

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

* feat: tell admins without ai credentials they can also hide ai sessions

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

* fix: fold home's composer on an outside click while the sidebar is hidden

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

* feat: scroll the sidebar as one list and pin the session edit actions

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

* fix: iterate the open overlays with Array.from so the type check passes

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

* chore: move working folders and folder instructions to their own pr

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

* fix: keep a sending home draft in the workspace it was sent from

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

* feat: add working folders and folder instructions to ai sessions

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

* Apply automatic changes

* fix: keep list_workspace_items limit one cap across scoped folders

A session scoped to several folders listed each with its own limit and the
same page, so it returned up to N x limit items per type. The folders now
read as one listing, folder after folder, paged by limit.

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

* fix: build the sidebar section headers on the design-system button

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

* Revert "Apply automatic changes"

This reverts commit 58f23ffd3f: a version-bump
workflow rewrote backend/Cargo.lock while the PR still diffed against an older base.

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

* fix: keep folder instruction drafts, tell no folders from the whole workspace

- Opening another folder instruction, or the workspace or user block, parks
  the open one's unsaved text by path; reopening it restores the draft.
- The turn notice compares the scope lists themselves, so a switch to no
  folders reads "no folders" rather than "the whole workspace" or nothing.
- Folder instructions already in the WORKING IN section are no longer also
  listed as delivered on first touch.

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

* fix: keep new folder instruction drafts, widen the prompt with the scope

- A new folder instruction's unsaved body is parked like an existing one's,
  and opening "New folder instructions" again restores it.
- "Allow writes in" mid-turn rebuilds the system prompt, so the WORKING IN
  section, skills and scoped instructions follow the widened gate.
- The outOfScope comment says runs are never held.

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

* fix: key parked instruction drafts by workspace, keep the editor through a delete

- Parked drafts are keyed by workspace and path, and Escape on the list
  drops only the current workspace's.
- A delete that lands after another instruction was opened leaves that
  instruction's editor alone.

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

* fix: scope the delete's editor reset to the workspace it was made in

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

* fix: keep a new folder instruction draft per workspace

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

* fix: let parked instruction drafts not hold back a workspace's reload

Parked drafts are kept by workspace and survive a reload, so only the open
drafts wait for it. Returning to a workspace with a parked draft reloads
its own instructions instead of keeping the last workspace's.

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

* fix: park an open instruction draft under the workspace it was opened in

After a workspace switch the open editor still holds the previous
workspace's text; parking reads it from `opened`, so opening another
instruction or pressing Escape no longer drops it.

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

* fix: leave another workspace's open instruction draft alone on Escape

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

* feat: show the danger zone's hide ai sessions as an error alert

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

* chore: update ee-repo-ref to a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

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

Previous ee-repo-ref: 9084bd523e19c5de1f43568714c6aeaf6a466368

New ee-repo-ref: a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

Automated by sync-ee-ref workflow.

* chore: update ee-repo-ref to a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

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

Previous ee-repo-ref: 5aa52fcc8e32431cf6cc976186622c48dcfb9641

New ee-repo-ref: a445ac5e719cc0bb2bc22bb04bb871b00b1bc808

Automated by sync-ee-ref workflow.

* fix: restore a parked folder instruction draft with its own path

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

* feat: flash the focused folder when assistant settings open from a badge

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

* fix: play the focused folder flash once per badge click

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

* fix: count failed runs in the recent runs header and on each item

The header counted failing items while its popover counted failed runs, so
one item with 12 failures read as "1 failing" next to "12 failed". Both
now count failed runs, and each item carries its own failed_runs over the
whole window so the total has a visible source.

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

* chore: say what the per-item failed count explains

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

* perf: bound the completions recent_runs examines and poll it every 30s

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-11-02 22:55:25 +01:00
..