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

Worker versioning API Changes #293

Merged
merged 17 commits into from
May 25, 2023
Merged

Worker versioning API Changes #293

merged 17 commits into from
May 25, 2023

Conversation

Sushisource
Copy link
Member

What changed?
We've been working in a branch for some time on API changes for versioning. Everything here has already been reviewed independently.

Why?
Versioning feature

Breaking changes
Only to existing-but-unimplemented RPCs

bergundy and others added 14 commits May 25, 2023 09:26
Decided not to expose (the yet unused) `CompatibleVersionSet.version_set_id`, the set will have multiple IDs internally.

The affected projects have been updated:
- [x] [Server PR](temporalio/temporal#4170)
- [x] [Go SDK PR](temporalio/sdk-go#1089)

Also added a `use_versioning` flag to `RespondWorkflowTaskCompletedRequest` to differentiate between the version stamp being used for versioning (matching) purposes or just as a marker.
…oints (#277)

* Record intent to use versioning in WorkerVersionStamp

* Add build_id to ResetPointInfo
Co-authored-by: Spencer Judge <sjudge@hey.com>
* Add versioning stamp to activity task completions

* Add to failed / cancelled events

* Change use latest flag to use compat

* Add use_versioning flag to capabilities message & comment wording updates

Co-authored-by: Chad Retz <chad.retz@gmail.com>

---------

Co-authored-by: Spencer Judge <sjudge@hey.com>
Co-authored-by: Chad Retz <chad.retz@gmail.com>
@Sushisource Sushisource requested review from a team as code owners May 25, 2023 16:28

message NewerBuildExistsFailure {
// Build ID of the newer compatible build that will receive tasks.
string latest_build_id = 1;
Copy link
Member

Choose a reason for hiding this comment

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

should we rename this to default or newer?

Copy link
Member Author

Choose a reason for hiding this comment

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

Did this

temporal/api/history/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/history/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
@Sushisource Sushisource merged commit 81d18cc into master May 25, 2023
@Sushisource Sushisource deleted the worker-versioning branch May 25, 2023 20:36
edmondop pushed a commit to edmondop/api that referenced this pull request Jun 22, 2023
API changes for the first real release of the worker versioning feature

Co-authored-by: Roey Berman <roey@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: Roey Berman <roey.berman@gmail.com>
Co-authored-by: Chad Retz <chad.retz@gmail.com>
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.

3 participants