Skip to content
New issue

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

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

Already on GitHub? # to your account

Disable eager activities for Python 0.1b1 too #3793

Merged

Conversation

bergundy
Copy link
Member

@bergundy bergundy commented Jan 10, 2023

Apparently Python 0.1b1 also has a buggy implementation of eager activities, disable eager activity dispatch for that version.

@bergundy bergundy requested a review from a team as a code owner January 10, 2023 02:24
Copy link
Member

@yiminc yiminc left a comment

Choose a reason for hiding this comment

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

what about alpha version? 0.1a1 and 1a2?

@bergundy
Copy link
Member Author

what about alpha version? 0.1a1 and 1a2?

I think you're right, alpha 2 potentially uses eager activities.
I disabled Python alpha versions just in case.

@@ -45,7 +45,7 @@ func NewOverrides() *Overrides {
}

func (o *Overrides) shouldForceDisableEagerDispatch(sdkName, sdkVersion string) bool {
if sdkName == headers.ClientNamePythonSDK && sdkVersion == "0.1b2" {
if sdkName == headers.ClientNamePythonSDK && (sdkVersion == "0.1a1" || sdkVersion == "0.1a2" || sdkVersion == "0.1b1" || sdkVersion == "0.1b2") {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@bergundy bergundy enabled auto-merge (squash) January 10, 2023 03:38
@bergundy bergundy merged commit ea893d1 into temporalio:master Jan 10, 2023
@yiminc yiminc added the release/1.19.1 Patches for v1.19.1 label Jan 12, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
release/1.19.1 Patches for v1.19.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants