Skip to content

chore: bump @metamask/profile-sync-controller to ^28.0.0#40711

Open
mathieuartu wants to merge 12 commits intomainfrom
chore/core-pr-8144-test-drive
Open

chore: bump @metamask/profile-sync-controller to ^28.0.0#40711
mathieuartu wants to merge 12 commits intomainfrom
chore/core-pr-8144-test-drive

Conversation

@mathieuartu
Copy link
Contributor

@mathieuartu mathieuartu commented Mar 9, 2026

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

No manual testing steps

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.

Note

Medium Risk
Dependency upgrade in auth/profile-sync plus new LavaMoat global allowances (atob/btoa) could affect token handling and runtime sandboxing if mismatched with the new package behavior.

Overview
Updates the extension to @metamask/profile-sync-controller@28 (and related package bumps), and refactors multiple controller messengers to use the new *Action type exports (e.g., AuthenticationControllerGetBearerTokenAction, UserStorageControllerPerformGetStorageAction) while keeping the delegated action strings the same.

Adjusts LavaMoat policies to allow atob/btoa globals for @metamask/profile-sync-controller, and updates the user-storage E2E mock to derive the SRP identifier from the auth JWT via AuthenticationController.Mocks.getE2EIdentifierFromJwt instead of using a fallback identifier.

Written by Cursor Bugbot for commit 37adf72. This will update automatically on new commits. Configure here.

@mathieuartu mathieuartu self-assigned this Mar 9, 2026
@mathieuartu mathieuartu added the team-accounts-framework Accounts team label Mar 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

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.

Co-authored-by: Mathieu Artu <mathieuartu@users.noreply.github.com>
@cursor cursor bot temporarily deployed to pr-comment March 9, 2026 13:14 Inactive
@cursor cursor bot temporarily deployed to pr-comment March 9, 2026 13:46 Inactive
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

Builds ready [f88d70a]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2812742928284292
total2812742928284292
Confirm Txconfirm_tx6040601860752260416075
total6040601860752260416075
Bridge User Actionsbridge_load_page23620226830263268
bridge_load_asset_picker20920222310223223
bridge_search_token76874180020778800
total1211117212513412391251
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14711214196112515431677
load12291012145110012971390
domContentLoaded12211005142410012891383
domInteractive291891172679
firstPaint176731289142223372
backgroundConnect22620154137229261
firstReactRender20144152127
initialActions107124
loadScripts101981012239710761185
setupStore1373151423
numNetworkReqs4031107203493
Power User HomeuiStartup3236165912137230144817337
load12011051181414912261578
domContentLoaded11871043180214712161567
domInteractive3520143223485
firstPaint1877649093263325
backgroundConnect125926810172204013244123
firstReactRender25174562738
initialActions107113
loadScripts96882815361379961319
setupStore1654161927
numNetworkReqs81382224987200
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202192200220220
srpButtonToSrpForm94939619596
confirmSrpToPwForm22212312223
pwFormToMetricsScreen16161701617
metricsToWalletReadyScreen16161701617
doneButtonToHomeScreen64259270545687705
openAccountMenuToAccountListLoaded9117909991321291249132
total101111007010181421010510181
Onboarding New WalletcreateWalletToSocialScreen2202162243222224
srpButtonToPwForm1111091132112113
createPwToRecoveryScreen889099
skipBackupToMetricsScreen37354233842
agreeButtonToOnboardingSuccess17161911819
doneButtonToAssetList58548964359633643
total98288510365410211036
Asset DetailsassetClickToPriceChart36363813838
total36363813838
Solana Asset DetailsassetClickToPriceChart938210810101108
total938210810101108
Import Srp HomeloginToHomeScreen1944186920647319242064
openAccountMenuAfterLogin46454814848
homeAfterImportWithNewWallet23402232250710423422507
total43994196471320844614713
Send TransactionsopenSendPageFromHome27194282942
selectTokenToSendFormLoaded19181911919
reviewTransactionToConfirmationPage8478458491848849
total8898838976893897
SwapopenSwapPageFromHome553275186975
fetchAndDisplaySwapQuotes434343414347343474347
total440643984416844114416
🌐 Dapp Page Load Benchmarks

Current Commit: f88d70a | Date: 3/9/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.11s (±83ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 783ms (±80ms) 🟢 | historical mean value: 742ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 86ms (±10ms) 🟢 | historical mean value: 83ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.11s 83ms 1.05s 1.46s 1.36s 1.46s
domContentLoaded 783ms 80ms 736ms 1.12s 1.03s 1.12s
firstPaint 86ms 10ms 72ms 172ms 100ms 172ms
firstContentfulPaint 86ms 10ms 72ms 172ms 100ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

@mathieuartu mathieuartu requested a review from a team as a code owner March 9, 2026 22:07
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (1 files, +7 -3)
  • 📁 test/
    • 📁 e2e/
      • 📁 helpers/
        • 📁 identity/
          • 📁 user-storage/
            • 📄 userStorageMockttpController.ts +7 -3

📜 @MetaMask/policy-reviewers (8 files, +12 -0)
  • 📁 lavamoat/
    • 📁 browserify/
      • 📁 beta/
        • 📄 policy.json +2 -0
      • 📁 experimental/
        • 📄 policy.json +2 -0
      • 📁 flask/
        • 📄 policy.json +2 -0
      • 📁 main/
        • 📄 policy.json +2 -0
    • 📁 webpack/
      • 📁 mv2/
        • 📁 beta/
          • 📄 policy.json +1 -0
        • 📁 experimental/
          • 📄 policy.json +1 -0
        • 📁 flask/
          • 📄 policy.json +1 -0
        • 📁 main/
          • 📄 policy.json +1 -0

Tip

Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

Builds ready [f65326c]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account33427838837347388
total33427838837347388
Confirm Txconfirm_tx6059603360922560766092
total6059603360922560766092
Bridge User Actionsbridge_load_page24619430642283306
bridge_load_asset_picker21920523812227238
bridge_search_token7547417618761761
total1227117312713612621271
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14231172177211414611637
load1187989150310712201392
domContentLoaded1180986149610512151384
domInteractive3117108212785
firstPaint166701420151207353
backgroundConnect21318840923214239
firstReactRender22136972330
initialActions107225
loadScripts986800128910410181195
setupStore1262851521
numNetworkReqs4031108213498
Power User HomeuiStartup235416587535100722154582
load11831037174415911981594
domContentLoaded11661028170815011821567
domInteractive3819162293496
firstPaint17872629103249407
backgroundConnect54725950768113411825
firstReactRender25166572736
initialActions105113
loadScripts95281314641469671344
setupStore1754981937
numNetworkReqs75312214682182
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2182172191219219
srpButtonToSrpForm92899429394
confirmSrpToPwForm21212102121
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16151711617
doneButtonToHomeScreen61059464118605641
openAccountMenuToAccountListLoaded9097908591121090979112
total101381005110255841021910255
Onboarding New WalletcreateWalletToSocialScreen2202202210221221
srpButtonToPwForm1071061081107108
createPwToRecoveryScreen989099
skipBackupToMetricsScreen36363703737
agreeButtonToOnboardingSuccess16161701617
doneButtonToAssetList50949353016520530
total90488094827907948
Asset DetailsassetClickToPriceChart42374634246
total42374634246
Solana Asset DetailsassetClickToPriceChart91839879798
total91839879798
Import Srp HomeloginToHomeScreen2081206520961320962096
openAccountMenuAfterLogin52505325353
homeAfterImportWithNewWallet2425231524946924712494
total46104434479514847444795
Send TransactionsopenSendPageFromHome19182011920
selectTokenToSendFormLoaded20192112121
reviewTransactionToConfirmationPage8578478667861866
total8988879077902907
SwapopenSwapPageFromHome431873205873
fetchAndDisplaySwapQuotes4346433043611443584361
total4404435244593544184459
🌐 Dapp Page Load Benchmarks

Current Commit: f65326c | Date: 3/9/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±75ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 748ms (±73ms) 🟢 | historical mean value: 742ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±12ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 75ms 1.01s 1.35s 1.28s 1.35s
domContentLoaded 748ms 73ms 708ms 1.03s 965ms 1.03s
firstPaint 81ms 12ms 64ms 188ms 88ms 188ms
firstContentfulPaint 81ms 12ms 64ms 188ms 88ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

@mathieuartu
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot metamaskbot requested a review from a team as a code owner March 10, 2026 09:06
@metamaskbot
Copy link
Collaborator

Policies updated.
👀 Please review the diff for suspicious new powers.

🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff

👀 lavamoat/browserify/beta/policy.json changes differ from main/policy.json policy changes
👀 lavamoat/browserify/experimental/policy.json changes differ from main/policy.json policy changes
👀 lavamoat/browserify/flask/policy.json changes differ from main/policy.json policy changes
👀 lavamoat/webpack/mv2/beta/policy.json changes differ from mv2/main/policy.json policy changes
👀 lavamoat/webpack/mv2/experimental/policy.json changes differ from mv2/main/policy.json policy changes
👀 lavamoat/webpack/mv2/flask/policy.json changes differ from mv2/main/policy.json policy changes
✅ lavamoat/webpack/mv3/beta/policy.json changes match mv3/main/policy.json policy changes
✅ lavamoat/webpack/mv3/experimental/policy.json changes match mv3/main/policy.json policy changes
✅ lavamoat/webpack/mv3/flask/policy.json changes match mv3/main/policy.json policy changes

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

"URL": true,
"URLSearchParams": true,
"addEventListener": true,
"atob": true,
Copy link

Choose a reason for hiding this comment

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

Missing btoa in webpack/mv2 LavaMoat policies

Medium Severity

The browserify policies for @metamask/profile-sync-controller add both atob and btoa globals, but all four webpack/mv2 policies only add atob. If the updated preview package uses btoa, it will be blocked by LavaMoat in MV2 webpack builds, potentially causing runtime failures in that build variant while working fine in browserify builds.

Additional Locations (1)

Fix in Cursor Fix in Web

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [0bc0e72]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account31727535127334351
total31727535127334351
Confirm Txconfirm_tx6124609361632561396163
total6124609361632561396163
Bridge User Actionsbridge_load_page28921235456349354
bridge_load_asset_picker20615926538228265
bridge_search_token73371175216750752
total1228111513298813011329
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup13371115166210013811542
load111493813178211461291
domContentLoaded110693413088211381281
domInteractive281695192480
firstPaint1716439173208327
backgroundConnect19517724011198218
firstReactRender19124162032
initialActions402052034
loadScripts9277611129809571097
setupStore1263951522
numNetworkReqs312287182578
Power User HomeuiStartup20161707285017120802255
load11601043190515811481565
domContentLoaded11431030184815111341552
domInteractive3519183203870
firstPaint179761469155234311
backgroundConnect30326449238315365
firstReactRender25166582739
initialActions107113
loadScripts93181915591439211315
setupStore1783661930
numNetworkReqs68361914555173
🧭 User Journey Benchmarks

⚠️ Missing data: chrome/browserify/userJourneyAssets

BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202202200220220
srpButtonToSrpForm97979809898
confirmSrpToPwForm23222412424
pwFormToMetricsScreen16161711717
metricsToWalletReadyScreen17171801818
doneButtonToHomeScreen73860082481802824
openAccountMenuToAccountListLoaded2946293529641129482964
total4015391941178240834117
Onboarding New WalletcreateWalletToSocialScreen2172172170217217
srpButtonToPwForm1041021061105106
createPwToRecoveryScreen888088
skipBackupToMetricsScreen34333613636
agreeButtonToOnboardingSuccess16151601616
doneButtonToAssetList59047068797679687
total977850106710210581067
Import Srp HomeloginToHomeScreen1875186118881018811888
openAccountMenuAfterLogin463360105060
homeAfterImportWithNewWallet24402254264814225302648
total43394195455914243664559
Send TransactionsopenSendPageFromHome28183873138
selectTokenToSendFormLoaded27204292542
reviewTransactionToConfirmationPage8488468512848851
total90388491712908917
SwapopenSwapPageFromHome331845114345
fetchAndDisplaySwapQuotes268626842689226882689
total2722270227441727312744
🌐 Dapp Page Load Benchmarks

Current Commit: 0bc0e72 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±58ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 754ms (±56ms) 🟢 | historical mean value: 732ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±12ms) 🟢 | historical mean value: 83ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 58ms 1.03s 1.38s 1.10s 1.38s
domContentLoaded 754ms 56ms 721ms 1.07s 780ms 1.07s
firstPaint 84ms 12ms 72ms 192ms 92ms 192ms
firstContentfulPaint 84ms 12ms 72ms 192ms 92ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

Copy link
Contributor Author

@mathieuartu mathieuartu left a comment

Choose a reason for hiding this comment

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

The Test-Lint step is failing because of preferences-controller version that needs alignment. Doesn't interfere with the purpose of this test drive PR.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [0bc0e72]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account31727535127334351
total31727535127334351
Confirm Txconfirm_tx6124609361632561396163
total6124609361632561396163
Bridge User Actionsbridge_load_page28921235456349354
bridge_load_asset_picker20615926538228265
bridge_search_token73371175216750752
total1228111513298813011329
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup13371115166210013811542
load111493813178211461291
domContentLoaded110693413088211381281
domInteractive281695192480
firstPaint1716439173208327
backgroundConnect19517724011198218
firstReactRender19124162032
initialActions402052034
loadScripts9277611129809571097
setupStore1263951522
numNetworkReqs312287182578
Power User HomeuiStartup20161707285017120802255
load11601043190515811481565
domContentLoaded11431030184815111341552
domInteractive3519183203870
firstPaint179761469155234311
backgroundConnect30326449238315365
firstReactRender25166582739
initialActions107113
loadScripts93181915591439211315
setupStore1783661930
numNetworkReqs68361914555173
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202202200220220
srpButtonToSrpForm97979809898
confirmSrpToPwForm23222412424
pwFormToMetricsScreen16161711717
metricsToWalletReadyScreen17171801818
doneButtonToHomeScreen73860082481802824
openAccountMenuToAccountListLoaded2946293529641129482964
total4015391941178240834117
Onboarding New WalletcreateWalletToSocialScreen2172172170217217
srpButtonToPwForm1041021061105106
createPwToRecoveryScreen888088
skipBackupToMetricsScreen34333613636
agreeButtonToOnboardingSuccess16151601616
doneButtonToAssetList59047068797679687
total977850106710210581067
Asset DetailsassetClickToPriceChart1081081090109109
total1081081090109109
Solana Asset DetailsassetClickToPriceChart78758227982
total78758227982
Import Srp HomeloginToHomeScreen1875186118881018811888
openAccountMenuAfterLogin463360105060
homeAfterImportWithNewWallet24402254264814225302648
total43394195455914243664559
Send TransactionsopenSendPageFromHome28183873138
selectTokenToSendFormLoaded27204292542
reviewTransactionToConfirmationPage8488468512848851
total90388491712908917
SwapopenSwapPageFromHome331845114345
fetchAndDisplaySwapQuotes268626842689226882689
total2722270227441727312744
🌐 Dapp Page Load Benchmarks

