Repository navigation
fix: show active subagent follow-ups in the sidebar - #153118
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 3:50 PM ET / 19:50 UTC (Revision 3). ClawSweeper reviewWhat this changesThe PR keeps parent sidebar activity indicators active during subagent follow-ups, refreshes hidden child activity, and redistributes Gateway test typechecking between existing compiler graphs. Merge readiness✅ Ready for maintainer review The fix remains necessary on the inspected main revision and latest release. No actionable introduced defect was found; the screenshots, focused regression coverage, and successful exact-head CI support the patch. Priority: P2 Review scores
Verification
How this fits togetherThe Gateway combines stored session relationships with current agent activity to produce session rows. The Control UI uses those rows to show parent activity while keeping temporary subagent runs out of sidebar navigation. flowchart LR
A[Stored session relationships] --> C[Gateway session projection]
B[Current agent runs] --> C
C --> D[Ancestor activity and child links]
D --> E[Sidebar child refresh]
E --> F[Parent activity ring]
D --> G[Subagent rows remain hidden]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +105, Tests +195, Docs +2. Total +302 across 14 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep activity derived from the existing run and session owners, preserving completed task history and hidden subagent navigation. Do we have a high-confidence way to reproduce the issue? Yes, source identifies a clear trigger: run a follow-up in a completed subagent session whose original task no longer counts as active. The inspected main projection omits that follow-up; this review did not execute a reproduction. Is this the best way to solve the issue? Yes. Extending the existing Gateway projection and consuming retained child-loading keys repairs the missing signal without restoring intentionally hidden navigation rows or introducing another state owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8aec983be3bd. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
* fix: show active subagent follow-ups in the sidebar * ci: restore gateway test typecheck headroom
What Problem This Solves
Fixes: a conversation can show a running subagent in chat while its parent appears idle in the sidebar, especially after sending a follow-up to a previously completed subagent.
User Impact
The parent keeps its activity ring while a hidden subagent is running or waiting for capacity, then clears it when the work finishes. Opening the parent refreshes hidden subagent activity without adding subagent rows to sidebar navigation.
Why This Change Was Made
The session projection now includes current follow-up runs when computing ancestor activity and retaining child links. It prepares that lookup once per projection refresh, preserves the original task's completed history, and follows current ownership when a child moves. The sidebar loads child details using the retained child-loading keys, rather than the visible navigation rows.
CI also exposed a pre-existing Gateway typecheck shard at 701 roots, above its 700-root headroom guard. This PR moves the complete worker-environments test subtree into an existing shard, bringing the two affected graphs to 494 and 656 roots without changing limits, job count, or compiler concurrency.
Evidence
73f1e81f2bb(170 jobs, no failures).Before
After