Skip to content

Wait for RoutingConfigPropagation to complete to fix failing/flaky tests#748

Merged
kepe-temporal merged 1 commit intomainfrom
ss/fix-failing-test
Feb 6, 2026
Merged

Wait for RoutingConfigPropagation to complete to fix failing/flaky tests#748
kepe-temporal merged 1 commit intomainfrom
ss/fix-failing-test

Conversation

@Shivs11
Copy link
Member

@Shivs11 Shivs11 commented Feb 6, 2026

What was changed

  • WISOTT
  • Moreover, also had to upgrade the API so that I can make gRPC calls. The reason why I am making gRPC calls and not using the SDK is because the released SDK does not have this proto.

Why?

  • to fix breaking things

Checklist

  1. Closes

  2. How was this tested:

  • Ran this locally, no failures.
  1. Any docs updates needed?

@Shivs11 Shivs11 requested a review from a team as a code owner February 6, 2026 21:56
BuildID: version.BuildID,
ConflictToken: response1.ConflictToken,
Percentage: float32(100.0),
Percentage: percentage,
Copy link
Member Author

Choose a reason for hiding this comment

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

think this was just an unrelated bug that I noticed......we were passing in percentage but never really using it

}
state := resp.GetWorkerDeploymentInfo().GetRoutingConfigUpdateState()
return state == enumspb.ROUTING_CONFIG_UPDATE_STATE_COMPLETED ||
state == enumspb.ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED
Copy link
Member Author

Choose a reason for hiding this comment

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

reason why we also return true for Unspecified here is that if this is ran against a server that does not use async versioning workflows, we just want this condition to pass.

Copy link
Contributor

@kepe-temporal kepe-temporal left a comment

Choose a reason for hiding this comment

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

LGTM

@kepe-temporal kepe-temporal merged commit de0887a into main Feb 6, 2026
23 checks passed
@kepe-temporal kepe-temporal deleted the ss/fix-failing-test branch February 6, 2026 22:20
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