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): clarify stop v. terminate with Long descriptions #11626

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

agilgur5
Copy link
Member

@agilgur5 agilgur5 commented Aug 19, 2023

Motivation

Similar to #11625, this is another one of the most frequently asked questions by users and so could definitely use some clarification

Modifications

Descriptions loosely follow the official issue response in #4454 (comment).
This is effectively a follow-up to #4653

Verification

  • make codegen passes

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.

  • Feel free to add more modifications to the long descriptions!

Future Work

I'd like to add these descriptions to the API docs as well, but that seems to be a larger effort as the API docs have no descriptions right now 😕 I'm also not sure where codegen tries to pull the descriptions from, as there are GoDoc descriptions, but perhaps not in the right places?

- this is one of the most frequently asked questions by users and so could definitely use some clarification

- add a `Long` description to the CLI commands that details how `stop` and `terminate` work in more detail
  - via `make codegen`, this resulted in a `### Synopsis` section in the generated docs as well, which is also helpful

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

agilgur5 commented Aug 19, 2023

Huh, lint timed out. Haven't seen that happen before. Will need to retry that but may need to bump the timeout. Seems like a one-off right now though

Copy link
Member

@caelan-io caelan-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smart to clarify these! thank you

@terrytangyuan terrytangyuan changed the title fix(cli): clarify stop v. terminate with Long descriptions docs(cli): clarify stop v. terminate with Long descriptions Aug 24, 2023
@terrytangyuan
Copy link
Member

Please fix lint

@agilgur5
Copy link
Member Author

Please fix lint

Per my comment above, it timed out and needs a retry

@agilgur5
Copy link
Member Author

agilgur5 commented Aug 25, 2023

Looks like this is good to merge now, CI is green after retry

@terrytangyuan terrytangyuan merged commit d74929a into argoproj:master Aug 25, 2023
24 checks passed
@agilgur5 agilgur5 deleted the docs-cli-stop-v-terminate branch August 25, 2023 20:33
@agilgur5 agilgur5 added the area/cli The `argo` CLI label Aug 27, 2023
terrytangyuan pushed a commit that referenced this pull request Sep 5, 2023
…1626)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
…goproj#11626)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
@agilgur5 agilgur5 added area/docs Incorrect, missing, or mistakes in docs area/shutdown Shutdown Strategy: Stop and Terminate labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli The `argo` CLI area/docs Incorrect, missing, or mistakes in docs area/shutdown Shutdown Strategy: Stop and Terminate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants