You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What was changed
Add `temporal activity delete` command for deleting a standalone
activity.
## Why?
CLI work for this server PR:
temporalio/temporal#9515
## Checklist
1. Closes: NA
2. How was this tested: NA
3. Any docs updates needed? NA
f.Var(&v.ScheduleToCloseTimeout, "schedule-to-close-timeout", "Maximum time for the Activity Execution, including all retries. Either this or \"start-to-close-timeout\" is required.")
398
398
v.ScheduleToStartTimeout=0
399
-
f.Var(&v.ScheduleToStartTimeout, "schedule-to-start-timeout", "Maximum time an Activity task can stay in a task queue before a Worker picks it up.")
399
+
f.Var(&v.ScheduleToStartTimeout, "schedule-to-start-timeout", "Maximum time an Activity task can stay in a task queue before a Worker picks it up. On expiry it results in a non-retryable failure and no further attempts are scheduled.")
400
400
v.StartToCloseTimeout=0
401
-
f.Var(&v.StartToCloseTimeout, "start-to-close-timeout", "Maximum time for a single Activity attempt. Either this or \"schedule-to-close-timeout\" is required.")
401
+
f.Var(&v.StartToCloseTimeout, "start-to-close-timeout", "Maximum time for a single Activity attempt. On expiry a new attempt may be scheduled if permitted by the retry policy and schedule-to-close timeout. Either this or \"schedule-to-close-timeout\" is required.")
402
402
v.HeartbeatTimeout=0
403
-
f.Var(&v.HeartbeatTimeout, "heartbeat-timeout", "Maximum time between successful Worker heartbeats.")
403
+
f.Var(&v.HeartbeatTimeout, "heartbeat-timeout", "Maximum time between successful Worker heartbeats. On expiry the current activity attempt fails.")
404
404
v.RetryInitialInterval=0
405
405
f.Var(&v.RetryInitialInterval, "retry-initial-interval", "Interval of the first retry. If \"retry-backoff-coefficient\" is 1.0, it is used for all retries.")
s.Command.Short="Forcefully end a Standalone Activity (Experimental)"
588
+
ifhasHighlighting {
589
+
s.Command.Long="Delete a Standalone Activity.\n\n\x1b[1mtemporal activity delete \\\n --activity-id YourActivityId \\\n --run-id YourRunId\x1b[0m\n\nActivity code cannot see or respond to deletions."
590
+
} else {
591
+
s.Command.Long="Delete a Standalone Activity.\n\n```\ntemporal activity delete \\\n --activity-id YourActivityId \\\n --run-id YourRunId\n```\n\nActivity code cannot see or respond to deletions."
0 commit comments