Skip to content

Conversation

@ShahabT
Copy link
Contributor

@ShahabT ShahabT commented May 30, 2025

What changed?

The check to enforce number of Worker Deployments remain within the limit for a NS could also prevent adding new versions to existing deployments when user has just enough deployments that reach the limit but not exceed it.

Why?

Fixing unexpected behavior.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

None.

@ShahabT ShahabT requested a review from a team as a code owner May 30, 2025 23:13
Copy link
Member

Choose a reason for hiding this comment

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

adding new versions to existing deployment

I did a quick pass and i'm going to do one more soon, but the changes seem to be related to Listing workflow executions; how is/was this preventing adding new versions to deployment?

Copy link
Member

Choose a reason for hiding this comment

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

was wrong - ignore the above comment - reviewing again

Copy link
Member

@Shivs11 Shivs11 left a comment

Choose a reason for hiding this comment

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

hopefully fixes the breaking canaries!

@ShahabT ShahabT enabled auto-merge (squash) June 2, 2025 19:24
@ShahabT ShahabT merged commit d673193 into main Jun 2, 2025
53 checks passed
@ShahabT ShahabT deleted the shahab/deployment-count branch June 2, 2025 20:08
temporal-cicd bot added a commit that referenced this pull request Jun 3, 2025
Shivs11 pushed a commit that referenced this pull request Jun 3, 2025
Commit changes from pull request (#7841) into cloud/v1.28.0-134
2160a7b - Fix max deployment count check to not block new versions
1012437 - use DescribeWorkflow instead of Query

Co-authored-by: temporal-cicd[bot] <temporal-cicd[bot]@users.noreply.github.com>
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.

3 participants