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

Function isStructuredXcodebuildFailureSession

src/runtime/tool-invoker.ts:176–187  ·  view source on GitHub ↗
(session: RenderSession)

Source from the content-addressed store, hash-verified

174}
175
176function isStructuredXcodebuildFailureSession(session: RenderSession): boolean {
177 const structuredOutput = session.getStructuredOutput?.();
178 if (!structuredOutput?.result.didError) {
179 return false;
180 }
181
182 return (
183 structuredOutput.result.kind === 'build-result' ||
184 structuredOutput.result.kind === 'build-run-result' ||
185 structuredOutput.result.kind === 'test-result'
186 );
187}
188
189function buildEffectiveNextStepParams(
190 nextStepParams: NextStepParamsMap | undefined,

Callers 1

postProcessSessionFunction · 0.85

Calls 1

getStructuredOutputMethod · 0.80

Tested by

no test coverage detected