fix(agent): show Codex subagent activity#3523
Merged
Merged
Conversation
Generated-By: PostHog Code Task-Id: d8f51f0f-0f93-47ef-9c93-4b70efc02672
|
😎 Merged successfully - details. |
|
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
MattPua
marked this pull request as ready for review
July 16, 2026 18:54
Contributor
|
Reviews (1): Last reviewed commit: "fix(agent): preserve resumed subagent ac..." | Re-trigger Greptile |
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
MattPua
marked this pull request as draft
July 16, 2026 19:22
MattPua
marked this pull request as ready for review
July 17, 2026 13:14
There was a problem hiding this comment.
The bot comment was on an older commit; the current diff explicitly addresses the race condition by buffering child notifications in pendingSubagentNotifications and flushing them once the parent collabAgentToolCall is recorded — a dedicated test covers this path. All other changes are additive and backward compatible.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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