Repository navigation
fix(dashboard): Show subagent starts in the main transcript view - #2132
Merged
Merged
Conversation
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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
6 screenshot changes — 6 changed · 0 added · 0 removed Review screenshots in Frameshift |
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
approved these changes
Oct 14, 2026
11 of 35 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A child agent result shows in the main transcript as an
agent_invocation.completedevent row. The start of the child agent did not show there. Thesubagentrow 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.isCollapsibleActivityEntrynow returnsfalseforsubagententries. 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 intranscriptActivityGroup.test.ts.tsc --noEmitfor the dashboard package passes.JUNIOR_DASHBOARD_MOCK_CONVERSATIONS=true pnpm devon the "Dashboard QA edge cases" conversation: theplanner(completed) andreviewer(blocked) rows show above the collapsed "6 events" group. Before, they were inside it.via David Cramer.
--
View Junior Session [Sentry]