Skip to content

Commit 66cea2a

Browse files
committed
add time-skipping config in WorkflowExecutionStartedEventAttributes
1 parent 9461f7b commit 66cea2a

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18498,6 +18498,10 @@
1849818498
"declinedTargetVersionUpgrade": {
1849918499
"$ref": "#/definitions/v1DeclinedTargetVersionUpgrade",
1850018500
"description": "During a previous run of this workflow, the server may have notified the SDK\nthat the Target Worker Deployment Version changed, but the SDK declined to\nupgrade (e.g., by continuing-as-new with PINNED behavior). This field records\nthe target version that was declined.\n\nThis is a wrapper message to distinguish \"never declined\" (nil wrapper) from\n\"declined an unversioned target\" (non-nil wrapper with nil deployment_version).\n\nUsed internally by the server during continue-as-new and retry.\nShould not be read or interpreted by SDKs."
18501+
},
18502+
"timeSkippingConfig": {
18503+
"$ref": "#/definitions/v1TimeSkippingConfig",
18504+
"description": "Time-skipping configuration for this workflow execution."
1850118505
}
1850218506
},
1850318507
"title": "Always the first event in workflow history"

openapi/openapiv3.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17307,6 +17307,10 @@ components:
1730717307

1730817308
Used internally by the server during continue-as-new and retry.
1730917309
Should not be read or interpreted by SDKs.
17310+
timeSkippingConfig:
17311+
allOf:
17312+
- $ref: '#/components/schemas/TimeSkippingConfig'
17313+
description: Time-skipping configuration for this workflow execution.
1731017314
description: Always the first event in workflow history
1731117315
WorkflowExecutionTerminatedEventAttributes:
1731217316
type: object

temporal/api/history/v1/message.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ message WorkflowExecutionStartedEventAttributes {
196196
// Used internally by the server during continue-as-new and retry.
197197
// Should not be read or interpreted by SDKs.
198198
DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;
199+
200+
// Time-skipping configuration for this workflow execution.
201+
temporal.api.workflow.v1.TimeSkippingConfig time_skipping_config = 41;
199202
}
200203

201204
// Wrapper for a target deployment version that the SDK declined to upgrade to.

0 commit comments

Comments
 (0)