temporal
temporal copied to clipboard
Fix legacy DescribeTaskQueue for non-root partitions
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
cc @rodrigozhou