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

Function setSentryRuntimeContext

src/utils/sentry.ts:234–242  ·  view source on GitHub ↗
(context: SentryRuntimeContext)

Source from the content-addressed store, hash-verified

232}
233
234export function setSentryRuntimeContext(context: SentryRuntimeContext): void {
235 pendingRuntimeContext = context;
236
237 if (!initialized || isSentryDisabled() || isTestEnv() || isSentryCaptureSealed()) {
238 return;
239 }
240
241 applyRuntimeContext(context);
242}
243
244interface XcodeVersionMetadata {
245 version?: string;

Callers 3

mainFunction · 0.90
enrichSentryMetadataFunction · 0.90
startMcpServerFunction · 0.90

Calls 4

isSentryCaptureSealedFunction · 0.90
isSentryDisabledFunction · 0.85
applyRuntimeContextFunction · 0.85
isTestEnvFunction · 0.70

Tested by

no test coverage detected