Skip to content

Commit 38743d7

Browse files
committed
Don't enumerate timeout types
1 parent c1dd501 commit 38743d7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

temporal/api/enums/v1/activity.proto

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,10 @@ enum ActivityExecutionStatus {
4747
// but the activity is already terminal regardless of worker behavior.
4848
ACTIVITY_EXECUTION_STATUS_TERMINATED = 5;
4949

50-
// The activity timed out. Timeout types:
51-
// - SCHEDULE_TO_START: no worker picked up the task before the deadline (terminal)
52-
// - SCHEDULE_TO_CLOSE: total time from scheduling exceeded the deadline (terminal)
53-
// - START_TO_CLOSE: individual attempt exceeded the deadline (may retry if allowed)
54-
// - HEARTBEAT: worker stopped heartbeating (may retry if allowed)
55-
// This status is reached when a timeout occurs and retry is not possible (limit exhausted,
56-
// schedule-to-close exceeded, or cancellation was requested).
50+
// The activity timed out. See TimeoutType for the specific timeout that occurred.
51+
// START_TO_CLOSE and HEARTBEAT timeouts may trigger retry if the retry policy allows;
52+
// this status is reached when retry is not possible (retry limit exhausted, schedule-to-close
53+
// timeout exceeded, or timeout when cancellation has been requested).
5754
ACTIVITY_EXECUTION_STATUS_TIMED_OUT = 6;
5855
}
5956
// Defines whether to allow re-using an activity ID from a previously *closed* activity.

0 commit comments

Comments
 (0)