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

Workflow annotations for versioning #548

Open
8 tasks
antlai-temporal opened this issue Oct 8, 2024 · 0 comments
Open
8 tasks

Workflow annotations for versioning #548

antlai-temporal opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@antlai-temporal
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The new worker versioning-3 implementation requires the annotation of workflows so that if they are pinned, it will not try to move them immediately to a new version, waiting for them to finish before garbage-collecting workers. The benefit of that is that short-running workflows, marked as pinned, do not need to get patched.

Describe the solution you'd like

The goal is to take advantage of code annotations when the language supports them, and the SDK already uses them for other purposes. If that is not the case, a programmatic API should be provided to add this annotation, and it should be invoked during the first workflow task executed by the workflow.

Additional context

Per-SDK Tickets

  • Go -
  • Java -
  • Core -
  • TypeScript -
  • Python -
  • .NET -
  • Ruby -
  • PHP -
@antlai-temporal antlai-temporal added the enhancement New feature or request label Oct 8, 2024
@antlai-temporal antlai-temporal changed the title Worker annotations for versioning Workflow annotations for versioning Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant