-
Notifications
You must be signed in to change notification settings - Fork 231
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
Current "latest" sdk-go incompatible with just-released api-go v1.44.0 #1805
Comments
I am struggling to replicate this. I have a
And I am able to compile a simple Go SDK app. The Go SDK doesn't use the API that was removed/changed. Can you give an example of code/project unable to compile with just these dependencies? Can you show the exact compilation error? |
Sorry, I think I was confused, it's not sdk-go, it's go.temporal.io/server/API The errors I'm seeing are about v1.PauseActivityByIdRequest etc, and the path shown with "go mod why" is:
If I move go.temporal.io/API from v1.44.0 to v1.43.2 then the error goes away. |
If you are using the server programmatically as a library, you must have the exact versions of SDK and API that are in the server's |
It's related to the OIDC code for the codecserver in your sample, at: https://github.com/temporalio/samples-go/blob/main/codec-server/codec-server/oidc.go Is there an alternative method I can use to provide the same functionality? |
In the last few hours, https://github.com/temporalio/api-go had a new release: v1.44.0
The current released version of sdk-go, v1.32.1, does not work with it. Specifically, the removal of "ById" of the
*ByIdRequest
and*ByIdResponse
within this commit and the fileworkflowservice/v1/request_response.go-helpers.pb.go
.Expected Behavior
Existing code compiles after upgrading all libraries to the latest versions.
Actual Behavior
Compilation failures due to missing symbols, which have been renamed.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: