Skip to content

feat(dashboard): Show usage and runtime on subagent rows - #2130

Merged
dcramer merged 2 commits into
mainfrom
feat/subagent-row-usage
Oct 14, 2026
Merged

dcramer merged 2 commits into
mainfrom
feat/subagent-row-usage

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Subagent rows in the conversation Details drawer showed only a name, a status, and an absolute timestamp. You could not see which child agent did the expensive work.

The child agents API now returns cumulativeDurationMs, cumulativeUsage, and auxiliaryCosts for each child. These are the same field names that conversation summaries use. The numbers cover only the work of the child Conversation, so they match the detail page of that child. Like the conversation feed, usage is returned to viewers who cannot see private content. The name, task, title, and error stay redacted.

Each row is now one link card:

  • name, status, and relative update time (exact time on hover)
  • title, then the task when it adds more than the title
  • the error with an icon, with amber for blocked and red for failed
  • tokens · cost · runtime, in the same format as conversation rows

The mock child agents read their usage from the matching mock child Conversations. This keeps the drawer and the child page in agreement during visual QA.

via David Cramer.

--

View Junior Session [Sentry]

@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 3:51am UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

Review screenshots in Frameshift

Conversation Subagents Tab · Desktop
Conversation Subagents Tab · Desktop
Changed
Conversation Subagents Tab · Mobile
Conversation Subagents Tab · Mobile
Changed

@dcramer
dcramer merged commit f7c6838 into main Oct 14, 2026
48 checks passed
@dcramer
dcramer deleted the feat/subagent-row-usage branch October 14, 2026 04:00
sentry-junior Bot added a commit that referenced this pull request Oct 14, 2026
Record the task and result of a child agent as messages in the child
Conversation, so its transcript drawer and page are no longer empty.
Give child agent results their own short input instead of the task
wrapper, and pass the child's output to the parent as-is.

In the dashboard, open the child transcript from a Subagents row, and
show an agent tree breadcrumb of the parents on a child Conversation
page. Keep the usage and runtime row layout from #2130.

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

This branch was successfully deployed

1 active deployment
Preview – junior-docs — f40956b5 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: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant