MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / finalize

Function finalize

src/utils/xcodebuild-pipeline.ts:282–303  ·  view source on GitHub ↗
(
      succeeded: boolean,
      durationMs?: number,
      _finalizeOptions?: PipelineFinalizeOptions,
    )

Source from the content-addressed store, hash-verified

280 },
281
282 finalize(
283 succeeded: boolean,
284 durationMs?: number,
285 _finalizeOptions?: PipelineFinalizeOptions,
286 ): PipelineResult {
287 parser.flush();
288 logCapture.close();
289
290 const debugPath = debugCapture.flush();
291 if (debugPath) {
292 appLog(
293 'info',
294 `[Pipeline] ${debugCapture.count} unrecognized parser lines written to ${debugPath}`,
295 );
296 }
297
298 const finalState = runState.finalize(succeeded, durationMs);
299
300 return {
301 state: finalState,
302 };
303 },
304
305 highestStageRank(): number {
306 return runState.highestStageRank();

Callers

nothing calls this directly

Calls 3

flushMethod · 0.65
closeMethod · 0.65
finalizeMethod · 0.65

Tested by

no test coverage detected