Skip to content

Commit aabbb7f

Browse files
committed
specify that base behavior determines non-override inheritance
1 parent 6a52386 commit aabbb7f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

openapi/openapiv2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15577,11 +15577,11 @@
1557715577
},
1557815578
"previousRunVersioningInfo": {
1557915579
"$ref": "#/definitions/WorkflowExecutionStartedEventAttributesSourceWorkflowVersioningInfo",
15580-
"description": "When present, this workflow is part of a retry and/or ContinueAsNew chain, and the previous run in the\nchain was versioned. The `initiator` field of this event specifies why this new workflow was initiated.\nIf present, and the previous run's effective behavior is PINNED, and the new run's Task Queue belongs\nto the previous run's Version, the new run will inherit the previous run's Version.\n\nIf initiated by a workflow ContinueAsNew, always populate.\n\nIf initiated by a workflow Cron, never populate, because new cron workflows should start their own version chain.\n\nIf initiated by a workflow retry, pass the retried run's `previous_run_versioning_info`, because a retry of a\nroot workflow or Cron workflow should not inherit the Pinned Version, but if the retried workflow has a PINNED\nparent or is part of a Pinned continue-as-new chain, the the new workflow should inherit the version of the\nexisting tree or chain.\n\nIf a versioning override is present, it will take precedence over the inherited base version."
15580+
"description": "When present, this workflow is part of a retry and/or ContinueAsNew chain, and the previous run in the\nchain was versioned. The `initiator` field of this event specifies why this new workflow was initiated.\nIf present, and the previous run's base behavior is PINNED, and the new run's Task Queue belongs\nto the previous run's Version, the new run will inherit the previous run's Version.\n\nIf initiated by a workflow ContinueAsNew, always populate.\n\nIf initiated by a workflow Cron, never populate, because new cron workflows should start their own version chain.\n\nIf initiated by a workflow retry, pass the retried run's `previous_run_versioning_info`, because a retry of a\nroot workflow or Cron workflow should not inherit the Pinned Version, but if the retried workflow has a PINNED\nparent or is part of a Pinned continue-as-new chain, the the new workflow should inherit the version of the\nexisting tree or chain.\n\nIf a versioning override is present, it will take precedence over the inherited base version."
1558115581
},
1558215582
"parentVersioningInfo": {
1558315583
"$ref": "#/definitions/WorkflowExecutionStartedEventAttributesSourceWorkflowVersioningInfo",
15584-
"description": "When present, this is a child workflow of a versioned parent.\nIf the parent's effective behavior is PINNED, and the child's Task Queue belongs to the\nparent's Version, the child workflow will inherit the parent's Version.\n\nIf `versioning_override` is present, it will take precedence over the inherited base version.\nIf `previous_run_versioning_info` is present, it will take precedence over `parent_versioning_info`."
15584+
"description": "When present, this is a child workflow of a versioned parent.\nIf the parent's base behavior is PINNED, and the child's Task Queue belongs to the\nparent's Version, the child workflow will inherit the parent's Version.\n\nIf `versioning_override` is present, it will take precedence over the inherited base version.\nIf `previous_run_versioning_info` is present, it will take precedence over `parent_versioning_info`."
1558515585
}
1558615586
},
1558715587
"title": "Always the first event in workflow history"

openapi/openapiv3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13108,7 +13108,7 @@ components:
1310813108
description: |-
1310913109
When present, this workflow is part of a retry and/or ContinueAsNew chain, and the previous run in the
1311013110
chain was versioned. The `initiator` field of this event specifies why this new workflow was initiated.
13111-
If present, and the previous run's effective behavior is PINNED, and the new run's Task Queue belongs
13111+
If present, and the previous run's base behavior is PINNED, and the new run's Task Queue belongs
1311213112
to the previous run's Version, the new run will inherit the previous run's Version.
1311313113

1311413114
If initiated by a workflow ContinueAsNew, always populate.
@@ -13126,7 +13126,7 @@ components:
1312613126
- $ref: '#/components/schemas/WorkflowExecutionStartedEventAttributes_SourceWorkflowVersioningInfo'
1312713127
description: |-
1312813128
When present, this is a child workflow of a versioned parent.
13129-
If the parent's effective behavior is PINNED, and the child's Task Queue belongs to the
13129+
If the parent's base behavior is PINNED, and the child's Task Queue belongs to the
1313013130
parent's Version, the child workflow will inherit the parent's Version.
1313113131

1313213132
If `versioning_override` is present, it will take precedence over the inherited base version.

temporal/api/history/v1/message.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ message WorkflowExecutionStartedEventAttributes {
138138

139139
// When present, this workflow is part of a retry and/or ContinueAsNew chain, and the previous run in the
140140
// chain was versioned. The `initiator` field of this event specifies why this new workflow was initiated.
141-
// If present, and the previous run's effective behavior is PINNED, and the new run's Task Queue belongs
141+
// If present, and the previous run's base behavior is PINNED, and the new run's Task Queue belongs
142142
// to the previous run's Version, the new run will inherit the previous run's Version.
143143
//
144144
// If initiated by a workflow ContinueAsNew, always populate.
@@ -154,7 +154,7 @@ message WorkflowExecutionStartedEventAttributes {
154154
SourceWorkflowVersioningInfo previous_run_versioning_info = 37;
155155

156156
// When present, this is a child workflow of a versioned parent.
157-
// If the parent's effective behavior is PINNED, and the child's Task Queue belongs to the
157+
// If the parent's base behavior is PINNED, and the child's Task Queue belongs to the
158158
// parent's Version, the child workflow will inherit the parent's Version.
159159
//
160160
// If `versioning_override` is present, it will take precedence over the inherited base version.

0 commit comments

Comments
 (0)