Skip to content

Add tasklisttype flag to ListTaskListPartitions #6711

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

Conversation

arzonus
Copy link
Contributor

@arzonus arzonus commented Mar 5, 2025

What changed?
An optional tasklisttype flag has been added to cadence tasklist list-partition command.

Why?
By default, the command is used to return only decision task list partitions, and activity task list partitions only in case if number of decision tasks list partitions is zero. Mostly, the command's behavior will not be changed, however, it allows a customer to retrieve activity task list partitions that weren't possible before.

In ideal, task list type should be passed to the server, however, it's not a part of this PR, and this optimization can be added in the future.

How did you test it?
Manual test

Potential risks
No risks

Release notes

Documentation Changes

@arzonus arzonus merged commit e29b69b into cadence-workflow:master Mar 5, 2025
22 checks passed
@arzonus arzonus deleted the add-task-list-type-param-to-list-partitions branch March 5, 2025 14:07
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