Skip to main content

RunRetryPendingEvent

@forge/monorepo


@forge/monorepo / backend/src / RunRetryPendingEvent

Type Alias: RunRetryPendingEvent

RunRetryPendingEvent = EventBase<"run.retry-pending"> & object

Defined in: backend/src/core/events.ts:67

Emitted when a transient failure triggers a retry (see docs/04 → Retry policy). Carries enough for a client to render "attempt 2 of 5, retrying in ~3s (rate limited)" rather than only showing the retry-pending status.

Type Declaration

attempt

readonly attempt: number

error

readonly error: PlatformError

The transient error that triggered the retry.

maxAttempts

readonly maxAttempts: number

nextAttemptAt

readonly nextAttemptAt: string

When the next attempt is scheduled, honoring any retry-after the provider returned.