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

Synthetic canary analysis for new worker versions #16

Open
jlegrone opened this issue Sep 25, 2024 · 0 comments · May be fixed by #17
Open

Synthetic canary analysis for new worker versions #16

jlegrone opened this issue Sep 25, 2024 · 0 comments · May be fixed by #17

Comments

@jlegrone
Copy link
Member

Before beginning to send live traffic to new worker versions, enable workers to specify a workflow type that must run once to completion on the new worker version. Eg.

apiVersion: temporal.io/v1alpha1
kind: TemporalWorker
# ...
spec:
  cutover:
    strategy: AllAtOnce
    gate:
      workflowType: PreDeployCheck
      timeout: 5m
# ...

Deployment gate workflows must:

  • Not require input arguments
  • Return an error value to indicate success/failure
  • Run to completion within the specified timeout

This requires an API change on the temporal server side to enable clients to start workflows on a specific version deterministically before it is added to assignment rules.

@jlegrone jlegrone linked a pull request Jan 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant