-
Notifications
You must be signed in to change notification settings - Fork 917
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
Disable eager activities for Python 0.1b1 too #3793
Disable eager activities for Python 0.1b1 too #3793
Conversation
There was a problem hiding this 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?
I think you're right, alpha 2 potentially uses eager activities. |
@@ -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") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like test needs to be fixed as well: https://github.com/temporalio/temporal/blob/master/service/frontend/overrides_test.go#L52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Apparently Python 0.1b1 also has a buggy implementation of eager activities, disable eager activity dispatch for that version.