Skip to content

Conversation

@gauthierpetetin
Copy link
Contributor

@gauthierpetetin gauthierpetetin commented Jan 29, 2026

Description

This PR is built on top of: #39523 which is meant to be merged first.

This PR moves firstTimeInfo (installation version and date) from a top-level state property into AppMetadataController. This architectural change ensures firstTimeInfo is automatically backed up to IndexedDB (since AppMetadataController is in backedUpStateKeys) and fixes a bug where firstTimeInfo was never properly persisted in split storage mode. The Sentry migration error tags now include corruption.installVersion and corruption.installDate for better diagnostics.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Helps investigation of: #31159
Helps investigation of: #31117

Manual testing steps

  1. Build the extension with yarn start
  2. Simulate storage corruption by clearing the data key from chrome.storage.local while keeping meta
  3. Reload the extension
  4. On the critical error page, check the "Send error report" checkbox
  5. Click "Restart"
  6. Verify in Sentry that the error includes tags:
    • corruption.installVersion: the version of the app when it got installed
    • corruption.installDate: the date when the app got installed

Screenshots/Recordings

Tags are visible in Sentry
Screenshot 2026-01-29 at 14 08 04

firstTimeInfo are now moved to AppMetadataController
Screenshot 2026-01-29 at 14 10 21

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
Medium risk because it introduces a new state migration (v192) that moves/deletes persisted keys and adjusts startup migration error handling to perform async backup reads; mistakes could affect persisted state shape or boot-time diagnostics.

Overview
Consolidates install metadata by moving firstTimeInfo from the top-level persisted state into AppMetadataController.firstTimeInfo via new migration 192, including validation/deletion of malformed values and ensuring split-storage cleanup via changedControllers.

Records firstTimeInfo through AppMetadataController.maybeRecordFirstTimeInfo during controller setup (removing the old recordFirstTimeInfo init-state mutation), and expands migration failure errors to include corruption.installVersion/corruption.installDate Sentry tags with a fallback read from the IndexedDB backup.

Updates controller metadata/tests and refreshes E2E fixtures/snapshots/validation to reflect the new storage location and migration version bump to 192.

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

Add sentryTags to migration errors to help identify whether users should
have had a vault backup when encountering storage corruption. Tags include
corruption.preMigrationVersion and corruption.backupShouldExist, which are
extracted and sent via the critical error page's error report flow.
@github-actions
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.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 29, 2026

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/extension-platform (2 files, +8 -2)
  • 📁 test/
    • 📁 e2e/
      • 📁 fixtures/
        • 📄 fixture-validation.ts +2 -0
        • 📄 onboarding-fixture.json +6 -2

🕵️ @MetaMask/extension-privacy-reviewers (1 files, +4 -0)
  • 📁 test/
    • 📁 e2e/
      • 📁 tests/
        • 📁 settings/
          • 📄 state-logs.json +4 -0

🧪 @MetaMask/qa (3 files, +12 -2)
  • 📁 test/
    • 📁 e2e/
      • 📁 fixtures/
        • 📄 fixture-validation.ts +2 -0
        • 📄 onboarding-fixture.json +6 -2
      • 📁 tests/
        • 📁 settings/
          • 📄 state-logs.json +4 -0

…ntry tags

Move firstTimeInfo from top-level state to AppMetadataController to leverage
automatic IndexedDB backup. Include corruption.installVersion and
corruption.installDate in Sentry tags when migration errors occur.
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 29, 2026

