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

Versioning docs touch-up #405

Merged
merged 12 commits into from
May 22, 2024
Merged

Versioning docs touch-up #405

merged 12 commits into from
May 22, 2024

Conversation

ShahabT
Copy link
Contributor

@ShahabT ShahabT commented May 16, 2024

What changed?
Some improvements to versioning docs.

Why?

Breaking changes

Server PR

@ShahabT ShahabT requested review from a team as code owners May 16, 2024 18:17
@@ -68,6 +68,14 @@ message TaskQueueVersionSelection {
message TaskQueueVersionInfo {
// Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, TaskQueueTypeInfo> types_info = 1;

// Task Reachability is eventually consistent; there may be a delay until it converges to the most
// accurate value but it is designed in a way to take the more conservative side until it converges.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you clarify what "conservative" means?

// Task Reachability is eventually consistent; there may be a delay until it converges to the most
// accurate value but it is designed in a way to take the more conservative side until it converges.
// Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be
// accounted for reachability as server cannot not know if they'll happen as they do not use
Copy link
Contributor

Choose a reason for hiding this comment

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

cannot not

Comment on lines 158 to 159
// (by running in the same Task Queue or explicitly setting the
// `inherit_build_id` flag.)
Copy link
Contributor

Choose a reason for hiding this comment

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

"by running in the same Task Queue"

Is that always the case, if they use the same task queue they always inherit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, I changed the test to not get involved in that too much. from the API perspective we only look at the passed boolean. It's SDK's responsibility to send the right default value based on the task queue used.

Comment on lines 221 to 222
// Target Build ID must be compatible with the Source Build ID; that is it
// must be able to process event histories generation by Source Build ID.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand this comment. Can you clarify compatible (patch api..)?

Comment on lines 578 to 579
// Redirect rules should only be used when it's desired to move open workflows from one Build ID to
// another compatible Build ID. You are responsible to make sure the target Build ID of a redirect
Copy link
Contributor

Choose a reason for hiding this comment

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

Make clear they affect all running workflows not only new ones...

temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/taskqueue/v1/message.proto Outdated Show resolved Hide resolved
temporal/api/workflowservice/v1/service.proto Outdated Show resolved Hide resolved
ShahabT and others added 6 commits May 20, 2024 18:26
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
Co-authored-by: David Reiss <david@temporal.io>
@ShahabT ShahabT enabled auto-merge (squash) May 22, 2024 00:15
@ShahabT ShahabT merged commit 5b356b5 into master May 22, 2024
3 checks passed
@ShahabT ShahabT deleted the shahab/versioning-docs-touchup branch May 22, 2024 00: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.

None yet

3 participants