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

Standardized update failure exception #2339

Merged

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

While reviewing update with start I noticed that the Java SDK was handling update failures a bit different then other SDKs. Other SDKs always return an update rejection or failure through the update handle. The Java SDK may have returned the update failure (as an exception) on startUpdate or getResult depending on the exact timing and waitStage the user selected. After this PR the Java SDK will always return the update failure by getting the result from the handle.

@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review December 2, 2024 05:19
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner December 2, 2024 05:19
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit e3ef9b4 into temporalio:master Dec 2, 2024
8 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.

2 participants