Skip to content

fix(dashboard): Show subagent starts in the main transcript view - #2132

Merged
dcramer merged 2 commits into
mainfrom
fix/dashboard-subagent-start-main-view
Oct 14, 2026
Merged

dcramer merged 2 commits into
mainfrom
fix/dashboard-subagent-start-main-view

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

A child agent result shows in the main transcript as an agent_invocation.completed event row. The start of the child agent did not show there. The subagent row was put in the collapsed activity group of the Turn, with tool calls and reasoning. So the reader saw the result, but had to expand "N events" to find the start.

isCollapsibleActivityEntry now returns false for subagent entries. They render as top-level rail rows, the same as event messages, failures, and delivered files. Thus both the start and the result of each child agent show in the main view.

The subagent count and the running-subagent check in the activity group summary cannot occur now. I removed them.

Checks

  • pnpm --filter @sentry/junior-dashboard exec vitest run: 46 files, 323 tests pass. I updated the existing assertion in transcriptActivityGroup.test.ts.
  • tsc --noEmit for the dashboard package passes.
  • Manual QA with JUNIOR_DASHBOARD_MOCK_CONVERSATIONS=true pnpm dev on the "Dashboard QA edge cases" conversation: the planner (completed) and reviewer (blocked) rows show above the collapsed "6 events" group. Before, they were inside it.

via David Cramer.

--

View Junior Session [Sentry]

A spawned child agent's result shows as an event row in the main
transcript, but its start row was collapsed into the turn's activity
group. Keep subagent rows out of activity groups so both the start and
the result are visible without expanding events.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Oct 14, 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 Oct 14, 2026 6:12am UTC

Request Review

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

6 screenshot changes — 6 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Attachment · Mobile
Conversation Attachment · Mobile
Changed
Conversation Child Agent Drawer · Desktop
Conversation Child Agent Drawer · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Child Agents · Mobile
Conversation Child Agents · Mobile
Changed
Conversation Subagents Tab · Desktop
Conversation Subagents Tab · Desktop
Changed

Simplify hasLiveActivity now that only tools can be live in a group.
Drop the unused subagent status parameter and duplicate assertion in the
unit test. Update the child agent e2e: subagent rows no longer need the
activity group to be opened.

Co-Authored-By: David Cramer <[email protected]>
@dcramer
dcramer merged commit 3ed8f9a into main Oct 14, 2026
46 checks passed
@dcramer
dcramer deleted the fix/dashboard-subagent-start-main-view branch October 14, 2026 06:19

This branch was successfully deployed

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

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant