Skip to content

Conversation

@huggingbot
Copy link
Member

@huggingbot huggingbot commented Dec 4, 2025

Description

Adds client-side migration to assign dataType column values to legacy seedless onboarding secrets. This categorizes backed-up data as PrimarySrp, ImportedSrp, or ImportedPrivateKey.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/SL-350

Manual testing steps

  1. Create a new wallet via social login and verify migration version is set
  2. Unlock an existing social login wallet with legacy secrets and verify dataType is assigned
  3. Import a new SRP/private key and verify correct dataType is passed

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.

@metamaskbot metamaskbot added the team-onboarding Onboarding team label Dec 4, 2025
@github-actions github-actions bot added the size-M label Dec 4, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [d200905]
UI Startup Metrics (1213 ± 94 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup121398614339412801390
load101885212218210701189
domContentLoaded101384712168110651174
domInteractive2515102182175
firstPaint5379512183979951136
backgroundConnect21619427814225239
firstReactRender301758103753
getState3517109163962
initialActions103112
loadScripts803651100578842952
setupStore1173041322
numNetworkReqs1157017559
BrowserifyPower User HomeuiStartup19681608249721821162372
load986852146913310201301
domContentLoaded975844145913310101294
domInteractive291696202789
firstPaint6609515123819351288
backgroundConnect254188718116226531
firstReactRender543995116074
getState18915131227202242
initialActions104112
loadScripts77466312411278061098
setupStore17960101637
numNetworkReqs80662333074159
WebpackStandard HomeuiStartup8286921119878641007
load64456890674683812
domContentLoaded63956090174679807
domInteractive2815127242495
firstPaint20480825134205598
backgroundConnect1154271228
firstReactRender2820174163138
getState251356103244
initialActions104112
loadScripts63755789172677798
setupStore1163151320
numNetworkReqs1157117563
WebpackPower User HomeuiStartup15901232210524617962082
load674584111094690890
domContentLoaded666579110194684884
domInteractive34162423229107
firstPaint2971001131225329863
backgroundConnect1207664203117580
firstReactRender58458796278
getState17414130123185220
initialActions103112
loadScripts663577109093682876
setupStore1694891543
numNetworkReqs81642663673156
FirefoxBrowserifyStandard HomeuiStartup13301078187916414101703
load1090928143710511521302
domContentLoaded1090923143710511521301
domInteractive64301953386118
firstPaint------
backgroundConnect47222573648111
firstReactRender23184252337
getState156204281038
initialActions103112
loadScripts106291014149411161249
setupStore12595121035
numNetworkReqs1256717762
BrowserifyPower User HomeuiStartup30291949512191139354728
load1412979300353513962504
domContentLoaded1411979300353513962504
domInteractive118311053137108317
firstPaint------
backgroundConnect2842719703903411143
firstReactRender60362642964103
getState299701135266318964
initialActions207123
loadScripts1281952265739113232296
setupStore109690617894539
numNetworkReqs76491322177128
WebpackStandard HomeuiStartup15451269236418616251946
load12591087156810313271438
domContentLoaded12581086156810313271438
domInteractive67261533585129
firstPaint------
backgroundConnect51162713859136
firstReactRender28208193041
getState176155231452
initialActions103122
loadScripts1229106714639512961404
setupStore196209321474
numNetworkReqs1256717763
WebpackPower User HomeuiStartup337821895958107243255646
load16491153391462417442843
domContentLoaded16481152391462517442843
domInteractive1512914172461001028
firstPaint------
backgroundConnect2252413203312141166
firstReactRender72393485068156
getState338781316280489904
initialActions416610230
loadScripts15191124298549015512713
setupStore1447127026093786
numNetworkReqs77511432372129
📊 Page Load Benchmark Results

Current Commit: d200905 | Date: 12/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±46ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±42ms) 🟢 | historical mean value: 723ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 46ms 1.01s 1.33s 1.11s 1.33s
domContentLoaded 730ms 42ms 699ms 997ms 773ms 997ms
firstPaint 78ms 13ms 60ms 192ms 88ms 192ms
firstContentfulPaint 78ms 13ms 60ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.94 KiB (0.04%)
  • ui: 0 Bytes (0%)
  • common: 147 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [2e11045]
