argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.11k stars 3.21k forks source link

3.6.0-rc3 CLI: Do not print help output on submission error #13826

Closed jrussell9000 closed 3 weeks ago

jrussell9000 commented 3 weeks ago

Pre-requisites

What happened? What did you expect to happen?

Previous versions (< 3.6) of the argo cli just output the error when a workflow submission failed. The current release candidate prints the error, followed by entire the help output. It's a bit tedious to have to scroll back up through all of this each time there's an error. Not sure if this is a bug or a feature request...

Version(s)

v3.6.0-rc3

Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.

argo submit 'ANYexampleworkflow.yaml'

Logs from the workflow controller

Not relevant to this issue.

Logs from in your workflow's wait container

Not relevant to this issue.
agilgur5 commented 3 weeks ago

@MasonM can you take a look? This might be related to one of your CLI PRs or another recent CLI PR