Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Jun 24, 2025

What was changed

There was an issue where, when a child start and a child resolve came in the same activation, the resolve had no pending child to work with because the start code doesn't run to transfer its state to pending resolve.

Changed code to only have one container of pending children and not differentiate waiting for start vs waiting for result. This should have no backwards incompatibilities that I can see. Reviewers may want to "hide whitespace" to see what changed more clearly.

@cretz cretz requested a review from a team as a code owner June 24, 2025 21:33
@cretz cretz merged commit d1fedb0 into temporalio:main Jun 30, 2025
9 checks passed
@cretz cretz deleted the pending-child-issue branch June 30, 2025 16:47
@grzegorz-pasternak
Copy link

Hello, is this fixing the following problem?

image

@cretz
Copy link
Member Author

cretz commented Jul 7, 2025

It may fix that problem in rare cases if child workflow initiated and child workflow completed events are in the same task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants