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

Protect UpdateWorkflowExecution API with dynamic config feature flag #3884

Merged

Conversation

alexshtin
Copy link
Member

What changed?
Protect UpdateWorkflowExecution API with dynamic config feature flag. false by default.

Why?
UpdateWorkflowExecution API has some known bugs and generally is in alpha stage. Only opt-in namespaces should be able to use (try, really) it.

How did you test it?
Functional tests are failing when no override is set.

Potential risks
No risks.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner February 2, 2023 01:49
@@ -250,6 +250,9 @@ const (
// FrontendEnableBatcher enables batcher-related RPCs in the frontend
FrontendEnableBatcher = "frontend.enableBatcher"

// FrontendEnableUpdateWorkflowExecution enables UpdateWorkflowExecution API in the frontend.
FrontendEnableUpdateWorkflowExecution = "frontend.enableUpdateWorkflowExecution"
Copy link
Member

Choose a reason for hiding this comment

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

Add comment that this feature is in development and is not ready to use in prod.

@alexshtin alexshtin force-pushed the feature/update-workflow-feature-flag branch from 2b0c009 to 784dfa4 Compare February 2, 2023 08:44
@alexshtin alexshtin enabled auto-merge (squash) February 2, 2023 08:44
@alexshtin alexshtin merged commit b5f64f2 into temporalio:master Feb 2, 2023
@alexshtin alexshtin deleted the feature/update-workflow-feature-flag branch February 2, 2023 17:47
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