chore: remove unused @metamask/error-reporting-service#28027
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
FrederikBolding
approved these changes
Mar 27, 2026
4 tasks
@metamask/error-reporting-service
|
Contributor
|
✅ E2E Fixture Validation — Schema is up to date |
github-merge-queue Bot
pushed a commit
to MetaMask/core
that referenced
this pull request
Mar 27, 2026
## Explanation Removes the `@metamask/error-reporting-service` package from the monorepo. Its `captureException` messenger action has been replaced by the built-in `messenger.captureException` in `@metamask/messenger`. Both extension and mobile have already removed their dependency on this package: - Extension: MetaMask/metamask-extension#41301 - Mobile: MetaMask/metamask-mobile#28027 ## References N/A ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] I've introduced [breaking changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md) in this PR and have prepared draft pull requests for clients and consumer packages to resolve them <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Moderate risk because it deletes a published workspace package and removes TS project references, which could break any downstream consumers still importing it or relying on its build outputs. > > **Overview** > Removes the deprecated `@metamask/error-reporting-service` package from the repo (source, tests, configs, and metadata) now that error reporting is handled via `Messenger.captureException`. > > Cleans up monorepo wiring by dropping the package from `README.md` lists/graphs, `CODEOWNERS`/`teams.json`, ESLint suppressions, TypeScript project references (`tsconfig*.json`), and `yarn.lock` workspace entries. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit e9bfd81. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
NicolasMassart
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Removes the
@metamask/error-reporting-servicepackage. This service registered aErrorReportingService:captureExceptionmessenger action, but no controller ever called it. Error reporting is now handled directly via the built-inmessenger.captureExceptionmethod in@metamask/messenger.Changelog
CHANGELOG entry: null
Related issues
Fixes: N/A
Manual testing steps
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: removes an unused controller/messenger layer and its dependency, with no functional logic changes beyond no longer instantiating
ErrorReportingService. Main risk is any hidden reliance on the removed messenger namespace/action at runtime.Overview
Removes the unused
@metamask/error-reporting-serviceintegration by deleting its controller init and messenger wiring, and by droppingErrorReportingServicefrom Engine controller initialization and associated type unions.Updates dependencies by removing
@metamask/error-reporting-servicefrompackage.jsonandyarn.lock, and deletes the related unit tests.Written by Cursor Bugbot for commit f95f656. This will update automatically on new commits. Configure here.