pause: add pause activity information to workflow describe cmd#837
Closed
spkane31 wants to merge 5 commits intonext-serverfrom
Closed
pause: add pause activity information to workflow describe cmd#837spkane31 wants to merge 5 commits intonext-serverfrom
spkane31 wants to merge 5 commits intonext-serverfrom
Conversation
<!--- Note to EXTERNAL Contributors --> <!-- Thanks for opening a PR! If it is a significant code change, please **make sure there is an open issue** for this. We work best with you when we have accepted the idea first before you code. --> <!--- For ALL Contributors 👇 --> ## What was changed Updating `next-server` branch with changes to `main` ## Why? Consistency ## Checklist <!--- add/delete as needed ---> 1. Closes: NA 2. How was this tested: NA 3. Any docs updates needed? No --------- Co-authored-by: Andrew Yuan <andrew.yuan@temporal.io> Co-authored-by: Chetan Gowda <gow@users.noreply.github.com> Co-authored-by: Maciej Dudkowski <maciej.dudkowski@temporal.io> Co-authored-by: Carly de Frondeville <carly.defrondeville@temporal.io>
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR!
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->
<!--- For ALL Contributors 👇 -->
## What was changed
* The `temporal activity {pause,update-options}` support batch
operations through `--query`
* Consistently passing the `--identity` parameter to server requests
## Why?
Improved developer experience, can batch these requests through a
visibility query instead of sending multiple requests
## Checklist
<!--- add/delete as needed --->
1. Closes: N/A
2. How was this tested:
New unit tests
3. Any docs updates needed?
Documentation updates are automatically generated with releases.
cretz
reviewed
Aug 13, 2025
Member
cretz
left a comment
There was a problem hiding this comment.
LGTM pending discussions on the API itself (so can't mark approved yet)
cretz
reviewed
Aug 13, 2025
| } | ||
|
|
||
| if pauseInfo := resp.GetWorkflowPauseInfo(); pauseInfo != nil { | ||
| cctx.Printer.Println(color.MagentaString("Paused Activities: %v", len(pauseInfo.GetActivityPauseInfos()))) |
Member
There was a problem hiding this comment.
Mentioned in other context, but this isn't actually "paused activities" IMO, that is shown in "pending activities that are paused" above, this is "settings for future activity pausing".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
temporal workflow describecommand. ShowsPausedstatus,PauseTime, andPausedByfields when activities are paused.temporal workflow describeWhy?
Users get visibility into whether activities are paused when troubleshooting workflow execution issues.
Checklist
Closes #[issue-number]
How was this tested:
Run
temporal workflow describeon workflows with paused activities to verify pause information displays correctly.Any docs updates needed?
No documentation updates required - this is additional output in existing command.
Requires this server pr to be merged first