Skip to content

Commit a93ee40

Browse files
committed
add description to fast forward
1 parent 45c407e commit a93ee40

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

openapi/openapiv2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21009,7 +21009,7 @@
2100921009
},
2101021010
"timeSkippingConfig": {
2101121011
"$ref": "#/definitions/v1TimeSkippingConfig",
21012-
"description": "Time-skipping configuration for this workflow execution.\nIf not set, the time-skipping configuration is not updated by this request;\nthe existing configuration is preserved."
21012+
"description": "Time-skipping configuration for this workflow execution.\nIf not set, the time-skipping configuration is not updated by this request;\nthe existing configuration is preserved.\n\nWhen `fast_forward` is set, time will be fast-forwarded to a future point relative\nto the current workflow timestamp. Each call takes effect, even if\n`fast_forward` is set to the same duration, since the target time is recalculated\nfrom the current timestamp on every call."
2101321013
}
2101421014
}
2101521015
},

openapi/openapiv3.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19538,6 +19538,11 @@ components:
1953819538
Time-skipping configuration for this workflow execution.
1953919539
If not set, the time-skipping configuration is not updated by this request;
1954019540
the existing configuration is preserved.
19541+
19542+
When `fast_forward` is set, time will be fast-forwarded to a future point relative
19543+
to the current workflow timestamp. Each call takes effect, even if
19544+
`fast_forward` is set to the same duration, since the target time is recalculated
19545+
from the current timestamp on every call.
1954119546
WorkflowExecutionOptionsUpdatedEventAttributes:
1954219547
type: object
1954319548
properties:

temporal/api/workflow/v1/message.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,11 @@ message WorkflowExecutionOptions {
588588
// Time-skipping configuration for this workflow execution.
589589
// If not set, the time-skipping configuration is not updated by this request;
590590
// the existing configuration is preserved.
591+
//
592+
// When `fast_forward` is set, time will be fast-forwarded to a future point relative
593+
// to the current workflow timestamp. Each call takes effect, even if
594+
// `fast_forward` is set to the same duration, since the target time is recalculated
595+
// from the current timestamp on every call.
591596
TimeSkippingConfig time_skipping_config = 3;
592597
}
593598

0 commit comments

Comments
 (0)