Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Apr 28, 2025

What was changed

Previously we swallowed failures to serialize update results. Now we will fail the update or the task depending on the error.

Checklist

  1. Closes [Bug] Update result serialization failure silently swallowed #465

@cretz cretz requested a review from a team April 28, 2025 15:24
return task.ContinueWith(
_ =>
{
inProgressHandlers.Remove(inProgress);
Copy link
Member Author

@cretz cretz Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR makes this a bit ugly, I recommend "hide whitespace" in the this diff view (i.e. https://github.com/temporalio/sdk-dotnet/pull/468/files?diff=unified&w=1)

public Task RunAsync() => Workflow.WaitConditionAsync(() => false);

[WorkflowSignal]
[WorkflowUpdate]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to fix a mostly-unrelated flake where slow GH runners were not guaranteeing signal order as the test expected

@cretz cretz merged commit d48377d into temporalio:main Apr 28, 2025
8 checks passed
@cretz cretz deleted the update-serialization-fail branch April 28, 2025 17:26
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.

[Bug] Update result serialization failure silently swallowed

2 participants