Repository navigation
fix(web): a thread waiting on its child threads can't be wrapped up - #1044
Merged
Merged
Conversation
A parent whose turn ended but still waits on answers from threads its agent started showed the Wrap up check, so it was easy to wrap by accident. Waiting on child threads now holds it like waiting on background tasks: no check, swipe or menu item, and the idle and pull request rules leave it alone until the children report back.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously 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.
A parent thread whose own turn ended, but which still waited on answers from threads its agent started, showed the Wrap up check. That made it easy to wrap up by accident while it was still waiting.
Waiting on child threads now holds a thread the way waiting on background tasks already did.
canMarkThreadDoneno longer looks past the child wait, so the Wrap up check, swipe and menu item stay hidden, and the idle and pull request rules leave the parent alone until every child has reported back. A parent that was already wrapped while still waiting comes back to the list. The unusedignoreChildThreadWaitoption is gone, and the app guide and child-threads design note now describe the new rule.