Repository navigation
fix(ui): show running swarm workers in the Subagents panel - #168162
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. What this changesThis PR includes swarm workers in the Subagents panel and automatically loads all child pages. Example: Workspace review has a running swarm worker named Parallel audit worker.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR: it repairs a concrete worker-visibility gap still present on current main, and review found no actionable defects. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI consumes Gateway-owned child-session membership, groups children by activity, and opens their existing view-only transcripts beside the parent. flowchart LR
A[Gateway child sessions] --> B[Managed session list]
B --> C[Shared child pagination]
C --> D[Subagents panel data]
D --> E[Running and Finished lists]
E --> F[View-only child transcript]
Technical reviewBest possible solution: Retain the focused repair through the shared child-list owner and existing transcript and Stop contracts. Do we have a high-confidence way to reproduce the issue? Current-main source shows the explicit swarm exclusion and manual pagination limitation, and supplied before screenshots demonstrate the visible omission. Is this the best way to solve the issue? The patch repairs membership and pagination through existing owners, removes the replaced controls, and preserves persistent-conversation exclusions and exact-run Stop checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 46d5488e8042. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -23, Tests +22, Docs +3. Total +2 across 13 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 10, 2026, 12:45 AM ET / 04:45 UTC (Revision 3). |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
What Problem This Solves
Fixes the Subagents panel reporting no running subagents while the same conversation's parallel-tasks card shows a running swarm worker. Older running children could also be hidden behind the first page of completed children.
User Impact
Swarm workers now appear under Running and Finished and open their view-only transcripts beside the parent. Child pages load automatically, so inspecting active work does not depend on clicking Show more. Parent drafts, exact-run Stop authorization, and persistent-conversation handling are preserved.
Why This Change Was Made
Remove the swarm exclusion and the panel's manual paging path. The existing managed child-list loader supplies complete membership; the parallel-tasks card remains the owner of aggregate swarm progress. Production code shrinks by 23 lines, including removal of the obsolete paging control, style, and English string.
Evidence
This changes the bundled UI only; it does not deploy or restart a running Gateway.
CI attempt 38022065866 hit an inherited failure in
session-management.mutation-scope.e2e.test.ts: the All/rename case defers the rename response, then tries switching agents while the now-pending Rename dialog blocks interaction. Main commit33f4714ef95bchanged the modal contract. The same failure reproduced on the exact CI baselinebc524d890300(3 passed, 1 failed; 69.06 seconds), with the causal test and rename/dialog owners unchanged by this PR. The native inherited-failure landing exception accounts for that failure and all fail-fast cancellations; cancelled jobs are not passing evidence. Hosted ClawSweeper review of this head found no actionable findings.