Skip to content

Commit c7ae333

Browse files
committed
Nexus caller timeouts
1 parent 73f63fd commit c7ae333

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internal/temporalcli/commands.workflow_view.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ func (c *TemporalWorkflowDescribeCommand) run(cctx *CommandContext, args []strin
335335
State enums.PendingNexusOperationState
336336
Attempt int32
337337
ScheduleToCloseTimeout string `cli:",cardOmitEmpty"`
338+
ScheduleToStartTimeout string `cli:",cardOmitEmpty"`
339+
StartToCloseTimeout string `cli:",cardOmitEmpty"`
338340
NextAttemptScheduleTime time.Time `cli:",cardOmitEmpty"`
339341
LastAttemptCompleteTime time.Time `cli:",cardOmitEmpty"`
340342
LastAttemptFailure *failure.Failure `cli:",cardOmitEmpty"`
@@ -361,6 +363,8 @@ func (c *TemporalWorkflowDescribeCommand) run(cctx *CommandContext, args []strin
361363
ops[i].LastAttemptCompleteTime = timestampToTime(op.LastAttemptCompleteTime)
362364
ops[i].NextAttemptScheduleTime = timestampToTime(op.NextAttemptScheduleTime)
363365
ops[i].ScheduleToCloseTimeout = formatDuration(op.GetScheduleToCloseTimeout().AsDuration())
366+
ops[i].ScheduleToStartTimeout = formatDuration(op.GetScheduleToStartTimeout().AsDuration())
367+
ops[i].StartToCloseTimeout = formatDuration(op.GetStartToCloseTimeout().AsDuration())
364368
ops[i].BlockedReason = op.GetBlockedReason()
365369
ops[i].CancelationState = op.GetCancellationInfo().GetState()
366370
ops[i].CancelationAttempt = op.GetCancellationInfo().GetAttempt()

0 commit comments

Comments
 (0)