Skip to content
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: bump @metamask/base-controller to ^7.0.0 #27032

Merged
merged 12 commits into from
Sep 11, 2024

Conversation

kanthesha
Copy link
Contributor

@kanthesha kanthesha commented Sep 10, 2024

Description

This PR bumps @metamask/base-controller to v7.0.0.

Open in GitHub Codespaces

Related issues

Fixes: #26920

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
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.

@kanthesha
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.15%. Comparing base (54c85e8) to head (b53d4f5).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #27032   +/-   ##
========================================
  Coverage    70.15%   70.15%           
========================================
  Files         1425     1425           
  Lines        49653    49653           
  Branches     13891    13891           
========================================
  Hits         34833    34833           
  Misses       14820    14820           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Collaborator

Builds ready [f725f75]
Page Load Metrics (1631 ± 65 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14902048162813766
domContentLoaded14821914160511857
load14902060163113565
domInteractive205133115
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 162.97 KiB (4.78%)
  • ui: 0 Bytes (0.00%)
  • common: 140.4 KiB (1.78%)

@kanthesha kanthesha marked this pull request as ready for review September 10, 2024 17:19
@kanthesha kanthesha requested review from a team as code owners September 10, 2024 17:19
@metamaskbot
Copy link
Collaborator

Builds ready [7168c56]
Page Load Metrics (1900 ± 74 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint27223161766493237
domContentLoaded16542306187215876
load16642318190015574
domInteractive175534105
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 162.97 KiB (4.78%)
  • ui: 0 Bytes (0.00%)
  • common: 140.4 KiB (1.78%)

@metamaskbot
Copy link
Collaborator

Builds ready [f4e0387]
Page Load Metrics (1677 ± 76 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14702104169116881
domContentLoaded14622096165915172
load14712102167715776
domInteractive20443184
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 162.97 KiB (4.78%)
  • ui: 0 Bytes (0.00%)
  • common: 140.4 KiB (1.78%)

Copy link
Contributor

@legobeat legobeat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not entirely address #26920, as most independent controllers are still remaining on v6 (whereas this only changes the root package dependency)? Change LGTM, in any case, assuming v7 is backwards-compatible with v6.

Copy link

sonarcloud bot commented Sep 11, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [b53d4f5]
Page Load Metrics (1804 ± 107 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint148023361807217104
domContentLoaded147023161785213102
load147923841804223107
domInteractive138836189
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 162.97 KiB (4.78%)
  • ui: 0 Bytes (0.00%)
  • common: 140.4 KiB (1.78%)

@mikesposito
Copy link
Member

Does not entirely address #26920, as most independent controllers are still remaining on v6 (whereas this only changes the root package dependency)? Change LGTM, in any case, assuming v7 is backwards-compatible with v6.

There is a more broad epic to update other controllers to their latest versions: https://github.com/MetaMask/MetaMask-planning/issues/3234

Copy link
Contributor

@ccharly ccharly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment than @legobeat. It does not entirely address the ticket, since multiple controllers are still using another version of @metamask/base-controller, examples of some accounts related controllers:

├─ @metamask/accounts-controller@npm:17.2.0
│  └─ @metamask/base-controller@npm:6.0.3 (via npm:^6.0.0)
│
├─ @metamask/accounts-controller@npm:18.1.0
│  └─ @metamask/base-controller@npm:6.0.3 (via npm:^6.0.3)
│
├─ @metamask/accounts-controller@npm:18.1.0 [15918]
│  └─ @metamask/base-controller@npm:6.0.3 (via npm:^6.0.3)
│
├─ @metamask/accounts-controller@npm:17.2.0 [d6046]
│  └─ @metamask/base-controller@npm:6.0.3 (via npm:^6.0.0)
...

@kanthesha kanthesha merged commit 3797b2f into develop Sep 11, 2024
78 checks passed
@kanthesha kanthesha deleted the chore/bump-base-controller-version branch September 11, 2024 10:28
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Sep 11, 2024
@metamaskbot metamaskbot added release-12.5.0 Issue or pull request that will be included in release 12.5.0 and removed release-12.6.0 Issue or pull request that will be included in release 12.6.0 labels Sep 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.5.0 Issue or pull request that will be included in release 12.5.0 team-wallet-framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BaseController upgrade from v6 to v7
5 participants