Skip to content

Conversation

@lwin-kyaw
Copy link
Contributor

@lwin-kyaw lwin-kyaw commented Jul 21, 2025

Description

This PR enables SEEDLESS_ONBOARDING feature by setting SEEDLESS_ONBOARDING_ENABLED to 'true'.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Enabled seedless onboarding

Related issues

Fixes:

Manual testing steps

  1. Download the build from the PR (feat: enable SeedlessOnboarding feature cp-13.0.0 #34429 (comment)) and install it
  2. During the onboarding, choose Social Login to create a new wallet
  3. User should be able to complete the onboarding flow

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.

@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.

@metamaskbot metamaskbot added the team-onboarding Onboarding team label Jul 21, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [b8050cc]
UI Startup Metrics (1257 ± 60 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1257107414186012971370
load108093012005311231165
domContentLoaded107392711945311171158
domInteractive18145981639
firstPaint67775122344210931162
backgroundConnect2101962446212219
firstReactRender20134462038
getState10498111124
initialActions30214115
loadScripts86973398752915952
setupStore73213614
WebpackHomeuiStartup24871994297715925572758
load19941463263018120842317
domContentLoaded19821456262618020702241
domInteractive2113252261661
firstPaint1756161477198301
backgroundConnect38102825235208
firstReactRender1788937169220317
getState124208201121
initialActions62467725
loadScripts19771453261417920602237
setupStore176242241733
FirefoxBrowserifyHomeuiStartup15151324201214415691828
load1298112515869113341499
domContentLoaded1298112515869113341499
domInteractive1103549072110309
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2915136162862
firstReactRender28218093041
getState173324431277
initialActions5017618314
loadScripts1275111015568913121473
setupStore13424627855
WebpackHomeuiStartup17481525246820617962192
load14831303209316215391859
domContentLoaded14821302209316215391859
domInteractive107385728495348
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect291774123058
firstReactRender53426865763
getState113188211324
initialActions7120421617
loadScripts14591280203815915171817
setupStore14526234928
Benchmark value 1258 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 1080 exceeds gate value 1070 for chrome browserify home mean load
Benchmark value 1074 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 210 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 3 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 870 exceeds gate value 830 for chrome browserify home mean loadScripts
Benchmark value 1370 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 219 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 15 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 952 exceeds gate value 940 for chrome browserify home p95 loadScripts
Benchmark value 2488 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 1994 exceeds gate value 1711 for chrome webpack home mean load
Benchmark value 1983 exceeds gate value 1704 for chrome webpack home mean domContentLoaded
Benchmark value 1978 exceeds gate value 1699 for chrome webpack home mean loadScripts
Benchmark value 2759 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 2317 exceeds gate value 2030 for chrome webpack home p95 load
Benchmark value 2241 exceeds gate value 2005 for chrome webpack home p95 domContentLoaded
Benchmark value 61 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 209 exceeds gate value 90 for chrome webpack home p95 backgroundConnect
Benchmark value 25 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 2238 exceeds gate value 1970 for chrome webpack home p95 loadScripts
Benchmark value 1516 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 1298 exceeds gate value 1245 for firefox browserify home mean load
Benchmark value 1298 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Benchmark value 111 exceeds gate value 110 for firefox browserify home mean domInteractive
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 17 exceeds gate value 11 for firefox browserify home mean getState
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 1275 exceeds gate value 1230 for firefox browserify home mean loadScripts
Benchmark value 13 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1828 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 1499 exceeds gate value 1495 for firefox browserify home p95 load
Benchmark value 1499 exceeds gate value 1495 for firefox browserify home p95 domContentLoaded
Benchmark value 309 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 77 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 14 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 55 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1748 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1483 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1483 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 108 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 29 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 54 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 8 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1459 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 15 exceeds gate value 13 for firefox webpack home mean setupStore
Benchmark value 2192 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 1859 exceeds gate value 1660 for firefox webpack home p95 load
Benchmark value 1859 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded
Benchmark value 348 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 58 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 63 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 17 exceeds gate value 2 for firefox webpack home p95 initialActions
Benchmark value 1817 exceeds gate value 1630 for firefox webpack home p95 loadScripts
Sum of mean exceeds: 2192ms | Sum of p95 exceeds: 2922.8ms
Sum of all benchmark exceeds: 5114.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 142 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 36 Bytes (0%)

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.

Bug: Social Login Interferes with Vault Decryption Tests

The removal of socialLoginEnabled: false from vault decryption tests, coupled with SEEDLESS_ONBOARDING_ENABLED now defaulting to true, causes these tests to use social login onboarding. This is problematic because these tests require traditional password-based wallet creation to properly test vault decryption functionality, leading to test failures or incorrect functionality being tested.

test/e2e/vault-decryption-chrome.spec.ts#L179-L184

// switch to MetaMask window and create a new vault through onboarding flow
await completeCreateNewWalletOnboardingFlowWithCustomSettings({
driver,
password: WALLET_PASSWORD,
needNavigateToNewPage: false,
});

test/e2e/vault-decryption-chrome.spec.ts#L239-L244

// switch to MetaMask window and create a new vault through onboarding flow
await completeCreateNewWalletOnboardingFlowWithCustomSettings({
driver,
password: WALLET_PASSWORD,
needNavigateToNewPage: false,
});

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@lwin-kyaw lwin-kyaw enabled auto-merge July 21, 2025 03:54
@lwin-kyaw lwin-kyaw disabled auto-merge July 21, 2025 03:55
@lwin-kyaw lwin-kyaw changed the title feat: enable SeedlessOnboarding feature feat: enable SeedlessOnboarding feature cp-13.0.0 Jul 21, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [38e9232]
UI Startup Metrics (1320 ± 64 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1320117315846413631412
load113097814486911731228
domContentLoaded112297114387011671221
domInteractive201470101843
firstPaint697134145145911531233
backgroundConnect21920131712220240
firstReactRender21155452232
getState943771027
initialActions2013339
loadScripts9107611224709561010
setupStore74193712
WebpackHomeuiStartup23811866297517524792592
load18771380250218619762162
domContentLoaded18671375248518719672157
domInteractive181371131557
firstPaint1616634964193316
backgroundConnect42104516932239
firstReactRender1768841172224335
getState173249361237
initialActions13223034742
loadScripts18621372247218619632155
setupStore1464271729
FirefoxBrowserifyHomeuiStartup15381349208013516181819
load1319118915939613651519
domContentLoaded1319118915939613651519
domInteractive1103648868109300
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2916195193050
firstReactRender28216783055
getState152193321270
initialActions40285415
loadScripts1294115515629213391483
setupStore13318028846
WebpackHomeuiStartup18341551249920419972184
load15501317195915516411886
domContentLoaded15501316195915616411886
domInteractive100324496993295
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3520255293581
firstReactRender52437765562
getState12382111629
initialActions12025941528
loadScripts15221294191715116161848
setupStore185246351665
Benchmark value 1321 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 1131 exceeds gate value 1070 for chrome browserify home mean load
Benchmark value 1122 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 21 exceeds gate value 20 for chrome browserify home mean domInteractive
Benchmark value 220 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 3 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 911 exceeds gate value 830 for chrome browserify home mean loadScripts
Benchmark value 1412 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 1229 exceeds gate value 1190 for chrome browserify home p95 load
Benchmark value 1222 exceeds gate value 1180 for chrome browserify home p95 domContentLoaded
Benchmark value 44 exceeds gate value 41 for chrome browserify home p95 domInteractive
Benchmark value 1233 exceeds gate value 1180 for chrome browserify home p95 firstPaint
Benchmark value 240 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 9 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 1010 exceeds gate value 940 for chrome browserify home p95 loadScripts
Benchmark value 2381 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 1878 exceeds gate value 1711 for chrome webpack home mean load
Benchmark value 1868 exceeds gate value 1704 for chrome webpack home mean domContentLoaded
Benchmark value 42 exceeds gate value 40 for chrome webpack home mean backgroundConnect
Benchmark value 13 exceeds gate value 7 for chrome webpack home mean initialActions
Benchmark value 1863 exceeds gate value 1699 for chrome webpack home mean loadScripts
Benchmark value 2593 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 2162 exceeds gate value 2030 for chrome webpack home p95 load
Benchmark value 2158 exceeds gate value 2005 for chrome webpack home p95 domContentLoaded
Benchmark value 58 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 239 exceeds gate value 90 for chrome webpack home p95 backgroundConnect
Benchmark value 42 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 2156 exceeds gate value 1970 for chrome webpack home p95 loadScripts
Benchmark value 1539 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 1320 exceeds gate value 1245 for firefox browserify home mean load
Benchmark value 1319 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 15 exceeds gate value 11 for firefox browserify home mean getState
Benchmark value 4 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 1294 exceeds gate value 1230 for firefox browserify home mean loadScripts
Benchmark value 14 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1819 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 1519 exceeds gate value 1495 for firefox browserify home p95 load
Benchmark value 1519 exceeds gate value 1495 for firefox browserify home p95 domContentLoaded
Benchmark value 300 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 70 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 15 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 1483 exceeds gate value 1475 for firefox browserify home p95 loadScripts
Benchmark value 46 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1835 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1550 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1550 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 101 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 35 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 52 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 12 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1523 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 19 exceeds gate value 13 for firefox webpack home mean setupStore
Benchmark value 2184 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 1886 exceeds gate value 1660 for firefox webpack home p95 load
Benchmark value 1886 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded
Benchmark value 295 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 81 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 62 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 28 exceeds gate value 2 for firefox webpack home p95 initialActions
Benchmark value 1848 exceeds gate value 1630 for firefox webpack home p95 loadScripts
Benchmark value 65 exceeds gate value 28 for firefox webpack home p95 setupStore
Sum of mean exceeds: 2332ms | Sum of p95 exceeds: 2841.8ms
Sum of all benchmark exceeds: 5173.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 142 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 36 Bytes (0%)

Copy link
Contributor

@himanshuchawla009 himanshuchawla009 left a comment

Choose a reason for hiding this comment

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

lgtm

@himanshuchawla009 himanshuchawla009 added this pull request to the merge queue Jul 21, 2025
Merged via the queue into main with commit 3b7daf1 Jul 21, 2025
154 checks passed
@himanshuchawla009 himanshuchawla009 deleted the feat/enable-seedless-onboarding branch July 21, 2025 04:30
@github-actions github-actions bot locked and limited conversation to collaborators Jul 21, 2025
@metamaskbot metamaskbot added the release-13.1.0 Issue or pull request that will be included in release 13.1.0 label Jul 21, 2025
@gauthierpetetin gauthierpetetin added release-13.0.0 Issue or pull request that will be included in release 13.0.0 (also called 12.24.0) and removed release-13.1.0 Issue or pull request that will be included in release 13.1.0 labels Aug 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.0.0 Issue or pull request that will be included in release 13.0.0 (also called 12.24.0) team-onboarding Onboarding team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants