You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Describe what has changed in this PR -->
**What changed?**
The new feature of automatic time-skipping is added.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
A new event type has been added that may break the WebUI if any workflows include this event. The feature should not be enabled until the WebUI is updated. For the SDK, this event will be skipped, so it will not affect older versions.
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
This change is not expected to break the server. No new RPC handlers have been introduced, and all new fields are optional.
description: Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.
14554
+
timeSkippingConfig:
14555
+
allOf:
14556
+
- $ref: '#/components/schemas/TimeSkippingConfig'
14557
+
description: Time-skipping configuration. If not set, time skipping is disabled.
14544
14558
StartWorkflowExecutionResponse:
14545
14559
type: object
14546
14560
properties:
@@ -14944,6 +14958,38 @@ components:
14944
14958
TerminatedFailureInfo:
14945
14959
type: object
14946
14960
properties: {}
14961
+
TimeSkippingConfig:
14962
+
type: object
14963
+
properties:
14964
+
enabled:
14965
+
type: boolean
14966
+
description: "Enables or disables time skipping for this workflow execution.\n By default, this field is propagated to transitively related workflows (child workflows/start-as-new/reset) \n at the time they are started.\n Changes made after a transitively related workflow has started are not propagated."
14967
+
disablePropagation:
14968
+
type: boolean
14969
+
description: If set, the enabled field is not propagated to transitively related workflows.
description: RequestIdReference is a indirect reference to a history event through the request ID.
@@ -16877,6 +16925,10 @@ components:
16877
16925
allOf:
16878
16926
- $ref: '#/components/schemas/Priority'
16879
16927
description: If set, overrides the workflow's priority sent by the SDK.
16928
+
timeSkippingConfig:
16929
+
allOf:
16930
+
- $ref: '#/components/schemas/TimeSkippingConfig'
16931
+
description: "Time-skipping configuration for this workflow execution.\n If not set, the time-skipping conf will not get updated upon request, \n i.e. the existing time-skipping conf will be preserved."
16880
16932
WorkflowExecutionOptionsUpdatedEventAttributes:
16881
16933
type: object
16882
16934
properties:
@@ -16908,6 +16960,10 @@ components:
16908
16960
description: |-
16909
16961
Priority override upserted in this event. Represents the full priority; not just partial fields.
16910
16962
Ignored if nil.
16963
+
timeSkippingConfig:
16964
+
allOf:
16965
+
- $ref: '#/components/schemas/TimeSkippingConfig'
16966
+
description: If set, the time-skipping configuration was changed. Contains the full updated configuration.
16911
16967
WorkflowExecutionPauseInfo:
16912
16968
type: object
16913
16969
properties:
@@ -17213,6 +17269,27 @@ components:
17213
17269
identity:
17214
17270
type: string
17215
17271
description: id of the client who requested termination
0 commit comments