Skip to content

fix(sentry): filter Firefox __firefox__ bridge noise (KODY-CLOUDFLARE-3F) - #1165

Closed
kentcdodds wants to merge 1 commit into
mainfrom
cursor/sentry-triage-kody-cloudflare-kody-cloudflare-3f-056c
Closed

kentcdodds wants to merge 1 commit into
mainfrom
cursor/sentry-triage-kody-cloudflare-kody-cloudflare-3f-056c

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Aug 3, 2026 •

Copy link
Copy Markdown
Owner

Intent

Superseded — do not merge. Stand down in favor of #1164.

Three triage agents spawned for the same Brave/iOS injected-global Sentry cluster and opened competing PRs that all touch sentry-browser-filters.ts. Merging more than one will conflict.

Decision

Keep #1164 (earliest; covers both window.ethereum.* and __firefox__ signatures for issues 7648833360 + 7648833403).

Also overlapping: #1166 (KODY-CLOUDFLARE-3G, __firefox__ only) — should close as duplicate of #1164 as well.

This PR (#1165) only filters __firefox__ and is a strict subset of #1164.

Original summary (historical)

  • Production: ReferenceError: Can't find variable: __firefox__ on heykody.dev / /pricing, global code only, no app frames.
  • App source has zero __firefox__ references — browser/injected bridge noise.

Testing

  • npm test -- packages/worker/client/sentry-browser-filters.node.test.ts
Open in Web Open in Cursor 

…Send

Browser-injected Firefox reader/content-bridge scripts throw ReferenceError
and TypeError when window.__firefox__ is absent. Drop those signatures in
the client beforeSend (and pre-init buffer) so KODY-CLOUDFLARE-3F / 3E stop
alerting; app source never references __firefox__.

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2c9315bd-46e6-42fc-9d54-15c56281efab

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kentcdodds kentcdodds closed this Aug 3, 2026
@cursor
cursor Bot deleted the cursor/sentry-triage-kody-cloudflare-kody-cloudflare-3f-056c branch August 4, 2026 13:47
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.

2 participants