Visitar URL original
fix(sentry): drop errors exclusively containing third-party frames by sentry[bot] · Pull Request #4140 · codecov/gazebo · GitHub
Skip to content

fix(sentry): drop errors exclusively containing third-party frames - #4140

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/drop-third-party-sentry-errors
Open

sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/drop-third-party-sentry-errors

Conversation

@sentry

@sentry sentry Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Description

Configures Sentry's thirdPartyErrorFilterIntegration with behaviour: 'drop-error-if-exclusively-contains-third-party-frames' instead of simply tagging events.

This prevents errors caused solely by browser extensions or host scripts injected by in-app WebViews (such as GAZEBO-1894, an injected script reading offsetTop on a missing element) from cluttering Sentry issues, while still capturing any error that includes application frames.

Legal Boilerplate

Look, I get it. The entity doing business as "Codecov" is owned by Harness, Inc. In 2026 Harness acquired Codecov and as a result Harness is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Harness can use, modify, copy, and redistribute my contributions, under Harness's choice of terms.

Fixes GAZEBO-1894

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry. You can adjust this setting at any time.


Note

Low Risk
Client-side Sentry filtering only; may hide some third-party-only errors but preserves any event with app stack frames.

Overview
Sentry’s third-party error filter no longer only tags events with third-party stack frames—it drops errors whose stacks come entirely from code outside the Gazebo bundle (extensions, WebView-injected scripts, etc.).

Errors that still include at least one application frame continue to be reported, which should cut noise from issues like extension-only failures without hiding real app bugs.

Reviewed by Cursor Bugbot for commit 06d9bfb. Bugbot is set up for automated code reviews on this repo. Configure here.

@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 26 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 5.82MB 13 bytes (0.0%) ⬆️
gazebo-production-esm 5.89MB 13 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 13 bytes 657.83kB 0.0%

Files in assets/index-legacy.*.js:

  • ./src/sentry.ts → Total Size: 5.0kB
view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 13 bytes 577.83kB 0.0%

Files in assets/index.*.js:

  • ./src/sentry.ts → Total Size: 4.99kB

@sentry

sentry Bot commented Oct 11, 2026

Copy link
Copy Markdown
Author

⚠️ Sentry needs additional GitHub App permissions

The Sentry GitHub App installation for this repository is missing permissions it needs to keep iterating on this pull request to get CI passing.

Review and accept the updated permissions to let Seer continue: https://github.com/organizations/codecov/settings/installations/86101127/permissions/update

@codecov-releaser

Copy link
Copy Markdown
Collaborator

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
06d9bfb Sun, 11 Oct 2026 00:37:38 GMT Cloud Enterprise

This branch has not been deployed

No deployments
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.

1 participant