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

CLI start workflow help command retry flags default values is incorrect #6726

Open
Assem-Uber opened this issue Mar 11, 2025 · 0 comments
Open
Labels

Comments

@Assem-Uber
Copy link
Contributor

Assem-Uber commented Mar 11, 2025

Description

Trying to run the following cadence cli command:

cadence  --domain my-domain workflow start --tl helloWorldGroup --wt helloWorldWorkflow --et 60 --retry_attempts 0

Shows the following error:

MaximumAttempts and ExpirationIntervalInSeconds are both 0. At least one of them must be specified.

There are two things that made this message unclear:
1- It wasn't clear that the flag for ExpirationIntervalInSeconds is --retry_expiration
2- Second issue is that the help command mentioned that the default value for retry_attempts is 0 & retry_expiration is 0 which may not be the case since it would show this error by default

Expected behaviour

A more descriptive error is need describing the exact flags on the CLI. Also the default value needs to be corrected or a correct description for when it is defaulted to 0 is needed.

@Assem-Uber Assem-Uber added the cli label Mar 11, 2025
@Assem-Uber Assem-Uber changed the title CLI start workflow help command CLI start workflow help command retry flags default values is incorrect Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant