Repository navigation
fix(core): End a child's stop when its parent sends it new work - #5184
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Found 2 test failures on Blacksmith runners: Failures
|
This branch was successfully deployed
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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-v2-3x.png)
On main, a parent message sent after a child's stop ends the stop of the child and of the stopped children below it (
chat/child-agents/parent-message.ts,endStopForParentMessage). Parent work from before the stop never runs. On core, a parent message goes to the child's Turn inbox and never reachesappendParentMessage. Core's placement ran it but kept the stop, so the child kept saving its Watch Events as notes and started no Turn for them.decidePlacement(turn-steps/placement-rules.ts) treats a parent message like a person's input while the Conversation is stopped. One sent after the stop ends the stop of the tree throughresumeConversationTree, and one sent by the stop is dropped.execution.inboundMessageIdscheck.agent-teams:message-ends-child-stop: after a person stops an idle child and its parent sends it a new message, a timer Event on the child starts a Turn on both engines.via @thomasjiangcy.
--
View Session [Sentry]