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

Method cancelRun

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

Source from the content-addressed store, hash-verified

1195 }
1196
1197 async cancelRun(runId: string, temporalRunId?: string, auth?: AuthContext | null): Promise<void> {
1198 this.logger.warn(
1199 `Cancelling workflow run ${runId} (temporalRunId=${temporalRunId ?? 'latest'})`,
1200 );
1201 await this.requireRunAccess(runId, auth);
1202 await this.temporalService.cancelWorkflow({ workflowId: runId, runId: temporalRunId });
1203 }
1204
1205 async buildDataFlows(
1206 runId: string,

Callers 3

cancelMethod · 0.45
registerRunToolsMethod · 0.45

Calls 3

requireRunAccessMethod · 0.95
warnMethod · 0.80
cancelWorkflowMethod · 0.80

Tested by

no test coverage detected