remora-monorepo / lib / ExecutionResult
Interface: ExecutionResult
Defined in: packages/core/src/executor/executor-types.ts:20
The result of executing a workflow.
Properties
error?
optionalerror: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?
optionalcompletedAt:string="string"
durationMs?
optionaldurationMs:number="number"
error?
optionalerror:object=errorSnapshotSchema
error.category
category:
string="string"
error.code
code:
string="string"
error.isRetryable?
optionalisRetryable:boolean="boolean"
error.message
message:
string="string"
error.statusCode?
optionalstatusCode:number="number"
error.stepId?
optionalstepId:string="string"
output?
optionaloutput:unknown="unknown"
runId
runId:
string="string"
startedAt
startedAt:
string="string"
status
status:
"pending"|"running"|"completed"|"failed"=runStatusSchema
stepRecords
stepRecords:
object[]
workflowHash?
optionalworkflowHash:string="string"
output?
optionaloutput: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.