Skip to content

Commit ae6f503

Browse files
committed
improve comment
1 parent a491abe commit ae6f503

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

openapi/openapiv2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15576,7 +15576,7 @@
1557615576
},
1557715577
"previousRunVersioningInfo": {
1557815578
"$ref": "#/definitions/v1SourceWorkflowVersioningInfo",
15579-
"description": "When present, this workflow is part of a chain, and the previous workflow in the chain was versioned.\nThe `initiator` field of this event specifies why this new workflow was initiated.\n\nIf initiated by a workflow ContinueAsNew, and the previous workflow's effective behavior is PINNED,\nand the new workflow's Task Queue belongs to the previous workflow's Version, the new workflow will\ninherit the previous workflow's version.\n\nIf initiated by a workflow retry on a root workflow execution, the new workflow will not inherit the\nprevious workflow's Version, but, if the previous workflow has a Pinned parent or is part of a Pinned\nContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain.\n\nIf initiated by a workflow Cron, the new workflow will never inherit the previous workflow's Version."
15579+
"description": "When present, this workflow is part of a chain, and the previous workflow in the chain was versioned.\nThe `initiator` field of this event specifies why this new workflow was initiated.\n\nIf initiated by a workflow ContinueAsNew, and the previous workflow's effective behavior is PINNED,\nand the new workflow's Task Queue belongs to the previous workflow's Version, the new workflow will\ninherit the previous workflow's version.\n\nIf initiated by a workflow retry on a root workflow execution, the new workflow will not inherit the\nprevious workflow's Version, but, if the retried workflow has a Pinned parent or is part of a Pinned\nContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain\n(see `ExecutionInfo.versioning_info.source_workflow_versioning_info`).\n\nIf initiated by a workflow Cron, the new workflow will never inherit the previous workflow's Version."
1558015580
}
1558115581
},
1558215582
"title": "Always the first event in workflow history"

openapi/openapiv3.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13122,8 +13122,9 @@ components:
1312213122
inherit the previous workflow's version.
1312313123

1312413124
If initiated by a workflow retry on a root workflow execution, the new workflow will not inherit the
13125-
previous workflow's Version, but, if the previous workflow has a Pinned parent or is part of a Pinned
13126-
ContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain.
13125+
previous workflow's Version, but, if the retried workflow has a Pinned parent or is part of a Pinned
13126+
ContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain
13127+
(see `ExecutionInfo.versioning_info.source_workflow_versioning_info`).
1312713128

1312813129
If initiated by a workflow Cron, the new workflow will never inherit the previous workflow's Version.
1312913130
description: Always the first event in workflow history

temporal/api/history/v1/message.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ message WorkflowExecutionStartedEventAttributes {
152152
// inherit the previous workflow's version.
153153
//
154154
// If initiated by a workflow retry on a root workflow execution, the new workflow will not inherit the
155-
// previous workflow's Version, but, if the previous workflow has a Pinned parent or is part of a Pinned
156-
// ContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain.
155+
// previous workflow's Version, but, if the retried workflow has a Pinned parent or is part of a Pinned
156+
// ContinueAsNew chain, then the new workflow will inherit the version of the existing tree or chain
157+
// (see `ExecutionInfo.versioning_info.source_workflow_versioning_info`).
157158
//
158159
// If initiated by a workflow Cron, the new workflow will never inherit the previous workflow's Version.
159160
temporal.api.workflow.v1.SourceWorkflowVersioningInfo previous_run_versioning_info = 38;

0 commit comments

Comments
 (0)