Repository navigation
fix(agent-pane): show workflow progress in tray and inspector (carry of #27886) - #29777
Conversation
…canning direct events" This reverts commit 420a013. Agent-Session: https://cmux.com/deeplink/agent?id=aid-f518dd20e1523aa0398c
Resolve App and tray conflicts while preserving keyed progress updates and page-clock migration. Agent-Session: https://cmux.com/deeplink/agent?id=aid-f518dd20e1523aa0398c
|
Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at fcb542e SHIP at fcb542e Visual verdict: no images; Leo tries the build
Validation: all 13 changed files passed syntax parsing; isolated progress-store checks passed. React tests could not run because Bun and dependencies are unavailable. Follow-ups:
|
Base added the agent's kind to the Inspector's hover card (#29276); the card that subscribes to live progress keeps it. The workflow test now checks only that Stop's track and the chevron stay last, and subagent-tray-trailing owns the column order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-63b9964940c20354b639
|
Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at a206513 SHIP at a206513 Visual verdict: no images; Leo tries the build
No blocking code findings. Changed files parsed successfully; isolated progress-store checks passed. Full tests were unavailable because Bun and project dependencies are absent. Follow-ups:
|
Base now leaves usage out of every subagent list, the Inspector's included; only Context says tokens. So useAgentProgress always reads without usage, and the usage option and progressUsage prop go away. The agents pill is gone from base (#29792), so the progress store's comment no longer names it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-63b9964940c20354b639
|
Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at 469b43b SHIP at 469b43b
No blocking code findings. Syntax checks and focused store checks passed. React tests could not run because Bun and dependencies are absent. Follow-ups:
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
This comment has been minimized.
This comment has been minimized.
…ry-27886 # Conflicts: # webviews/test/session-info-subagent-card-stays.test.tsx
…ion Info Base turned workflows on by default (#30192), so a running workflow leaves the tray; stopped building rows in a folded tray (#29250); and renamed the Session Info aside (#29921). The App tests turn workflows off as the workflowLabs push would, open the tray for their chats, and read aside.acpmux-session-info. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-63b9964940c20354b639
|
Review (subagent claude-opus-5-5 medium): SHIP at eba6a78 Delta review covering:
Fleet: 96/96 pass across the tray and Session Info suites at eba6a78. Follow-ups:
|
|
Review (next-review patch-id; carried): SHIP at cbc4c94 The independent SHIP at eba6a78 carries to this head: the PR's own change ( |
Carries #27886 (its owner's lane VM no longer resolves). It keeps that PR's commits and authorship, merges the current base, and fixes the conflicts against base's newer tray design.
Takes back #28164: replaces its whole-list progress dependency in App.tsx with keyed
AgentProgressStoresubscriptions, so a usage-only update notifies only the changed agent instead of rebuilding every row.Leo, 2026-10-29: "i also want all those ui fixes/improvements in and stuff too along with more think tanks to improve stuff too after learning all those ui dev things".
What it does
subagents/agentProgressSource.ts,agentProgressStore.tsx). A usage-only snapshot touches one row and rebuilds no list. Compatibility snapshots, versioned snapshots and session switches keep their progress.Changes in this carry (base merge)
useAgentProgresstakes the sameusageoption, the tray'sAgentLinepassesprogressUsage={false}, and the Inspector keeps its tokens.AgentLinegetsprogressAgenttoo. Before this, only its hover card subscribed to live progress, soinspector-subagent-card-staysfailed: the line kept "0/3 agents · 1K tokens".Observed / Not run
bun test test/subagent-tray.test.tsx test/agent-pane-workflow-progress.test.tsx test/inspector-subagent-card-stays.test.tsx test/subagent-tray-trailing.test.tspasses (47 pass, 0 fail).bun run checkis clean.Changelog
Design: running tray.
🤖 Generated with Claude Code
Agent session: agent session
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Shows running workflow progress (completed/started counts, failed, queued) in the default running tray, the Inspector's row, and their hover cards. Replaces the whole-list progress dependency in
App.tsxwith keyed per-agentAgentProgressStoresubscriptions, so usage-only updates re-render just the changed agent row instead of rebuilding every row.Observed / Not run
bun test test/subagent-tray.test.tsx test/agent-pane-workflow-progress.test.tsx test/session-info-subagent-card-stays.test.tsx test/subagent-tray-trailing.test.tspasses (47 pass, 0 fail).bun run checkis clean.workflowLabspush would (base turns them on by default, cmux NEXT: Claude workflows show by default, not behind Labs #30192) and open the tray for their chats (perf(agent-pane): skip 300 hidden row elements in folded running tray (SW-04) #29250), since a running workflow leaves the tray.Written for commit cbc4c94. Summary will update on new commits.