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

Fix legacy DescribeTaskQueue for non-root partitions #6596

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShahabT
Copy link
Contributor

@ShahabT ShahabT commented Oct 3, 2024

What changed?

DescribeTaskQueue has to support non-root partitions for legacy mode to keep supporting tctl and temporal CLIs.

This PR is fixing a regression caused by https://github.com/temporalio/temporal/pull/6419/files

Why?

The mentioned PR is validating DescribeTaskQueue input similar to other APIs and rejects when task queue name is a non-root partition (starts with /_sys/ prefix). This is not correct, DescribeTaskQueue is different from other API and it has to keep accepting names with this prefix to remain compatible with supported CLIs.

How did you test it?

Added functioonal and unit tests.

Potential risks

Documentation

Is hotfix candidate?

Yes

@ShahabT ShahabT requested review from dnr and justinp-tt October 3, 2024 23:17
@ShahabT ShahabT requested a review from a team as a code owner October 3, 2024 23:17
@ShahabT
Copy link
Contributor Author

ShahabT commented Oct 3, 2024

cc @rodrigozhou

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.

1 participant