Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert panics in update protocol state machine to errors #1253

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Fix a bug found during internal testing where the workflow state machine was panicing, but because the panics were not recovered properly the worker never responded and the task timed out.

added some unit tests, I couldn't come up with an integration test to test this because the server should never cause the update protocol state machine to panic.

closes #1252

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner October 2, 2023 18:17
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 9228307 into temporalio:master Oct 2, 2023
6 checks passed
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.

Panics in update state machine don't cause WFT failures
2 participants