(runId: string, temporalRunId?: string, auth?: AuthContext | null)
| 1157 | } |
| 1158 | |
| 1159 | async getRunResult(runId: string, temporalRunId?: string, auth?: AuthContext | null) { |
| 1160 | this.logger.log( |
| 1161 | `Fetching result for workflow run ${runId} (temporalRunId=${temporalRunId ?? 'latest'})`, |
| 1162 | ); |
| 1163 | await this.requireRunAccess(runId, auth); |
| 1164 | return this.temporalService.getWorkflowResult({ workflowId: runId, runId: temporalRunId }); |
| 1165 | } |
| 1166 | |
| 1167 | async getRunConfig(runId: string, auth?: AuthContext | null): Promise<WorkflowRunConfigPayload> { |
| 1168 | const { run } = await this.requireRunAccess(runId, auth); |
no test coverage detected