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

Address comments from #4346 review #4405

Merged

Conversation

bergundy
Copy link
Member

No description provided.

@bergundy bergundy requested a review from dnr May 26, 2023 04:16
@bergundy bergundy requested a review from a team as a code owner May 26, 2023 04:16
Copy link
Member

@dnr dnr left a comment

Choose a reason for hiding this comment

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

maybe a better PR title? we are going to merge them without squashing...

err error
lock sync.Mutex
matchingClient matchingservice.MatchingServiceClient
futures map[string]future.Future[*matchingservice.GetWorkerBuildIdCompatibilityResponse]
Copy link
Member

Choose a reason for hiding this comment

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

nice, that's better

@@ -53,3 +57,20 @@ func VersionStampToBuildIdSearchAttribute(stamp *commonpb.WorkerVersionStamp) st
}
return UnversionedBuildIdSearchAttribute(stamp.BuildId)
}

func FindBuildId(versionSets []*taskqueuepb.CompatibleVersionSet, buildId string) (setIndex, indexInSet int) {
Copy link
Member

Choose a reason for hiding this comment

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

ok, I'll move them into a versioning package

@bergundy bergundy changed the title Address David's comments Address comments from #4346 May 26, 2023
@bergundy bergundy changed the title Address comments from #4346 Address comments from #4346 review May 26, 2023
@bergundy bergundy force-pushed the address-davids-comments branch from a2d884e to d844235 Compare May 26, 2023 04:35
@bergundy bergundy force-pushed the address-davids-comments branch from d844235 to f9ece1e Compare May 26, 2023 04:37
@bergundy bergundy merged commit ea6246e into temporalio:worker-versioning May 26, 2023
@bergundy bergundy deleted the address-davids-comments branch May 26, 2023 05:47
dnr pushed a commit that referenced this pull request May 26, 2023
Note: This commit came from a feature branch and is not expected to build.
dnr pushed a commit that referenced this pull request May 26, 2023
Note: This commit came from a feature branch and is not expected to build.
dnr pushed a commit that referenced this pull request May 26, 2023
Note: This commit came from a feature branch and is not expected to build.
dnr pushed a commit that referenced this pull request May 26, 2023
Note: This commit came from a feature branch and is not expected to build.
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