Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -18628,6 +18628,10 @@
"declinedTargetVersionUpgrade": {
"$ref": "#/definitions/v1DeclinedTargetVersionUpgrade",
"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."
},
"timeSkippingConfig": {
"$ref": "#/definitions/v1TimeSkippingConfig",
"description": "Initial time-skipping configuration for this workflow execution, recorded at start time.\nThis may have been set explicitly via the start workflow request, or propagated from a\nparent/previous execution.\n\nThe configuration may be updated after start via UpdateWorkflowExecutionOptions, which\nwill be reflected in the WorkflowExecutionOptionsUpdatedEvent."
}
},
"title": "Always the first event in workflow history"
Expand Down
10 changes: 10 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17358,6 +17358,16 @@ components:

Used internally by the server during continue-as-new and retry.
Should not be read or interpreted by SDKs.
timeSkippingConfig:
allOf:
- $ref: '#/components/schemas/TimeSkippingConfig'
description: |-
Initial time-skipping configuration for this workflow execution, recorded at start time.
This may have been set explicitly via the start workflow request, or propagated from a
parent/previous execution.

The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
description: Always the first event in workflow history
WorkflowExecutionTerminatedEventAttributes:
type: object
Expand Down
8 changes: 8 additions & 0 deletions temporal/api/history/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ message WorkflowExecutionStartedEventAttributes {
// Used internally by the server during continue-as-new and retry.
// Should not be read or interpreted by SDKs.
DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;

// Initial time-skipping configuration for this workflow execution, recorded at start time.
// This may have been set explicitly via the start workflow request, or propagated from a
// parent/previous execution.
//
// The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
// will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
temporal.api.workflow.v1.TimeSkippingConfig time_skipping_config = 41;
}

// Wrapper for a target deployment version that the SDK declined to upgrade to.
Expand Down
Loading