UI Startup Metrics (1194 ± 121 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1194972165112112751381
load99981212429710701184
domContentLoaded99380912349710611172
domInteractive241484162173
firstPaint61592125240110011133
backgroundConnect19817624812205218
firstReactRender25197272638
getState3115128143756
initialActions105112
loadScripts802633103892875981
setupStore1163241219
numNetworkReqs271892201889
BrowserifyPower User HomeuiStartup20231653258119721392400
load1015887155913410071358
domContentLoaded100187615521349951351
domInteractive34171802733102
firstPaint48712814833669381240
backgroundConnect250200743101230566
firstReactRender54389095975
getState19514866071202250
initialActions103112
loadScripts79367613121307871142
setupStore1993862335
numNetworkReqs1456438962206257
WebpackStandard HomeuiStartup825699115283864981
load63556481367663786
domContentLoaded63056080666660780
domInteractive2715106232196
firstPaint21872813158194632
backgroundConnect1064661225
firstReactRender26195063137
getState261455113348
initialActions101011
loadScripts62755779765658770
setupStore1062941218
numNetworkReqs271897211888
WebpackPower User HomeuiStartup17011302220824119702153
load6976001245104698945
domContentLoaded6875931236104684938
domInteractive37201582936121
firstPaint26597948164263650
backgroundConnect89772118424601
firstReactRender624890106882
getState210146748120192709
initialActions105112
loadScripts6845911225102681928
setupStore231063122552
numNetworkReqs1626540963214291
FirefoxBrowserifyStandard HomeuiStartup12601057158012513461511
load104188912658611091214
domContentLoaded104188512658611091213
domInteractive55311382880109
firstPaint------
backgroundConnect4223152264396
firstReactRender22174152334
getState126183181123
initialActions103112
loadScripts101787412347910851164
setupStore12575111036
numNetworkReqs281887202080
BrowserifyPower User HomeuiStartup25981947482053026834099
load1167927261823611511531
domContentLoaded1166927261723611511531
domInteractive1153245989110359
firstPaint------
backgroundConnect151311481201136553
firstReactRender61381452062112
getState31133977243447810
initialActions217123
loadScripts1116909234717011171434
setupStore14910982212122703
numNetworkReqs83581692580152
WebpackStandard HomeuiStartup15411302209413916331795
load1262109114839013221423
domContentLoaded1262109114839013221423
domInteractive59261973382122
firstPaint------
backgroundConnect54231843264124
firstReactRender27217482840
getState177212271446
initialActions103112
loadScripts1232106014568212881375
setupStore166120191378
numNetworkReqs281887202285
WebpackPower User HomeuiStartup29582155505674229074839
load14931186297240814672724
domContentLoaded14931186297240814662724
domInteractive12533648121110436
firstPaint------
backgroundConnect1973413552781581044
firstReactRender73413764767151
getState282571059244344838
initialActions3059723
loadScripts13871159281124614321811
setupStore15012778194176630
numNetworkReqs83611692580150
📊 Page Load Benchmark Results

Current Commit: 2e11045 | Date: 12/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±38ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 723ms (±36ms) 🟢 | historical mean value: 724ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±11ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.02s 1.31s 1.07s 1.31s
domContentLoaded 723ms 36ms 705ms 989ms 751ms 989ms
firstPaint 78ms 11ms 64ms 172ms 88ms 172ms
firstContentfulPaint 78ms 11ms 64ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 71.11 KiB (1.37%)
  • ui: -23.44 KiB (-0.3%)
  • common: -74.71 KiB (-0.83%)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants