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

Function getFailureKey

src/utils/xcodebuild-event-parser.ts:153–159  ·  view source on GitHub ↗
(suiteName?: string, testName?: string)

Source from the content-addressed store, hash-verified

151 const pendingFailureDurations = new Map<string, number>();
152
153 function getFailureKey(suiteName?: string, testName?: string): string | null {
154 if (!suiteName && !testName) {
155 return null;
156 }
157
158 return `${suiteName ?? ''}::${testName ?? ''}`.trim().toLowerCase();
159 }
160
161 function emitFailureFragment(failure: {
162 suiteName?: string;

Callers 2

queueFailureDiagnosticFunction · 0.85
applyFailureDurationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected