-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(patch): Use core branch for assets-controllers patch #7922
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7922 +/- ##
=======================================
Coverage 37.39% 37.39%
=======================================
Files 1052 1052
Lines 28175 28175
Branches 2517 2517
=======================================
Hits 10536 10536
Misses 17040 17040
Partials 599 599 ☔ View full report in Codecov by Sentry. |
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/76ffd11c-5ce6-4ec7-8fa6-a7008ec9a2a1 |
e6df9f9
to
7c8405d
Compare
The `@metamask/assets-controllers` patch for the TokenRatesController has been updated to use a branch on the core monorepo. Using a core branch for these patch changes lets us more easily lint and type check the changes (and even test them if we feel the need), and avoids the need to work with compiled JavaScript (which can be tricky, especially when dealing with async code). The patch is functionally identical to before; the only differences are type fixes, and a comment explaining the patch and how it is maintained. So far only the `TokenRatesController` portion of the patch uses this branch, but we can extend this strategy later to the other files in this patch, if we find that useful. Relates to #7903
7c8405d
to
210f858
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
The
@metamask/assets-controllers
patch for the TokenRatesController has been updated to use a branch on the core monorepo. Using a core branch for these patch changes lets us more easily lint and type check the changes (and even test them if we feel the need), and avoids the need to work with compiled JavaScript (which can be tricky, especially when dealing with async code).The patch is functionally identical to before; the only differences are type fixes, and a comment explaining the patch and how it is maintained.
So far only the
TokenRatesController
portion of the patch uses this branch, but we can extend this strategy later to the other files in this patch, if we find that useful.Related issues
Relates to #7903
Manual testing steps
N/A, no functional changes
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist