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

Tweak UpdateWorfklow docs #1745

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Tweak UpdateWorfklow docs #1745

merged 3 commits into from
Dec 6, 2024

Conversation

dandavison
Copy link
Contributor

Some proposed edits to the UpdateWorkflow docstring. These make it consistent with the UpdateWithStartWorkflow docstring, and also make some other edits that I think are slight improvements, but open for discussion.

@dandavison dandavison requested a review from a team as a code owner December 5, 2024 16:36
client/client.go Outdated
// returns a handle to the update. The call will block until the update
// has reached the WaitForStage in the options. Note that this means
// that the call will not return successfully until the update has been
// delivered to the worker service. Errors returned from the update
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// delivered to the worker service. Errors returned from the update
// delivered to a worker. Errors returned from the update

I would avoid the word worker service here since it has a different meaning in a Temporal cluster https://docs.temporal.io/clusters. Here we mean the user worker.

Copy link
Contributor Author

@dandavison dandavison Dec 5, 2024

Choose a reason for hiding this comment

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

Thanks, I agree "a worker" is better than "the/your worker service". (I don't think I agree that "worker service" should in general be reserved as referring to the internal server implementation detail though)

@dandavison dandavison merged commit 01b52a2 into master Dec 6, 2024
14 checks passed
@dandavison dandavison deleted the update-docs branch December 6, 2024 02:17
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