Current Commit: 0bc0e72 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±58ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 754ms (±56ms) 🟢 | historical mean value: 732ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±12ms) 🟢 | historical mean value: 83ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 58ms 1.03s 1.38s 1.10s 1.38s
domContentLoaded 754ms 56ms 721ms 1.07s 780ms 1.07s
firstPaint 84ms 12ms 72ms 192ms 92ms 192ms
firstContentfulPaint 84ms 12ms 72ms 192ms 92ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

github-merge-queue bot pushed a commit to MetaMask/core that referenced this pull request Mar 10, 2026
… bugs (#8144)

## Explanation

⚠️ This is a breaking change, and clients will need to be updated around
the E2E setup area.
Needed changes are in the test-drive PRs below.

Extension test-drive PR:
MetaMask/metamask-extension#40711

## References

Related to https://consensyssoftware.atlassian.net/browse/MUL-1549

## 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)
- [x] 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]
> **High Risk**
> Touches authentication session validation and token retrieval behavior
(including breaking test/mock contract), which can affect
login/coalescing and any consumers relying on cached tokens.
> 
> **Overview**
> Fixes profile auth/token caching edge-cases that could lead to **stale
bearer tokens (401s)**.
> 
> `profile-sync-controller` now validates cached login sessions by
decoding the JWT `exp` claim (rejecting expired/malformed/non-JWT
tokens) and resolves `undefined` `entropySourceId` to the *primary* SRP
ID (cached across calls and cleared on sign-out), eliminating duplicate
logins caused by `undefined` vs explicit primary IDs;
`getUserProfileLineage` is updated to accept an optional
`entropySourceId` end-to-end.
> 
> `profile-metrics-controller` moves
`AuthenticationController:getBearerToken` acquisition inside the retry
execution so each retry fetches a fresh token. E2E/test mocks are
updated to wrap mock identifiers in JWT-shaped tokens and provide
`getE2EIdentifierFromJwt` to extract the original identifier.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
884180c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@mathieuartu mathieuartu changed the title chore: core PR 8144 test drive chore: bump @metamask/profile-sync-controller to ^28.0.0 Mar 10, 2026
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​metamask/​assets-controllers@​100.2.0 ⏵ 100.2.1721009199 +1100
Updated@​metamask/​profile-metrics-controller@​3.0.1 ⏵ 3.0.3991007595 +2100
Updated@​metamask/​core-backend@​6.1.0 ⏵ 6.1.17610010096 +1100
Added@​metamask/​profile-sync-controller@​28.0.0971008796100

View full report

@sonarqubecloud
Copy link

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [37adf72]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
🧭 User Journey Benchmarks

⚠️ Missing data: chrome/browserify/userJourneyAssets, chrome/browserify/userJourneyTransactions

🌐 Dapp Page Load Benchmarks

Current Commit: 37adf72 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±73ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 747ms (±71ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±14ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 73ms 1.01s 1.34s 1.28s 1.34s
domContentLoaded 747ms 71ms 709ms 1.03s 961ms 1.03s
firstPaint 80ms 14ms 64ms 204ms 92ms 204ms
firstContentfulPaint 80ms 14ms 64ms 204ms 92ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 13.89 KiB (0.26%)
  • ui: -5 Bytes (0%)
  • common: 69.12 KiB (0.61%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants