Skip to content

ReportingObserver integration frequently reporting a weird message that's not actually an issue #5932

Closed
@Sweater-Baron

Description

@Sweater-Baron

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/react

SDK Version

7.15.0

Framework Version

7.15.0

Link to Sentry event

https://sentry.io/organizations/carver-edison/issues/3645089890/?environment=prod&project=6751029&query=is%3Aunresolved

Steps to Reproduce

Sentry is logging a weird non-error message as an issue via the ReportingObserver: "ReportingObserver [deprecation]: Deprecation messages are stored in the devtools-frontend repo at front_end/models/issues_manager/DeprecationIssue.ts."

This message appears to come from the Chromium source code here: https://chromium.googlesource.com/chromium/src/+/276b4b0cf6b2edcf6a397c43c53a30943ca173cf/third_party/blink/renderer/core/frame/deprecation/deprecation.cc#260

I'm unsure of whether this is an issue caused by Sentry calling the wrong ReportingObserver API, or if it's a Chromium bug, but:

  1. Someone from Sentry will have to confirm this is not caused by incorrect behavior in Sentry's code, and if they find that it's a Chromium bug, they'll already have the context to file a bug report with Chromium, and should do so.
  2. Even if it's a Chromium bug, Sentry should IMO add a workaround to stop this non-issue from being logged, because otherwise it's going to confuse people and take up a lot of people's error quota. It also seems to be leading people to (unwisely IMO) disable the ReportingObserver integration in Sentry completely: ReportingObserver events get logged while the integration is not enabled #5751

Expected Result

This does not get logged as an issue in Sentry, or if it is logged, does not count against quota.

Actual Result

Useless thing gets logged and is annoying

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