Repository navigation
fix(client): filter Chrome extension receiving-end Sentry noise (KODY-CLOUDFLARE-4F) - #1344
Merged
kody-bot merged 1 commit intoAug 9, 2026
Merged
Conversation
Drop the Chromium/Firefox extension IPC error "Could not establish connection. Receiving end does not exist." from browser Sentry beforeSend (KODY-CLOUDFLARE-4F). Kody never uses chrome.runtime; these events have no app frames and are not actionable product defects. Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
kentcdodds
marked this pull request as ready for review
August 9, 2026 15:41
π WalkthroughWalkthroughThe browser Sentry filters now remove matching Chrome and Firefox extension connection errors. Tests cover direct events, original errors, aggregate filtering, and similar MCP messages that remain reportable. ChangesExtension Sentry filtering
Estimated code review effort: 3 (Moderate) | ~15β30 minutes Possibly related PRs
π₯ Pre-merge checks | β 5β Passed checks (5 passed)
β¨ Finishing Touchesπ Generate docstrings
π§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
π Preview deployed: https://kody-pr-1344.kody-a99.workers.dev Worker: Mocks:
|
kody-bot
deleted the
cursor/sentry-triage-kody-cloudflare-7662064169-2643
branch
August 9, 2026 18:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Stop Chrome/Firefox extension messaging noise from polluting production Sentry for Kody.
Summary
7662064169):Error: Could not establish connection. Receiving end does not exist.https://heykody.app/(Chrome), zero stack frames, handled generic capture β classic extensionruntime.sendMessagewhen the receiving end is gone.chrome.runtime/browser.runtime.beforeSendfilter (same pattern as KODY-CLOUDFLARE-3S Object Not Found) and unit coverage that nearby "connection" wording is kept.Testing
npx vitest run packages/worker/client/sentry-browser-filters.node.test.tsSystem changes
System recap β composes existing primitives (low risk)
Mode: recap Β· Base:
main@e9b6b3ccΒ· Head:2fd463c0Classification: composes β wires one more narrow predicate into the existing browser Sentry
beforeSendfilter chain; no primitive contract change.Primitives touched
app-uiSystem map
Browser Sentry init already runs
filterBrowserSentryEvent; this PR adds the receiving-end missing predicate to that chain.Legend: green = composes (wiring only) Β· amber = extended by this PR Β· red = new primitive Β· gray = context (unchanged, included only when an edge crosses it).
Summary by CodeRabbit
Bug Fixes
Documentation