Skip to content

Fix activity command flag bugs and help text inconsistencies#974

Merged
spkane31 merged 2 commits intomainfrom
spk/bug-bash-feedback
Apr 6, 2026
Merged

Fix activity command flag bugs and help text inconsistencies#974
spkane31 merged 2 commits intomainfrom
spk/bug-bash-feedback

Conversation

@spkane31
Copy link
Copy Markdown
Contributor

@spkane31 spkane31 commented Apr 6, 2026

What was changed

  • activity pause silently ignored the --identity flag, always sending the global client identity instead of the per-command one
  • activity pause had no --reason flag despite the server-side PauseActivityRequest accepting one
  • --activity-type showed activity-id as its value placeholder in pause, unpause, and reset help output
  • --reset-heartbeats on unpause and reset incorrectly claimed it only works with --reset-attempts
  • activity complete and activity fail lacked the -a shorthand for --activity-id that the other activity subcommands already had

Why?

These were found during an internal bug bash as either bugs or inconsistencies.

Checklist

  1. Closes NA
  2. How was this tested: Manually
  3. Any docs updates needed? No

@spkane31 spkane31 requested a review from a team as a code owner April 6, 2026 17:33
RunId: c.RunId,
},
Identity: c.Parent.Identity,
Identity: c.Identity,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if c.Identity is empty, will it fallback to the default one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated to fallback to the default one

@spkane31 spkane31 merged commit 2cb6982 into main Apr 6, 2026
9 checks passed
@spkane31 spkane31 deleted the spk/bug-bash-feedback branch April 6, 2026 22:16
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