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

Rename Update Requested to Update Admitted #387

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

stephanos
Copy link
Contributor

@stephanos stephanos commented Apr 2, 2024

What changed?

Renamed "Update Requested" to "Update Admitted".

Why?

After some discussion, we came to the conclusion that the name should align with Update's wait stage in order to simplify the mental model for the user. "Requested" would be yet another concept, but "Admitted" (wait stage) already exists and should be used instead.

Breaking changes

Yes, but the renamed types are not used by the Server yet.

They are present in:

And subsequent PRs will adjust these accordingly.

Server PR

Not needed; these types are not used in Server yet.

@@ -37,7 +37,7 @@ $(PROTO_OUT):
mkdir $(PROTO_OUT)

##### Compile proto files for go #####
grpc: buf-lint api-linter buf-breaking clean go-grpc fix-path
grpc: buf-lint api-linter clean go-grpc fix-path
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this will be re-enabled after merge

@stephanos stephanos marked this pull request as ready for review April 3, 2024 00:37
@stephanos stephanos requested review from a team as code owners April 3, 2024 00:37
Copy link
Contributor

@dandavison dandavison left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

In the future, for larger bits of work like this, I wonder if we should be working in a branch until implementation is complete (similar to what versioning is doing).

@stephanos stephanos merged commit 1d4c898 into temporalio:master Apr 3, 2024
3 checks passed
@stephanos stephanos deleted the rename-update-requested branch April 3, 2024 16:26
@dandavison dandavison mentioned this pull request Apr 6, 2024
dandavison added a commit to temporalio/temporal that referenced this pull request Apr 17, 2024
## What changed?
Rename field on internal update proto.

## Why?
Consistency with the "requested" => "admitted" renaming started in
temporalio/api#387

## Potential risks
None

## Is hotfix candidate?
No
dandavison added a commit to dandavison/temporalio-sdk-core that referenced this pull request May 7, 2024
dandavison added a commit to dandavison/temporalio-sdk-core that referenced this pull request May 9, 2024
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.

None yet

3 participants