@@ -8878,6 +8878,11 @@ components:
88788878 canceledReason:
88798879 type: string
88808880 description: Set if activity cancelation was requested.
8881+ links:
8882+ type: array
8883+ items:
8884+ $ref: '#/components/schemas/Link'
8885+ description: Links to related entities, such as the entity that started this activity.
88818886 description: Information about a standalone activity.
88828887 ActivityExecutionListInfo:
88838888 type: object
@@ -9708,10 +9713,6 @@ components:
97089713 allOf:
97099714 - $ref: '#/components/schemas/Callback'
97109715 description: Information on how this callback should be invoked (e.g. its URL and type).
9711- trigger:
9712- allOf:
9713- - $ref: '#/components/schemas/CallbackInfo_Trigger'
9714- description: Trigger for this callback.
97159716 registrationTime:
97169717 type: string
97179718 description: The time when the callback was registered.
@@ -9726,6 +9727,7 @@ components:
97269727 - CALLBACK_STATE_SUCCEEDED
97279728 - CALLBACK_STATE_BLOCKED
97289729 type: string
9730+ description: The current state of the callback.
97299731 format: enum
97309732 attempt:
97319733 type: integer
@@ -9748,16 +9750,7 @@ components:
97489750 blockedReason:
97499751 type: string
97509752 description: If the state is BLOCKED, blocked reason provides additional information.
9751- description: CallbackInfo contains the state of an attached workflow callback.
9752- CallbackInfo_Trigger:
9753- type: object
9754- properties:
9755- workflowClosed:
9756- $ref: '#/components/schemas/CallbackInfo_WorkflowClosed'
9757- CallbackInfo_WorkflowClosed:
9758- type: object
9759- properties: {}
9760- description: Trigger for when the workflow is closed.
9753+ description: Common callback information. Specific CallbackInfo messages should embed this and may include additional fields.
97619754 Callback_Internal:
97629755 type: object
97639756 properties:
@@ -10581,6 +10574,11 @@ components:
1058110574 type: string
1058210575 description: Token for follow-on long-poll requests. Absent only if the activity is complete.
1058310576 format: bytes
10577+ callbacks:
10578+ type: array
10579+ items:
10580+ $ref: '#/components/schemas/CallbackInfo'
10581+ description: Callbacks attached to this activity execution and their current state.
1058410582 DescribeBatchOperationResponse:
1058510583 type: object
1058610584 properties:
@@ -11427,7 +11425,7 @@ components:
1142711425 type: array
1142811426 items:
1142911427 $ref: '#/components/schemas/Link'
11430- description: Links associated with the event.
11428+ description: Links to related entities, such as the entity that started this event's workflow .
1143111429 principal:
1143211430 allOf:
1143311431 - $ref: '#/components/schemas/Principal'
@@ -11565,9 +11563,28 @@ components:
1156511563 sourceDeploymentRevisionNumber:
1156611564 type: string
1156711565 description: The revision number of the source deployment version of the parent/previous workflow.
11566+ continueAsNewInitialVersioningBehavior:
11567+ enum:
11568+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
11569+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE
11570+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION
11571+ type: string
11572+ description: |-
11573+ Experimental.
11574+ If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
11575+ specified in that command.
11576+ Only used for the initial task of this run and the initial task of any retries of this run.
11577+ Not passed to children or to future continue-as-new.
11578+
11579+ Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
11580+ a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
11581+ with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade
11582+ value if the InheritedAutoUpgradeInfo is non-empty.
11583+ format: enum
1156811584 description: |-
1156911585 Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version
1157011586 to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior.
11587+ Also used for Upgrade-on-CaN behaviors AutoUpgrade and UseRampingVersion.
1157111588 Input:
1157211589 type: object
1157311590 properties:
@@ -11612,13 +11629,25 @@ components:
1161211629 $ref: '#/components/schemas/Link_WorkflowEvent'
1161311630 batchJob:
1161411631 $ref: '#/components/schemas/Link_BatchJob'
11632+ activity:
11633+ $ref: '#/components/schemas/Link_Activity'
1161511634 nexusOperation:
1161611635 $ref: '#/components/schemas/Link_NexusOperation'
1161711636 description: |-
1161811637 Link can be associated with history events. It might contain information about an external entity
1161911638 related to the history event. For example, workflow A makes a Nexus call that starts workflow B:
1162011639 in this case, a history event in workflow A could contain a Link to the workflow started event in
1162111640 workflow B, and vice-versa.
11641+ Link_Activity:
11642+ type: object
11643+ properties:
11644+ namespace:
11645+ type: string
11646+ activityId:
11647+ type: string
11648+ runId:
11649+ type: string
11650+ description: A link to an activity.
1162211651 Link_BatchJob:
1162311652 type: object
1162411653 properties:
@@ -15280,6 +15309,20 @@ components:
1528015309 allOf:
1528115310 - $ref: '#/components/schemas/Priority'
1528215311 description: Priority metadata.
15312+ completionCallbacks:
15313+ type: array
15314+ items:
15315+ $ref: '#/components/schemas/Callback'
15316+ description: |-
15317+ Callbacks to be called by the server when this activity reaches a terminal state.
15318+ Callback addresses must be whitelisted in the server's dynamic configuration.
15319+ links:
15320+ type: array
15321+ items:
15322+ $ref: '#/components/schemas/Link'
15323+ description: |-
15324+ Links to be associated with the activity. Callbacks may also have associated links;
15325+ links already included with a callback should not be duplicated here.
1528315326 StartActivityExecutionResponse:
1528415327 type: object
1528515328 properties:
@@ -15289,6 +15332,10 @@ components:
1528915332 started:
1529015333 type: boolean
1529115334 description: If true, a new activity was started.
15335+ link:
15336+ allOf:
15337+ - $ref: '#/components/schemas/Link'
15338+ description: Link to the started activity.
1529215339 StartBatchOperationRequest:
1529315340 type: object
1529415341 properties:
@@ -17875,6 +17922,7 @@ components:
1787517922 enum:
1787617923 - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
1787717924 - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE
17925+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION
1787817926 type: string
1787917927 description: |-
1788017928 Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
@@ -18649,6 +18697,24 @@ components:
1864918697 Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
1865018698 face the problem of inconsistent dispatching that arises from eventual consistency between
1865118699 task queues and their partitions.
18700+ continueAsNewInitialVersioningBehavior:
18701+ enum:
18702+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
18703+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE
18704+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION
18705+ type: string
18706+ description: |-
18707+ Experimental.
18708+ If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
18709+ specified in that command.
18710+ Only used for the initial task of this run and the initial task of any retries of this run.
18711+ Not passed to children or to future continue-as-new.
18712+
18713+ Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
18714+ a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
18715+ with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent
18716+ to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade.
18717+ format: enum
1865218718 description: |-
1865318719 Holds all the information about worker versioning for a particular workflow execution.
1865418720 Experimental. Versioning info is experimental and might change in the future.
0 commit comments