Skip to content

fix(web): the workbench's Artifacts panel refreshes when an agent saves an artifact (CL-8604) - #952

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8604-artifact-panel-refresh
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8604-artifact-panel-refresh

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • The workbench page's mailbox SSE subscription already invalidated the workbench timeline/participants and pending-approvals queries on every inbound mailbox event; it now also invalidates tenantKeys.artifacts(workbenchTenantId), which covers both the Artifacts panel and (via the nested artifactCounts key) the library page's kind counts.
  • No new fetches or polling added; the handler cannot distinguish agent messages from the person's own, so it invalidates on every inbound mailbox event, same as the existing invalidations in that handler.

Testing

  • bun run check (typecheck, lint, fmt, build, tests) passes.

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8604

@TheGreatAxios
TheGreatAxios merged commit 0348600 into main Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant