fix(agent): show Codex subagent activity#3523
Conversation
Generated-By: PostHog Code Task-Id: d8f51f0f-0f93-47ef-9c93-4b70efc02672
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: 38f87de0-3672-400f-af61-378f74c17f2b
|
Reviews (1): Last reviewed commit: "fix(agent): preserve resumed subagent ac..." | Re-trigger Greptile |
| const parentToolCallId = this.subagentParents.get(threadId); | ||
| if (!parentToolCallId) return null; |
There was a problem hiding this comment.
Early Child Activity Is Dropped
When a child-thread notification arrives before the parent collabAgentToolCall notification records its relationship, this lookup misses and permanently discards the child update. Concurrent subagent startup can therefore hide the agent's initial message, reasoning, or tool activity instead of buffering it until the parent is known.
Preserve child-thread messages, reasoning, and tool activity that arrive before the parent collaboration call is observed. Generated-By: PostHog Code Task-Id: acb27526-5140-4f34-9024-1df8d5c241a8
Problem
Codex subagents only showed lifecycle calls, so users could not see what delegated agents were doing.
Changes
How did you test this?
Automatic notifications
Created with PostHog Code