Skip to main content

Function: isRetryableStageError()

isRetryableStageError(error): boolean

Defined in: packages/workflow-engine/src/kernel/helpers/stage-retry.ts:25

false for an error that will fail identically on every attempt: Zod input/config validation (the same rawInput fails the same way) and a duplicate durable step key (a collision between two call sites in the stage body). Hosts must not burn attempts on those. Nor on a NonRetryableError: a step's terminal decision is consulted first (no property read); otherwise its brand alone is read, after the checks above.

Parameters​

error​

unknown

Returns​

boolean