(run: WorkflowRunRecord, record: WorkflowStepRecord)
| 966 | } |
| 967 | |
| 968 | private withStepRecord(run: WorkflowRunRecord, record: WorkflowStepRecord): WorkflowRunRecord { |
| 969 | return WorkflowRunRecordSchema.parse({ |
| 970 | ...run, |
| 971 | steps: mergeWorkflowStepRecords(run.steps, record), |
| 972 | }); |
| 973 | } |
| 974 | |
| 975 | private async readEvents(runId: string): Promise<WorkflowRunEvent[]> { |
| 976 | const events = await readJsonLines(this.eventsFile(runId), WorkflowRunEventSchema); |
no test coverage detected