Builds ready [206c965]
UI Startup Metrics (1520 ± 187 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--15201132192818716651835
load--1283955169417614311580
domContentLoaded--1275948168517514241574
domInteractive--3018118202689
firstPaint--172731207125214304
backgroundConnect--26522232424283309
firstReactRender--21105882536
initialActions--2012225
loadScripts--1028727144216311441300
setupStore--1775382136
numNetworkReqs--221588171567
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--283516018254146130035849
load--1152959152013912651420
domContentLoaded--1131943147313512081415
domInteractive--3719163263895
firstPaint--191801461155237414
backgroundConnect--76628032728676233034
firstReactRender--25164662638
initialActions--107112
loadScripts--89472312291279811161
setupStore--1665272027
numNetworkReqs--1295533554154245
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--85267211541119441049
load--716592987103783940
domContentLoaded--711586980102776934
domInteractive--2517103172273
firstPaint--1006030847111195
backgroundConnect--3817147234283
firstReactRender--1593651628
initialActions--106112
loadScripts--708584977101771932
setupStore--1163951224
numNetworkReqs--221579171574
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1295919340130014831687
load--7256071140106742977
domContentLoaded--7146001123106730972
domInteractive--37181782638106
firstPaint--1576556781199284
backgroundConnect--1626355765158269
firstReactRender--23183542431
initialActions--102112
loadScripts--7115981119104727963
setupStore--1242741418
numNetworkReqs--1285829251144251
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14221132204317615561687
load--1147979173412912301395
domContentLoaded--1146979173313012301395
domInteractive--65342413988140
firstPaint--------
backgroundConnect--62261834174153
firstReactRender--1594571439
initialActions--103122
loadScripts--1115964170911311951299
setupStore--146140171142
numNetworkReqs--231287191877
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--28981894689569832123803
load--13461102269629214162153
domContentLoaded--13461102269529214162153
domInteractive--176521346207207482
firstPaint--------
backgroundConnect--48511819393807381137
firstReactRender--21153342327
initialActions--2056523
loadScripts--12961083265327913422102
setupStore--146132933314127533
numNetworkReqs--923922545102209
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16561367228320417792117
load--14131167183913814941727
domContentLoaded--14131167183813814941722
domInteractive--872923341118145
firstPaint--------
backgroundConnect--73252295193196
firstReactRender--14114341519
initialActions--105122
loadScripts--13721149181112014281600
setupStore--164172271197
numNetworkReqs--231290191978
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--321323609972101033374125
load--16651362682356516982051
domContentLoaded--16651362682256516982050
domInteractive--154521212142170391
firstPaint--------
backgroundConnect--5359664996697731077
firstReactRender--23163842631
initialActions--213123
loadScripts--16221331677956216412016
setupStore--13314776173129647
numNetworkReqs--89412114296184
19--------
📊 Page Load Benchmark Results

Current Commit: 206c965 | Date: 1/29/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±38ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±35ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±12ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.02s 1.33s 1.07s 1.33s
domContentLoaded 728ms 35ms 710ms 988ms 752ms 988ms
firstPaint 79ms 12ms 60ms 188ms 88ms 188ms
firstContentfulPaint 79ms 12ms 60ms 188ms 88ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Update the state logs expected structure to include the new
firstTimeInfo field that was moved to AppMetadataController.
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 29, 2026

Builds ready [3c303dd]
UI Startup Metrics (1315 ± 120 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13151079158312014041520
load--1123894136411612071324
domContentLoaded--1117890135711412011305
domInteractive--251693162471
firstPaint--152661092118189318
backgroundConnect--2292112659232251
firstReactRender--16103741723
initialActions--104113
loadScripts--90267911451159921100
setupStore--1252541418
numNetworkReqs--211581161568
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--277017638760115330535050
load--1177980184315112711445
domContentLoaded--1154967182214612431428
domInteractive--3517142243687
firstPaint--236751471227246419
backgroundConnect--76229059748357442505
firstReactRender--261770103048
initialActions--1011112
loadScripts--918729151513510091154
setupStore--1664991836
numNetworkReqs--1165026145143225
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--8436811084889031012
load--69560087574751846
domContentLoaded--69059687073747842
domInteractive--261692182381
firstPaint--1075924747139210
backgroundConnect--41181382645113
firstReactRender--1710161161731
initialActions--104112
loadScripts--68759486772745834
setupStore--1152741220
numNetworkReqs--221583181575
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1262854238928414771758
load--7166191321118698996
domContentLoaded--7066141313119687990
domInteractive--35161372634115
firstPaint--1566348392200392
backgroundConnect--15712960471152191
firstReactRender--21163332328
initialActions--102011
loadScripts--7036121305117685983
setupStore--1152231418
numNetworkReqs--1586334453177274
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14371200219117315211762
load--1154976176312512231335
domContentLoaded--1153976176212512221335
domInteractive--73342304294149
firstPaint--------
backgroundConnect--63252404579171
firstReactRender--14104971337
initialActions--103122
loadScripts--1120961173411611801254
setupStore--166215251250
numNetworkReqs--231284171872
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--293619108232108430464406
load--13101097219623214031848
domContentLoaded--13091097219523214021848
domInteractive--1435247892171348
firstPaint--------
backgroundConnect--54611946275827531338
firstReactRender--22156062429
initialActions--213123
loadScripts--12291073199515512741481
setupStore--156144418450131588
numNetworkReqs--93392534696211
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16841399234819518002074
load--14351203196913915011692
domContentLoaded--14351202196813915011692
domInteractive--892919340127147
firstPaint--------
backgroundConnect--72282685195189
firstReactRender--14112421519
initialActions--102112
loadScripts--13961188195111714441628
setupStore--165157241261
numNetworkReqs--231289171876
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--307821528649102032394070
load--16741284715791016192068
domContentLoaded--16731284715791016182068
domInteractive--15246764121184394
firstPaint--------
backgroundConnect--46411617293447381216
firstReactRender--211510292329
initialActions--206122
loadScripts--16311245705690615632042
setupStore--13615865174149600
numNetworkReqs--92412224693214
19--------
📊 Page Load Benchmark Results

Current Commit: 3c303dd | Date: 1/29/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.00s (±41ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 693ms (±37ms) 🟢 | historical mean value: 724ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±14ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.00s 41ms 972ms 1.30s 1.03s 1.30s
domContentLoaded 693ms 37ms 670ms 969ms 716ms 969ms
firstPaint 77ms 14ms 64ms 204ms 84ms 204ms
firstContentfulPaint 77ms 14ms 64ms 204ms 84ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@gauthierpetetin gauthierpetetin dismissed davidmurdoch’s stale review January 30, 2026 00:38

The base branch was changed.

@gauthierpetetin gauthierpetetin self-assigned this Jan 30, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 30, 2026

Builds ready [4430f46]
UI Startup Metrics (1339 ± 124 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13391062167912414161557
load--1132897149011811981330
domContentLoaded--1125894148211711921321
domInteractive--2616116172372
firstPaint--1446633869198291
backgroundConnect--23721532015243263
firstReactRender--1794661827
initialActions--107114
loadScripts--90468412571169751109
setupStore--1373761623
numNetworkReqs--211576161570
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--19121536243017920372216
load--1066958178315410511481
domContentLoaded--1050947176915110351456
domInteractive--37171843134116
firstPaint--187751481149222354
backgroundConnect--32527949837341403
firstReactRender--24165272539
initialActions--105114
loadScripts--81170514451388031180
setupStore--1565571727
numNetworkReqs--1265125454149245
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--8616851162999211043
load--710605103494770923
domContentLoaded--705600102994765919
domInteractive--261692182282
firstPaint--1046222843125191
backgroundConnect--42111462947117
firstReactRender--1710138131831
initialActions--104113
loadScripts--702598102793763915
setupStore--1254171230
numNetworkReqs--221584181575
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1254903185022114261643
load--70460412711196961018
domContentLoaded--69559912651196881012
domInteractive--3618219323395
firstPaint--1336452980157325
backgroundConnect--15313132534154258
firstReactRender--23183532429
initialActions--103111
loadScripts--69259712551176861001
setupStore--1345881437
numNetworkReqs--1264825957156249
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14541164200116415461728
load--1170985162611412441405
domContentLoaded--1170985162611412431405
domInteractive--76342294393149
firstPaint--------
backgroundConnect--64282324574171
firstReactRender--1395161319
initialActions--102122
loadScripts--1136970158610111891330
setupStore--145207231035
numNetworkReqs--231283171877
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--28252060719679428274209
load--13541076245933314612278
domContentLoaded--13531076245933314612277
domInteractive--13235620116117430
firstPaint--------
backgroundConnect--3671283952456371999
firstReactRender--22157762428
initialActions--2158623
loadScripts--12781055243028312352134
setupStore--18311828232264714
numNetworkReqs--713721245101182
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16971361246520118352082
load--14501230176813515471722
domContentLoaded--14501230176713515471721
domInteractive--923124748130206
firstPaint--------
backgroundConnect--792619446124166
firstReactRender--15113131522
initialActions--103122
loadScripts--14011215166910914691611
setupStore--2052324111165
numNetworkReqs--231288181977
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--30082222727769732334179
load--16871304578256618572627
domContentLoaded--16871304578256618572627
domInteractive--13536736149106573
firstPaint--------
backgroundConnect--3211151376267306961
firstReactRender--23153952630
initialActions--207122
loadScripts--16231212575155117502576
setupStore--1729820216275655
numNetworkReqs--70382434386182
19--------
📊 Page Load Benchmark Results

Current Commit: 4430f46 | Date: 1/30/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±41ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±38ms) 🟢 | historical mean value: 721ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±10ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 41ms 1.01s 1.34s 1.06s 1.34s
domContentLoaded 718ms 38ms 698ms 1.01s 734ms 1.01s
firstPaint 75ms 10ms 56ms 152ms 84ms 152ms
firstContentfulPaint 75ms 10ms 56ms 152ms 84ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.9 KiB (0.04%)
  • ui: 1 Bytes (0%)
  • common: 44 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 2, 2026

Builds ready [cb5912c]
UI Startup Metrics (1317 ± 125 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13171077176212513831525
load--1123899151612211911328
domContentLoaded--1116892151012211771320
domInteractive--2716103192375
firstPaint--1426733160185231
backgroundConnect--23021227211233258
firstReactRender--1695261826
initialActions--104113
loadScripts--90068912881219631114
setupStore--1244051519
numNetworkReqs--221584171572
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--19221532270417919942264
load--1063938182915010511454
domContentLoaded--1048929178414510351442
domInteractive--37181843034121
firstPaint--219681799267241388
backgroundConnect--32328450540325430
firstReactRender--23164662536
initialActions--103112
loadScripts--81270114911328021169
setupStore--1663761827
numNetworkReqs--1295125654159245
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--85167711851019171033
load--71660894986782888
domContentLoaded--71060394185775883
domInteractive--241597181977
firstPaint--1135738567142279
backgroundConnect--3718136224182
firstReactRender--1592851726
initialActions--104111
loadScripts--70760193884766876
setupStore--1264651322
numNetworkReqs--221592191576
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1250846175322614431657
load--69960810361027071001
domContentLoaded--6896031030101692995
domInteractive--3518238303398
firstPaint--1296437472146310
backgroundConnect--15812936747159298
firstReactRender--21153232328
initialActions--102111
loadScripts--6866011019100690987
setupStore--1152031317
numNetworkReqs--1295326457158249
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14241119209218215091806
load--1140959177713712001383
domContentLoaded--1140959177713712001383
domInteractive--68331834088146
firstPaint--------
backgroundConnect--66243606085209
firstReactRender--14104671336
initialActions--2024222
loadScripts--1105945175412311551281
setupStore--154210261043
numNetworkReqs--241291201883
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--26621882624362127583971
load--13051040329433212621991
domContentLoaded--13041040329433212611990
domInteractive--137351032153119390
firstPaint--------
backgroundConnect--299125981230303908
firstReactRender--22146882333
initialActions--203123
loadScripts--12551017318930012291968
setupStore--17210757208321669
numNetworkReqs--72372144490186
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16661414225216917991967
load--14241210179612715151653
domContentLoaded--14231210179612715151653
domInteractive--933223844132164
firstPaint--------
backgroundConnect--70232224793178
firstReactRender--15114741521
initialActions--102122
loadScripts--13801190169510914551574
setupStore--135100121233
numNetworkReqs--231293191883
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--29762027419250532204067
load--16351265263236518402452
domContentLoaded--16351265263236518392452
domInteractive--13732730152120532
firstPaint--------
backgroundConnect--314112977226326901
firstReactRender--23165662532
initialActions--2047522
loadScripts--15861245260834117172401
setupStore--1358799189129622
numNetworkReqs--70332104388182
19--------
📊 Page Load Benchmark Results

Current Commit: cb5912c | Date: 2/2/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±36ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 726ms (±34ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 36ms 1.02s 1.31s 1.06s 1.31s
domContentLoaded 726ms 34ms 706ms 977ms 745ms 977ms
firstPaint 77ms 10ms 56ms 164ms 84ms 164ms
firstContentfulPaint 77ms 10ms 56ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.9 KiB (0.04%)
  • ui: 0 Bytes (0%)
  • common: 51 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 2, 2026

Builds ready [034ad8c]
UI Startup Metrics (1320 ± 116 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13201063166311613671505
load--1127901142810811821323
domContentLoaded--1121897142210711761318
domInteractive--251587172281
firstPaint--144651190120182256
backgroundConnect--22921326911232260
firstReactRender--16102531822
initialActions--104113
loadScripts--90669211971069591085
setupStore--1363251526
numNetworkReqs--211575161572
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--255415718020126324605572
load--1126967174617011881530
domContentLoaded--1108940173716811491500
domInteractive--37181902837112
firstPaint--235811629238252529
backgroundConnect--66028431397104762609
firstReactRender--24175772540
initialActions--107113
loadScripts--86972214631559181193
setupStore--1664361830
numNetworkReqs--1255427053161241
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--84367110801059171055
load--70158598090762887
domContentLoaded--69558197289757881
domInteractive--261698182381
firstPaint--1106038458140230
backgroundConnect--3617125213891
firstReactRender--17103771931
initialActions--104112
loadScripts--69257997089755879
setupStore--1264361222
numNetworkReqs--221588181575
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1315879237231014951874
load--71460912111177031012
domContentLoaded--70360311951166921006
domInteractive--37183153733103
firstPaint--159641089161155513
backgroundConnect--15212938341153223
firstReactRender--22183632427
initialActions--101011
loadScripts--7006011183115690998
setupStore--1142141418
numNetworkReqs--1495733458172272
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14141119222819414891842
load--1143956202114512061434
domContentLoaded--1143956202114512061434
domInteractive--82289059193147
firstPaint--------
backgroundConnect--702533754102167
firstReactRender--1394761217
initialActions--1023222
loadScripts--1107940195113411501359
setupStore--135125161140
numNetworkReqs--231288171974
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--26731999735060628013504
load--12571055241122812711743
domContentLoaded--12571054241122812711743
domInteractive--1304349490135359
firstPaint--------
backgroundConnect--37212313302904801017
firstReactRender--21146062229
initialActions--203123
loadScripts--11981016226920012121473
setupStore--2049806222348684
numNetworkReqs--82402394793211
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--17581409309323919132154
load--14881191273319415881776
domContentLoaded--14871190273319415881775
domInteractive--843024046117160
firstPaint--------
backgroundConnect--77282345190191
firstReactRender--16117071621
initialActions--103122
loadScripts--14411171269717515311645
setupStore--1951522814110
numNetworkReqs--231284181876
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--30562221650562532664126
load--16511271426045817852522
domContentLoaded--16501271426045817842522
domInteractive--13133649122117481
firstPaint--------
backgroundConnect--37713311462814251054
firstReactRender--23153452531
initialActions--207123
loadScripts--15891253421145116812500
setupStore--19010824228274707
numNetworkReqs--81362835388215
19--------
📊 Page Load Benchmark Results

Current Commit: 034ad8c | Date: 2/2/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 701ms (±36ms) 🟢 | historical mean value: 721ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.29s 1.04s 1.29s
domContentLoaded 701ms 36ms 683ms 949ms 719ms 949ms
firstPaint 74ms 11ms 60ms 160ms 88ms 160ms
firstContentfulPaint 74ms 11ms 60ms 160ms 88ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.9 KiB (0.04%)
  • ui: -9 Bytes (0%)
  • common: 12 Bytes (0%)

The firstTimeInfo.version is set to the current MetaMask version
at installation time and changes with every release, so it should
be ignored in fixture validation like firstTimeInfo.date.

Co-authored-by: Cursor <[email protected]>
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 2, 2026

Builds ready [3b2543f]
UI Startup Metrics (1317 ± 104 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13171066153610413901487
load--1127912135010011891298
domContentLoaded--1120908134510111841280
domInteractive--261793182381
firstPaint--157641185152188238
backgroundConnect--23421831512238252
firstReactRender--16103641826
initialActions--107114
loadScripts--90068911261019631063
setupStore--1363151524
numNetworkReqs--221584181574
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--18761454268118420022130
load--1062926180214210721422
domContentLoaded--1046916179214210421413
domInteractive--36181913036100
firstPaint--198761320161236376
backgroundConnect--32327347938337402
firstReactRender--22156072434
initialActions--108112
loadScripts--81069415071288051137
setupStore--1574751626
numNetworkReqs--1254926053149240
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--87767611031039531076
load--72060699386782894
domContentLoaded--71560398986773890
domInteractive--2716102182378
firstPaint--1066134049121209
backgroundConnect--42191362248105
firstReactRender--17103961933
initialActions--104112
loadScripts--71260198685768888
setupStore--1262951426
numNetworkReqs--221579181574
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1264835180924814811766
load--70160311311116921005
domContentLoaded--69159811241116781000
domInteractive--3317103223495
firstPaint--1386549680175264
backgroundConnect--15212938238153258
firstReactRender--23163232528
initialActions--102111
loadScripts--6895961116109676990
setupStore--1142131416
numNetworkReqs--1324926763160258
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14711162227619515601896
load--1189984209016512501421
domContentLoaded--1188979209016512501420
domInteractive--80332464598180
firstPaint--------
backgroundConnect--73283105799196
firstReactRender--13104251419
initialActions--102122
loadScripts--1149970199715112021368
setupStore--165109191164
numNetworkReqs--241291202079
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--26621950481155527274174
load--12951077245830812102111
domContentLoaded--12941077245830912102110
domInteractive--12937825122118427
firstPaint--------
backgroundConnect--3311241506295322971
firstReactRender--22156372330
initialActions--208123
loadScripts--12421052232026411821852
setupStore--1548832213169681
numNetworkReqs--71342204792190
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16521333202515617801958
load--14051134164711014941606
domContentLoaded--14041134164711014921606
domInteractive--973124750131201
firstPaint--------
backgroundConnect--722328348110155
firstReactRender--15115861525
initialActions--103122
loadScripts--1361111816109514221525
setupStore--176162261251
numNetworkReqs--241294201881
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--30072089727370234394161
load--16651267575855217632544
domContentLoaded--16651267575855217622544
domInteractive--146313796383104469
firstPaint--------
backgroundConnect--2931151026219314916
firstReactRender--22156362532
initialActions--216123
loadScripts--16131243573453717262429
setupStore--1517853215164717
numNetworkReqs--70382104284183
19--------
📊 Page Load Benchmark Results

Current Commit: 3b2543f | Date: 2/2/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±40ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 733ms (±37ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±9ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 40ms 1.02s 1.35s 1.09s 1.35s
domContentLoaded 733ms 37ms 709ms 1.00s 772ms 1.00s
firstPaint 79ms 9ms 60ms 152ms 88ms 152ms
firstContentfulPaint 79ms 9ms 60ms 152ms 88ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.91 KiB (0.04%)
  • ui: 1 Bytes (0%)
  • common: 1.28 KiB (0.01%)

@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Feb 2, 2026
@gauthierpetetin gauthierpetetin added this pull request to the merge queue Feb 2, 2026
Merged via the queue into main with commit 2a212d3 Feb 2, 2026
337 of 339 checks passed
@gauthierpetetin gauthierpetetin deleted the feat/instrument-migration-error-2 branch February 2, 2026 17:48
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2026
@metamaskbot metamaskbot added the release-13.18.0 Issue or pull request that will be included in release 13.18.0 label Feb 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.18.0 Issue or pull request that will be included in release 13.18.0 size-M team-extension-platform Extension Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants