Skip to content

fix(sentry): Prevent info-level mcp shutdown summaries from creating Sentry issues#454

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/sentry-mcp-shutdown-noise
Open

fix(sentry): Prevent info-level mcp shutdown summaries from creating Sentry issues#454
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/sentry-mcp-shutdown-noise

Conversation

@sentry

@sentry sentry Bot commented Jun 23, 2026

Copy link
Copy Markdown

Previously, the captureMcpShutdownSummary function in src/utils/sentry.ts would call Sentry.captureEvent() for all MCP shutdown summaries, including those with an info level. This led to millions of Sentry issues being created for normal, non-anomalous application shutdowns, causing significant noise and obscuring actual problems.

This change modifies captureMcpShutdownSummary to return early if the determined shutdown level is 'info'. This ensures that Sentry.captureEvent() is only called for warning or error level shutdowns, effectively stopping the creation of Sentry issues for routine application exits while still capturing genuine problems.

Fixes XCODEBUILDMCP-Z

@pkg-pr-new

pkg-pr-new Bot commented Jun 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/xcodebuildmcp@454

commit: 1cb0a38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants