Skip to content

remora-monorepo


remora-monorepo / lib / ExecutionResult

Interface: ExecutionResult

Defined in: packages/core/src/executor/executor-types.ts:20

The result of executing a workflow.

Properties

error?

optional error: StepExecutionError

Defined in: packages/core/src/executor/executor-types.ts:28

The error that caused execution to fail, if success is false.


executionState

executionState: object

Defined in: packages/core/src/executor/executor-types.ts:30

The final execution state snapshot after the run completes.

completedAt?

optional completedAt: string = "string"

durationMs?

optional durationMs: number = "number"

error?

optional error: object = errorSnapshotSchema

error.category

category: string = "string"

error.code

code: string = "string"

error.isRetryable?

optional isRetryable: boolean = "boolean"

error.message

message: string = "string"

error.statusCode?

optional statusCode: number = "number"

error.stepId?

optional stepId: string = "string"

output?

optional output: unknown = "unknown"

runId

runId: string = "string"

startedAt

startedAt: string = "string"

status

status: "pending" | "running" | "completed" | "failed" = runStatusSchema

stepRecords

stepRecords: object[]

workflowHash?

optional workflowHash: string = "string"


output?

optional output: unknown

Defined in: packages/core/src/executor/executor-types.ts:26

The workflow's final output (from the end step's output expression), if any.


stepOutputs

stepOutputs: Record<string, unknown>

Defined in: packages/core/src/executor/executor-types.ts:24

Map of step ID to that step's output value.


success

success: boolean

Defined in: packages/core/src/executor/executor-types.ts:22

Whether the workflow completed without errors.