MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getRun

Method getRun

backend/src/workflows/workflows.service.ts:698–705  ·  view source on GitHub ↗
(runId: string, auth?: AuthContext | null)

Source from the content-addressed store, hash-verified

696 }
697
698 async getRun(runId: string, auth?: AuthContext | null): Promise<WorkflowRunSummary> {
699 const organizationId = this.requireOrganizationId(auth);
700 const run = await this.runRepository.findByRunId(runId, { organizationId });
701 if (!run) {
702 throw new NotFoundException(`Workflow run ${runId} not found`);
703 }
704 return this.buildRunSummary(run, organizationId);
705 }
706
707 async commit(id: string, auth?: AuthContext | null): Promise<WorkflowDefinition> {
708 const organizationId = await this.requireWorkflowAdmin(id, auth);

Callers 6

fetchParentRunFunction · 0.45
fetchAndRedirectFunction · 0.45
ensureRouteRunFunction · 0.45
loadVersionForRunFunction · 0.45

Calls 3

requireOrganizationIdMethod · 0.95
buildRunSummaryMethod · 0.95
findByRunIdMethod · 0.45

Tested by

no test coverage detected