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

Bump SDK to 1.31 #374

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Bump SDK to 1.31 #374

merged 3 commits into from
Dec 19, 2024

Conversation

stephanos
Copy link
Contributor

@stephanos stephanos commented Dec 12, 2024

What was changed

  • bumped SDK to new version
  • updated UwS API
  • extended early return example

@stephanos stephanos force-pushed the bump-1.31 branch 2 times, most recently from e2d7fce to 13dd4fa Compare December 12, 2024 03:02
@stephanos stephanos mentioned this pull request Dec 12, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

from #371

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, I copied the code verbatim but it fails. would you know why, @yuandrew?

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, looking, it's not immediately clear why this would suddenly fail, I tested this locally when making the Go SDK change, and it should be a pretty basic UX change, shouldn't be any change to functionality.

Looking at the logs, only 1 activity is completing, instead of the 500 the test expects

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, found the issue, this was due to temporalio/sdk-go#1695 changing test behavior to more closely match how server handles duplicate update IDs. Put the suggested fix in a separate comment.

Thanks for catching this!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yuandrew thank you so much!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dandavison I revamped this based on your notes and the Java sample.

This was referenced Dec 14, 2024
@stephanos stephanos requested a review from dandavison December 14, 2024 01:15
@stephanos stephanos marked this pull request as ready for review December 14, 2024 01:24
"WorkflowID:", updateHandle.WorkflowID(),
"RunID:", updateHandle.RunID())

var txResult earlyreturn.Transaction
Copy link
Contributor

@dandavison dandavison Dec 16, 2024

Choose a reason for hiding this comment

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

I think that we should name this something like earlyReturnResult, or transactionConfirmation, or something else along those lines. The key point we want to get across is that the transaction hasn't completed yet, but txResult suggests otherwise.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see what you mean. I can rename it 👍 The java-sample has the same issue.

@stephanos stephanos merged commit 8841c9f into temporalio:main Dec 19, 2024
3 checks passed
@stephanos stephanos deleted the bump-1.31 branch December 19, 2024 22:05
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.

3 participants