Skip to content

Clarify activity pause timeout behavior#1099

Merged
harani-mukkala merged 1 commit into
mainfrom
codex/activity-pause-timeout-help
Jun 25, 2026
Merged

Clarify activity pause timeout behavior#1099
harani-mukkala merged 1 commit into
mainfrom
codex/activity-pause-timeout-help

Conversation

@JLDLaughlin

Copy link
Copy Markdown
Contributor

What changed?

Clarifies temporal activity pause --help to state that pausing an Activity does not stop or extend the Activity's Schedule-To-Close Timeout.

Regenerated internal/temporalcli/commands.gen.go from internal/temporalcli/commands.yaml.

Why?

The existing help explains that Pause prevents future retries and does not interrupt some in-flight attempts, but it does not mention that Schedule-To-Close continues running while paused.

That can surprise operators because "pause" can imply the Activity is safe from timing out. This adds the timeout caveat and points users to temporal activity update-options before a long pause.

Testing

go run ./cmd/gen-commands \
  -input internal/temporalcli/commands.yaml \
  -pkg temporalcli \
  -context "*CommandContext" \
  > internal/temporalcli/commands.gen.go

go run ./cmd/temporal activity pause --help

go test ./cmd/gen-commands

Verified the help output includes the Schedule-To-Close warning.

@CLAassistant

CLAassistant commented Jun 24, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@JLDLaughlin JLDLaughlin marked this pull request as ready for review June 24, 2026 23:31
@JLDLaughlin JLDLaughlin requested a review from a team as a code owner June 24, 2026 23:31
@harani-mukkala harani-mukkala merged commit 8c3e3b2 into main Jun 25, 2026
10 checks passed
@harani-mukkala harani-mukkala deleted the codex/activity-pause-timeout-help branch June 25, 2026 00:42
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.

3 participants