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
_**READ BEFORE MERGING:** All PRs require approval by both Server AND
SDK teams before merging! This is why the number of required approvals
is "2" and not "1"--two reviewers from the same team is NOT sufficient.
If your PR is not approved by someone in BOTH teams, it may be summarily
reverted._
<!-- Describe what has changed in this PR -->
**What changed?**
Add request ID reference to `Link`.
<!-- Tell your future self why have you made these changes -->
**Why?**
Request ID can be used to associate links to history event ID.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
"description": "EventReference is a direct reference to a history event through the event ID."
6981
+
},
6982
+
"WorkflowEventRequestIdReference": {
6983
+
"type": "object",
6984
+
"properties": {
6985
+
"requestId": {
6986
+
"type": "string"
6987
+
},
6988
+
"eventType": {
6989
+
"$ref": "#/definitions/v1EventType"
6990
+
}
6991
+
},
6992
+
"description": "RequestIdReference is a indirect reference to a history event through the request ID."
6977
6993
},
6978
6994
"WorkflowRuleActionActionActivityPause": {
6979
6995
"type": "object"
@@ -12390,6 +12406,25 @@
12390
12406
"v1RequestCancelWorkflowExecutionResponse": {
12391
12407
"type": "object"
12392
12408
},
12409
+
"v1RequestIdInfo": {
12410
+
"type": "object",
12411
+
"properties": {
12412
+
"eventType": {
12413
+
"$ref": "#/definitions/v1EventType",
12414
+
"description": "The event type of the history event generated by the request."
12415
+
},
12416
+
"eventId": {
12417
+
"type": "string",
12418
+
"format": "int64",
12419
+
"description": "The event id of the history event generated by the request. It's possible the event ID is not\nknown (unflushed buffered event). In this case, the value will be zero or a negative value,\nrepresenting an invalid ID."
12420
+
},
12421
+
"buffered": {
12422
+
"type": "boolean",
12423
+
"description": "Indicate if the request is still buffered. If so, the event ID is not known and its value\nwill be an invalid event ID."
12424
+
}
12425
+
},
12426
+
"description": "RequestIdInfo contains details of a request ID."
"description": "When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will\nreturn the first workflow task to be eagerly executed.\nThe caller is expected to have a worker available to process the task."
13763
+
},
13764
+
"link": {
13765
+
"$ref": "#/definitions/apicommonv1Link",
13766
+
"description": "Link to the workflow event."
13728
13767
}
13729
13768
}
13730
13769
},
@@ -14846,6 +14885,13 @@
14846
14885
"resetRunId": {
14847
14886
"type": "string",
14848
14887
"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."
14888
+
},
14889
+
"requestIdInfos": {
14890
+
"type": "object",
14891
+
"additionalProperties": {
14892
+
"$ref": "#/definitions/v1RequestIdInfo"
14893
+
},
14894
+
"description": "Request ID information (eg: history event information associated with the request ID).\nNote: It only contains request IDs from StartWorkflowExecution requests, including indirect\ncalls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is\nused in the StartWorkflowExecution request)."
14849
14895
}
14850
14896
},
14851
14897
"description": "Holds all the extra information about workflow execution that is not part of Visibility."
0 commit comments