Skip to content

SDK not deduplicating events #7147

@bruno-garcia

Description

@bruno-garcia

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

@sentry/react

SDK Version

7.36.0

Framework Version

No response

Link to Sentry event

https://sentry.sentry.io/issues/3924078024/events/0c790cbbb1474559b3d4c0e4e0971e5a/?project=11276&referrer=previous-event

SDK Setup

It's happening in Sentry.

Dedup is a default integration.

Note that Sentry only compares stack traces and fingerprints.

The event seems to have the exact same stack trace.

Steps to Reproduce

Example: https://sentry.sentry.io/issues/3924078024/events/0c790cbbb1474559b3d4c0e4e0971e5a/?project=11276&referrer=previous-event

Expected Result

1 event per user for this specific error.

Actual Result

445 events for a single user in the same hour

SecurityError: Sandbox access violation: Blocked a frame at "https://redacted" from accessing a cross-origin frame. The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.

SecurityError: Sandbox access violation: Blocked a frame at "https://redacted.sentry.io" from accessing a cross-origin frame.  The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
  at ? (/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:104820)
  at forEach([native code])
  at ? (/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:104865)
  at ? (/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:105253)
  at forEach([native code])
  at ? (/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:122154)
  at stopRecording(/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:184255)
  at ? (/_static/dist/sentry/chunks/vendors-node_modules_emotion_is-prop-valid_node_modules_emotion_memoize_dist_memoize_browser_-ff7b0a.684367a151ee06f5f456.js:2:130744)
  at asyncFunctionResume([native code])
  at ? ([native code])
  at promiseReactionJobWithoutPromise([native code])
  at promiseReactionJob([native code])

Seems in this release we failed to upload sourcemaps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions