-
Notifications
You must be signed in to change notification settings - Fork 245
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
Add documentation for new activity commands - pause/unpause/reset/update #3358
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, this is all very helpful.
Made a few suggestions to make it even moreso.
7223c42
to
d7b5c50
Compare
Pausing the activity can be undone by using the `temporal activity unpause` command. | ||
|
||
Pausing an activity means: | ||
* If the activity is currently waiting for a retry or is running and subsequently fails, it will not be rescheduled until it is unpaused. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please capitalize Activity throughout this. We generally capitalize any words that are referenced in the glossary as key terms.
* If the activity is already paused, calling this method will have no effect. | ||
* If the activity is running and finishes successfully, the activity will be completed. | ||
* If the activity is running and finishes with failure: | ||
* if there is no retry left - the activity will be completed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* if there is no retry left - the activity will be completed. | |
* If there is no retry left then the Activity will be completed. |
The `temporal activity reset` command restarts a running [Activity Execution](/activities#activity-execution) specified by its ID or type. | ||
If there are multiple pending activities of the provided type - all of them will be reset. | ||
Resetting an activity means: | ||
* number of attempts will be reset to 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* number of attempts will be reset to 0; | |
* The number of attempts will be reset to 0; |
Did a quick glance, will do a more in-depth review. Great work so far! |
What does this PR do?
This PR adds documentation to the following new activity CLI commands:
Notes to reviewers
EDU-3991