Skip to content

Commit 37603e2

Browse files
committed
fix
1 parent 856281e commit 37603e2

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

temporal/api/workflow/v1/message.proto

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -608,14 +608,18 @@ message TimeSkippingConfig {
608608
//
609609
// The bound is propagated to transitively related workflows differently
610610
// depending on the type and semantics of the related workflow:
611-
// - For child workflows, the bound is propagated with the same value as the parent workflow.
612-
// If duration-based bound is used, the child workflow will have the full duration as the bound.
613-
// If target-time based bound is used, the child workflow will have the same target time as the parent workflow.
614-
// - For continue-as-new workflows, if a duration-based bound is used, the remaining
615-
// duration is propagated, so the continue-as-new workflow shares the initial bound
616-
// with the parent workflow.
617-
// - For reset workflows, the entire TimeSkippingConfig is restored to the value it
618-
// had at the event this workflow is reset to.
611+
// - Child workflows: the bound is propagated with the same value as the
612+
// parent workflow, and the child begins execution at the parent's virtual
613+
// time. If the bound is duration-based, each child calculates its skipped
614+
// duration independently from its own start.
615+
//
616+
// - Continue-as-new workflows: the bound is propagated with the same value
617+
// as the previous workflow. If the bound is duration-based, the
618+
// continue-as-new workflow shares the accumulated duration with the
619+
// previous workflow.
620+
//
621+
// - Reset workflows: the entire TimeSkippingConfig is restored to the value
622+
// it had at the event this workflow was reset to.
619623
oneof bound {
620624

621625
// Maximum total virtual time that can be skipped.

0 commit comments

Comments
 (0)