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

Method finalizeRun

worker/src/adapters/trace.adapter.ts:78–84  ·  view source on GitHub ↗
(runId: string)

Source from the content-addressed store, hash-verified

76 }
77
78 finalizeRun(runId: string): void {
79 if (this.eventsByRun) {
80 this.eventsByRun.delete(runId);
81 }
82 this.sequenceByRun.delete(runId);
83 this.metadataByRun.delete(runId);
84 }
85
86 private nextSequence(runId: string): number {
87 const current = this.sequenceByRun.get(runId) ?? 0;

Callers 1

mainFunction · 0.95

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected