Skip to content

RetryAttempt

RetryAttempt = object

Defined in: packages/core/src/workflow/retry-attempt.ts:120

Seeded new-attempt forest: copies for still-valid work, new ids for re-exec. Pass into WorkflowRunStartOptions.retryAttempt when re-entering.

newRootRunId: string

Defined in: packages/core/src/workflow/retry-attempt.ts:121


priorChildLinks: readonly PriorChildLink[]

Defined in: packages/core/src/workflow/retry-attempt.ts:129


reExecStepIds: ReadonlySet<string>

Defined in: packages/core/src/workflow/retry-attempt.ts:128

Prior step ids that must re-execute on the new attempt.


retriesFromRunId: string

Defined in: packages/core/src/workflow/retry-attempt.ts:122


rootSpawnCursor: Map<string, number>

Defined in: packages/core/src/workflow/retry-attempt.ts:134

Mutable FIFO cursor for nested calls at parent workflow root (parentStepId === null). Key: ${priorParentRunId}\0${workflowId}.


runIdMap: Map<string, string>

Defined in: packages/core/src/workflow/retry-attempt.ts:124

Prior run id → new run id.


stepIdMap: Map<string, string>

Defined in: packages/core/src/workflow/retry-attempt.ts:126

Prior step id → new step id (replayed / seeded steps only).