Skip to content

remora-monorepo


remora-monorepo / viewer / deriveStepSummaries

Function: deriveStepSummaries()

deriveStepSummaries(state): Map<string, StepExecutionSummary>

Defined in: packages/ui/src/execution-state.ts:86

Derives a per-step summary map from the full execution state. Groups step records by stepId and computes an aggregate status. For steps inside for-each loops, only the latest iteration is shown. Priority: failed > running > completed > skipped > pending.

Parameters

state

completedAt?

string

durationMs?

number

error?

{ category: string; code: string; isRetryable?: boolean; message: string; statusCode?: number; stepId?: string; }

error.category

string

error.code

string

error.isRetryable?

boolean

error.message

string

error.statusCode?

number

error.stepId?

string

output?

unknown

runId

string

startedAt

string

status

"pending" | "running" | "completed" | "failed"

stepRecords

object[]

workflowHash?

string

Returns

Map<string, StepExecutionSummary>