Skip to content

Commit 4ad8563

Browse files
authored
Add reset_run_id field in api/workflow/v1/WorkflowExecutionInfo (#566)
1 parent eb80371 commit 4ad8563

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14775,6 +14775,10 @@
1477514775
"type": "string",
1477614776
"format": "date-time",
1477714777
"description": "Original workflow start time."
14778+
},
14779+
"resetRunId": {
14780+
"type": "string",
14781+
"description": "Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run."
1477814782
}
1477914783
},
1478014784
"description": "Holds all the extra information about workflow execution that is not part of Visibility."

openapi/openapiv3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12151,6 +12151,9 @@ components:
1215112151
type: string
1215212152
description: Original workflow start time.
1215312153
format: date-time
12154+
resetRunId:
12155+
type: string
12156+
description: Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
1215412157
description: Holds all the extra information about workflow execution that is not part of Visibility.
1215512158
WorkflowExecutionFailedEventAttributes:
1215612159
type: object

temporal/api/workflow/v1/message.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ message WorkflowExecutionExtendedInfo {
136136

137137
// Original workflow start time.
138138
google.protobuf.Timestamp original_start_time = 5;
139+
140+
// Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
141+
string reset_run_id = 6;
139142
}
140143

141144
// Holds all the information about worker versioning for a particular workflow execution.

0 commit comments

Comments
 (0)