Skip to content

fix: only include 'crash' type for ReportingObserver integration#560

Merged
rchl merged 1 commit intomainfrom
fix/disable-reporting
Apr 18, 2023
Merged

fix: only include 'crash' type for ReportingObserver integration#560
rchl merged 1 commit intomainfrom
fix/disable-reporting

Conversation

@rchl
Copy link
Copy Markdown
Member

@rchl rchl commented Apr 18, 2023

I'm not sure why we even enable ReportingObserver integration by default since it seems to produce a lot of reports that are not really that useful. But instead of removing it completely, only include the crash report types (so exclude deprecation and intervention by default) to keep those reports to minimum.

It could be considered a breaking change but from my experience those reports are just noise so I'm handling it more like a bugfix for default options.

@github-actions
Copy link
Copy Markdown

size-limit report 📦

Path Size
fixture: base 364.9 KB (+0.01% 🔺)
fixture: lazy 369.3 KB (+0.01% 🔺)
fixture: tracing 381.48 KB (+0.01% 🔺)
fixture: lazy+tracing 385.85 KB (+0.01% 🔺)

@rchl rchl merged commit 782b9d1 into main Apr 18, 2023
@rchl rchl deleted the fix/disable-reporting branch April 18, 2023 22:16
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