Skip to content

fix(dashboard): Refresh the details panel when conversation detail changes - #2667

Merged
thomasjiangcy merged 1 commit into
mainfrom
fix/details-panel-follow-detail
Nov 4, 2026
Merged

thomasjiangcy merged 1 commit into
mainfrom
fix/details-panel-follow-detail

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #2655.

The details panel fell behind the transcript. Subagents stayed "running" after the transcript showed them Completed, and new Review items took a long time to reach "Needs you". Only the detail report polls. The panel's child agents, Watches, memories, and Review items load from their own endpoints and refreshed only on remount or window focus.

Now, when a detail poll returns a new ETag, the detail queryFn invalidates those reads. Only mounted reads refetch, so a closed panel adds no requests. Since #2655, unchanged polls are 304s, so the panel refetches only when the Conversation changed. The new ETag comes after the data the panel reads: recordSubagentEnded writes subagent_ended after the invocation is terminal, and Review items and Watches exist before their tool result events are written.

The panel query keys now come from one conversationSideReadQueryKey helper, so the refresh list and the hooks cannot drift. The archive mutation moved to conversationArchive.ts with no change, because queries.ts went over the 1,000-line limit.

via @thomasjiangcy.

--

View Session [Sentry]

…anges

Co-Authored-By: Thomas Jiang <20501235+thomasjiangcy@users.noreply.github.com>
@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 4, 2026 5:01pm UTC

Request Review

@thomasjiangcy
thomasjiangcy enabled auto-merge (squash) November 4, 2026 17:02
@thomasjiangcy
thomasjiangcy merged commit a31e0b9 into main Nov 4, 2026
43 checks passed
@thomasjiangcy
thomasjiangcy deleted the fix/details-panel-follow-detail branch November 4, 2026 17:07

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 0756e82c Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant