Skip to content

remove activity-type targeting from activity pause/unpause/reset/update#978

Merged
spkane31 merged 1 commit intomainfrom
spk/remove-by-type
Apr 14, 2026
Merged

remove activity-type targeting from activity pause/unpause/reset/update#978
spkane31 merged 1 commit intomainfrom
spk/remove-by-type

Conversation

@spkane31
Copy link
Copy Markdown
Contributor

@spkane31 spkane31 commented Apr 9, 2026

What was changed

Removed the activity-type and match-all flags from the temporal activity {pause,unpause,reset,update-options} commands. This allowed commands to all of the activities of a given type for a single workflow.

Why?

These options are confusing for users and in the future the server is planning to support batch operations that will be more intuitive.

Checklist

  1. Closes NA

  2. How was this tested:
    Removed tests for this functionality, replaced TestActivityCommandFailed_BothActivityTpeOrId with TestActivityCommandFailed_BothWorkflowIdAndQuery for workflow-id and query flags. Fixed tests that set the --match-all flags .

  3. Any docs updates needed?
    NA

@spkane31 spkane31 requested a review from a team as a code owner April 9, 2026 16:31
@spkane31 spkane31 requested a review from chaptersix April 14, 2026 17:05
@spkane31 spkane31 merged commit 1f5c1ab into main Apr 14, 2026
9 checks passed
@spkane31 spkane31 deleted the spk/remove-by-type branch April 14, 2026 19:45
JLDLaughlin added a commit to temporalio/documentation that referenced this pull request Apr 15, 2026
Extends the by-type removal to cover all activity operator commands,
not just pause. Matches CLI PR temporalio/cli#978 which removed
--activity-type and --match-all from pause/unpause/reset/update-options.

Also merges latest from main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
JLDLaughlin added a commit to temporalio/documentation that referenced this pull request Apr 15, 2026
…tions docs

Removes by-type targeting references from all activity operator commands
(pause, reset, update-options). Matches CLI PR temporalio/cli#978 which
removed these flags from pause/unpause/reset/update-options.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
brianmacdonald-temporal pushed a commit to temporalio/documentation that referenced this pull request Apr 15, 2026
…tions docs (#4419)

Removes by-type targeting references from all activity operator commands
(pause, reset, update-options). Matches CLI PR temporalio/cli#978 which
removed these flags from pause/unpause/reset/update-options.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants