Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Jan 8, 2026

Summary

Adds beforeSend filters to Sentry configurations across all projects to drop environmental and network-related errors that cannot be fixed in code.

Changes

  • Node/CLI (instrument.ts): Filter EADDRINUSE, MCP AbortError, and MCP timeout errors
  • Electron Main (electron/main/index.ts): Filter network errors, auto-update failures, read-only volume, and code signature errors
  • Electron Renderer (electron-index.tsx): Filter dynamic import failures
  • Website (sentry.client.config.mjs): Filter bot/crawler errors and network-related failures

Impact

Expected ~50-60% reduction in Sentry noise, leaving only actionable bugs. Errors filtered include:

  • Network/DNS errors (user's network conditions)
  • MCP connection lifecycle errors (normal disconnections)
  • Auto-update failures (GitHub API issues, download corruption)
  • Bot/crawler errors (external automation)
  • Dynamic import failures (network/caching issues)

Related

Part of addressing Sentry issues - fixes will be handled separately.

Add beforeSend filters to drop environmental and network-related errors that cannot be fixed in code:

- Node/CLI: Filter EADDRINUSE, MCP AbortError, and MCP timeout errors
- Electron Main: Filter network errors, auto-update failures, read-only volume, and code signature errors
- Electron Renderer: Filter dynamic import failures
- Website: Filter bot/crawler errors and network-related failures

This reduces noise in Sentry dashboards by ~50-60%, leaving only actionable bugs.
@vercel
Copy link

vercel bot commented Jan 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
spotlightjs Ready Ready Preview, Comment Jan 8, 2026 1:30am

@BYK BYK deployed to Preview January 8, 2026 01:29 — with GitHub Actions Active
@BYK BYK marked this pull request as ready for review January 8, 2026 01:30
@BYK BYK requested review from MathurAditya724 and betegon January 8, 2026 01:31
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.

3 participants