Skip to content

Commit 791f998

Browse files
committed
Show new caller timeouts
1 parent bc5dca7 commit 791f998

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+
StartToCloseTimeout string `cli:",cardOmitEmpty"`
339+
ScheduleToStartTimeout string `cli:",cardOmitEmpty"`
338340
NextAttemptScheduleTime time.Time `cli:",cardOmitEmpty"`
339341
LastAttemptCompleteTime time.Time `cli:",cardOmitEmpty"`
340342
LastAttemptFailure *failure.Failure `cli:",cardOmitEmpty"`
@@ -360,7 +362,9 @@ func (c *TemporalWorkflowDescribeCommand) run(cctx *CommandContext, args []strin
360362
ops[i].LastAttemptFailure = op.LastAttemptFailure
361363
ops[i].LastAttemptCompleteTime = timestampToTime(op.LastAttemptCompleteTime)
362364
ops[i].NextAttemptScheduleTime = timestampToTime(op.NextAttemptScheduleTime)
365+
ops[i].ScheduleToStartTimeout = formatDuration(op.GetScheduleToStartTimeout().AsDuration())
363366
ops[i].ScheduleToCloseTimeout = formatDuration(op.GetScheduleToCloseTimeout().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)