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

docs(cli): a stopped workflow cannot be resumed #11624

Merged

Conversation

agilgur5
Copy link
Member

@agilgur5 agilgur5 commented Aug 19, 2023

Fixes #11511

Motivation

The CLI had incorrectly stated that argo resume could be used on a stopped workflow, resulting in confusion for some users, such as in #11511

Modifications

  • remove the "stopped" statement in argo resume
  • specify that resume and suspend are opposites (and therefore unrelated to stop / terminate)

Verification

  • make codegen passes

Behavior Verification

To make sure that argo resume does not affect stopped workflows, I looked through the source code:

As I had originally thought, stop and resume are unrelated operations. Not sure if there were related at some point in the past though.

Notes for Reviewers

I wrote this as a "fix" commit so that it can be added as a patch to the CLI (and make it into any cherry-picks), but could make it a "docs" commit instead

- the CLI had incorrectly stated that `argo resume` could be used on a stopped workflow
  - remove that statement and specify that `resume` and `suspend` are opposites (and unrelated to `stop` / `terminate`)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
@agilgur5
Copy link
Member Author

agilgur5 commented Aug 19, 2023

Ack, unit tests failed on a 429 rate limit error 😕 Will need to retry those

@terrytangyuan terrytangyuan changed the title fix(cli): a stopped workflow cannot be resumed docs(cli): a stopped workflow cannot be resumed Aug 24, 2023
@terrytangyuan terrytangyuan enabled auto-merge (squash) August 24, 2023 18:57
@terrytangyuan terrytangyuan enabled auto-merge (squash) August 24, 2023 18:57
@agilgur5
Copy link
Member Author

@terrytangyuan could you retry the unit tests CI? It hit a rate limit per above

@agilgur5 agilgur5 added the area/cli The `argo` CLI label Aug 27, 2023
@agilgur5
Copy link
Member Author

agilgur5 commented Sep 1, 2023

@terrytangyuan just following up on this one that needs a retry

@terrytangyuan
Copy link
Member

done

@terrytangyuan terrytangyuan merged commit 12da114 into argoproj:master Sep 1, 2023
25 checks passed
@agilgur5 agilgur5 deleted the docs-fix-resume-suspend-cli branch September 1, 2023 18:30
terrytangyuan pushed a commit that referenced this pull request Sep 5, 2023
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli The `argo` CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The workflow cannot be restored using argo resume after using Argo stop
3 participants