Repository navigation
End a subagent row on a stopped task notification - #1876
Conversation
A resumed Claude Code reports a background agent the killed process left running with status stopped and no tool-use id; ignoring it kept the row running in the desktop app for the rest of the session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
PR Summary by QodoFinish subagent rows on stopped task notifications
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
Closes #1875 — AI-4311
What & why
When a daemon restart kills a Claude process while a background subagent is running, the resumed Claude Code reports that agent with
<status>stopped</status>, the task id and no<tool-use-id>. The rules mapped onlycompleted,failedandkilledto an end, so the desktop app kept the row running for the rest of the session.stoppednow ends the row as Stopped, the same askilled.Verification
e5aa584e: of its 42 subagents, onlya9202cd3d93195ccelacks"finished":truein its meta, and its only end record is thisstoppednotificationClaudeChatRulesTestscase, built on that line's shape, failed before the fix; the class now passes 54/54🤖 Generated with Claude Code