Skip to content

Conversation

@rarquevaux
Copy link
Contributor

@rarquevaux rarquevaux commented Jan 5, 2026

Description

Use auto-upgrade for gas-included swaps with 7702

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Removed the check for smart account when assessing support for gas included swaps with 7702

Related issues

Fixes:

Manual testing steps

Given the user does not have a smart account on Base/Arbitrum/Polygon
And no native currency to pay for gas
When the use swaps a non native token
Then the quote has gas included
When the user submits the swaps
Then the swap is successful
And the user account is upgraded to a smart account for this network

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

Streamlines the gas-included 7702 support check to depend only on relay availability.

  • Simplifies useGasIncluded7702 to call isRelaySupported(formatChainIdToHex(chainId)) and removes isAtomicBatchSupported and smart account opt-in (getUseSmartAccount) logic
  • Retains early exits when isSendBundleSupportedForChain && getIsSmartTransaction(...), non-swap, missing account/chain, or non-EVM chain
  • Cleans up unused imports and dependencies in the effect
  • Updates useGasIncluded7702.test.ts to drop atomic batch expectations, add/adjust cases for relay-supported/unsupported, error handling, and race-condition scenarios

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

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 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.

@metamaskbot metamaskbot added the team-transactions Transactions team label Jan 5, 2026
@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 5, 2026

✨ Files requiring CODEOWNER review ✨

🔄 @MetaMask/swaps-engineers (2 files, +35 -167)
  • 📁 ui/
    • 📁 pages/
      • 📁 bridge/
        • 📁 hooks/
          • 📄 useGasIncluded7702.test.ts +34 -141
          • 📄 useGasIncluded7702.ts +1 -26

@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 5, 2026

Builds ready [4de9381]
UI Startup Metrics (1344 ± 117 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13441080171611714201524
load1122893137810612011294
domContentLoaded1114887137210611951285
domInteractive2816107202483
firstPaint160701165120196290
backgroundConnect22420128214230255
firstReactRender1493241621
getState3717117184182
initialActions104112
loadScripts89868911351069791063
setupStore1252941320
numNetworkReqs171170161166
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup798642103775851933
load64657487369693779
domContentLoaded64157086969685771
domInteractive2515112202285
firstPaint1025935054115198
backgroundConnect245122263383
firstReactRender14103141622
getState3114139174159
initialActions104112
loadScripts63856885967682763
setupStore1154161325
numNetworkReqs181180171170
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup13641068207218014561675
load1093918184714611581353
domContentLoaded1092913184714611581353
domInteractive70312814191135
firstPaint------
backgroundConnect52192644662171
firstReactRender1710437421220
getState135108171143
initialActions102122
loadScripts1061904166012511101329
setupStore124110131044
numNetworkReqs19979191476
BrowserifyPower User HomeuiStartup23821439365149026793126
load1687999244245620662316
domContentLoaded1687999244145620662316
domInteractive9834117016578262
firstPaint------
backgroundConnect3442411533523461009
firstReactRender201184112444
getState934430840103177
initialActions208123
loadScripts1416963228840718432152
setupStore805102120263862
numNetworkReqs68211923674167
WebpackStandard HomeuiStartup16131336221618616832022
load13431158166411114161573
domContentLoaded13431158166411114161573
domInteractive833025546104173
firstPaint------
backgroundConnect64161924386157
firstReactRender15112731621
getState187251291558
initialActions102122
loadScripts13061137164010213731513
setupStore176194251372
numNetworkReqs19982191478
WebpackPower User HomeuiStartup25681587354747229403143
load19221176283046323322494
domContentLoaded19211176282946323322493
domInteractive74333135888228
firstPaint------
backgroundConnect304251068325330996
firstReactRender20147892334
getState1054089791111219
initialActions218123
loadScripts16821151251741120962315
setupStore65696815956268
numNetworkReqs67191413085136
📊 Page Load Benchmark Results

Current Commit: 4de9381 | Date: 1/5/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±41ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±39ms) 🟢 | historical mean value: 727ms ⬇️ (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.04s 41ms 1.01s 1.33s 1.09s 1.33s
domContentLoaded 722ms 39ms 702ms 1.01s 763ms 1.01s
firstPaint 75ms 10ms 60ms 152ms 84ms 152ms
firstContentfulPaint 75ms 10ms 60ms 152ms 84ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@rarquevaux rarquevaux force-pushed the feat/STX-auto-upgrade branch from 4de9381 to d1e186f Compare January 5, 2026 23:51
@rarquevaux rarquevaux marked this pull request as ready for review January 5, 2026 23:52
@rarquevaux rarquevaux requested a review from a team as a code owner January 5, 2026 23:52
@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [10c980e]
UI Startup Metrics (1278 ± 98 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1278103316269813391429
load107387713849311361192
domContentLoaded106787313729311321186
domInteractive2615123202382
firstPaint15662984111193312
backgroundConnect21619425612220248
firstReactRender1493641524
getState341865104153
initialActions106112
loadScripts858665112690915980
setupStore1162941221
numNetworkReqs171168151166
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup778645104576834912
load63056383063647770
domContentLoaded62655982663643764
domInteractive241599182178
firstPaint1175961299144263
backgroundConnect285166324299
firstReactRender14103341621
getState3115124164057
initialActions103111
loadScripts62355781862640762
setupStore1074041220
numNetworkReqs171175171170
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup14621137260918915391774
load1162972154210512021366
domContentLoaded1161972154110512021366
domInteractive75332564391156
firstPaint------
backgroundConnect59232464269153
firstReactRender14104451419
getState1367291231
initialActions103122
loadScripts112495515099711631326
setupStore154118161241
numNetworkReqs19979191472
BrowserifyPower User HomeuiStartup27581659410762332573613
load18661057286559224452658
domContentLoaded18651057286559124392658
domInteractive10537101412991354
firstPaint------
backgroundConnect3702413033624521159
firstReactRender211374102537
getState1246095993127220
initialActions218123
loadScripts16041028263149921482471
setupStore916108921469937
numNetworkReqs69231813478165
WebpackStandard HomeuiStartup16041273196617217441920
load13441129165812714201600
domContentLoaded13441129165812714201600
domInteractive802821645117157
firstPaint------
backgroundConnect61191713979143
firstReactRender16115961726
getState186244321455
initialActions102022
loadScripts13061108158511513711524
setupStore165123181541
numNetworkReqs19989191475
WebpackPower User HomeuiStartup26811653354751830873335
load19771150285550124402604
domContentLoaded19771150285550124392603
domInteractive852986612162368
firstPaint------
backgroundConnect3101715043313411091
firstReactRender19136082130
getState111631049101118181
initialActions215123
loadScripts17521138252742821652411
setupStore594113617737214
numNetworkReqs67211853572160
📊 Page Load Benchmark Results

Current Commit: 10c980e | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±37ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 726ms (±34ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±12ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 37ms 1.01s 1.31s 1.07s 1.31s
domContentLoaded 726ms 34ms 699ms 971ms 748ms 971ms
firstPaint 78ms 12ms 60ms 176ms 88ms 176ms
firstContentfulPaint 78ms 12ms 60ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [72270f9]
UI Startup Metrics (1277 ± 114 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1277999158811413451481
load1071849134810211271264
domContentLoaded1065847134410111211259
domInteractive2616113212185
firstPaint1406488297184281
backgroundConnect21219425613217241
firstReactRender1493741622
getState392087144568
initialActions105112
loadScripts86065111301009211048
setupStore1273251424
numNetworkReqs171181171166
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup789636104984842961
load63356287975662806
domContentLoaded62755787474656792
domInteractive2515106202083
firstPaint12056750100151239
backgroundConnect336114325793
firstReactRender15103751726
getState2911132163656
initialActions103111
loadScripts62455587273654784
setupStore1154971329
numNetworkReqs181177181175
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup13561101204817814481742
load1091918162912711521348
domContentLoaded1090918162912711521348
domInteractive64322343889134
firstPaint------
backgroundConnect50212424645179
firstReactRender1393851323
getState1265791230
initialActions102122
loadScripts1061902160211111111286
setupStore144104141238
numNetworkReqs20981191375
BrowserifyPower User HomeuiStartup25751485374355829503343
load1736981270356122492499
domContentLoaded1735981270356122492498
domInteractive72333436965277
firstPaint------
backgroundConnect41723119843810431170
firstReactRender20105482441
getState1136499697115163
initialActions207123
loadScripts1391967251641415442284
setupStore834121521965266
numNetworkReqs68221893771169
WebpackStandard HomeuiStartup15451256208515916231895
load13051119166010913741509
domContentLoaded13041118166010913741509
domInteractive79282314297151
firstPaint------
backgroundConnect55191673663141
firstReactRender14106261524
getState166159201448
initialActions102012
loadScripts1270107215539713381456
setupStore205268371369
numNetworkReqs20980191375
WebpackPower User HomeuiStartup26801626351853030813408
load19511106287149823872590
domContentLoaded19511106287149823862590
domInteractive812891211673297
firstPaint------
backgroundConnect3232512663423781088
firstReactRender201364102345
getState996023431111174
initialActions205123
loadScripts17071091270841921302380
setupStore615110218128214
numNetworkReqs67111783773168
📊 Page Load Benchmark Results

Current Commit: 72270f9 | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±38ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 734ms (±36ms) 🟢 | historical mean value: 730ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±9ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 38ms 1.02s 1.33s 1.08s 1.33s
domContentLoaded 734ms 36ms 709ms 1.01s 758ms 1.01s
firstPaint 78ms 9ms 60ms 156ms 84ms 156ms
firstContentfulPaint 78ms 9ms 60ms 156ms 84ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [e9b7495]
UI Startup Metrics (1289 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12891048169611213451472
load1075877149711111311236
domContentLoaded1069871148911011241229
domInteractive261595192281
firstPaint157661153152187282
backgroundConnect21319525610216230
firstReactRender1392531523
getState3418122143851
initialActions103112
loadScripts86366312961109211027
setupStore1274451218
numNetworkReqs171179171167
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup78263795176839931
load63756984168655785
domContentLoaded63256683767651775
domInteractive2415102192079
firstPaint1105936860152227
backgroundConnect265133283494
firstReactRender14104541521
getState311590153958
initialActions104112
loadScripts62956483366648773
setupStore1154571329
numNetworkReqs181181171169
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup14151094248724215111934
load1126939208118912001362
domContentLoaded1125935208119011991362
domInteractive66302204486155
firstPaint------
backgroundConnect62203725498155
firstReactRender12103131318
getState146110151331
initialActions102122
loadScripts1087925199917111391258
setupStore13568111136
numNetworkReqs19978191374
BrowserifyPower User HomeuiStartup26851617353054431033364
load17631030272256223072551
domContentLoaded17631030272256223072550
domInteractive9634100311695298
firstPaint------
backgroundConnect3492711863554351146
firstReactRender20126982441
getState119591138144109159
initialActions213123
loadScripts15231011249647721082325
setupStore935112223168985
numNetworkReqs69141693177150
WebpackStandard HomeuiStartup15741251215218716571959
load13201090173611414011529
domContentLoaded13201090173511314001529
domInteractive83292984599150
firstPaint------
backgroundConnect61192464870160
firstReactRender14112531520
getState156205241234
initialActions103122
loadScripts12851075155210113621493
setupStore215295391597
numNetworkReqs20990201477
WebpackPower User HomeuiStartup26651593356553331113438
load19941190292748924012607
domContentLoaded19931190292748924012607
domInteractive913095113389362
firstPaint------
backgroundConnect3172911733373241100
firstReactRender20125482443
getState105561039101102171
initialActions214123
loadScripts17591168276444821852434
setupStore525107012748176
numNetworkReqs68261993571166
📊 Page Load Benchmark Results

Current Commit: e9b7495 | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 715ms (±36ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.00s 1.33s 1.04s 1.33s
domContentLoaded 715ms 36ms 694ms 996ms 728ms 996ms
firstPaint 76ms 14ms 60ms 200ms 84ms 200ms
firstContentfulPaint 76ms 14ms 60ms 200ms 84ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [e9b7495]
UI Startup Metrics (1289 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12891048169611213451472
load1075877149711111311236
domContentLoaded1069871148911011241229
domInteractive261595192281
firstPaint157661153152187282
backgroundConnect21319525610216230
firstReactRender1392531523
getState3418122143851
initialActions103112
loadScripts86366312961109211027
setupStore1274451218
numNetworkReqs171179171167
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup78263795176839931
load63756984168655785
domContentLoaded63256683767651775
domInteractive2415102192079
firstPaint1105936860152227
backgroundConnect265133283494
firstReactRender14104541521
getState311590153958
initialActions104112
loadScripts62956483366648773
setupStore1154571329
numNetworkReqs181181171169
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup14151094248724215111934
load1126939208118912001362
domContentLoaded1125935208119011991362
domInteractive66302204486155
firstPaint------
backgroundConnect62203725498155
firstReactRender12103131318
getState146110151331
initialActions102122
loadScripts1087925199917111391258
setupStore13568111136
numNetworkReqs19978191374
BrowserifyPower User HomeuiStartup26851617353054431033364
load17631030272256223072551
domContentLoaded17631030272256223072550
domInteractive9634100311695298
firstPaint------
backgroundConnect3492711863554351146
firstReactRender20126982441
getState119591138144109159
initialActions213123
loadScripts15231011249647721082325
setupStore935112223168985
numNetworkReqs69141693177150
WebpackStandard HomeuiStartup15741251215218716571959
load13201090173611414011529
domContentLoaded13201090173511314001529
domInteractive83292984599150
firstPaint------
backgroundConnect61192464870160
firstReactRender14112531520
getState156205241234
initialActions103122
loadScripts12851075155210113621493
setupStore215295391597
numNetworkReqs20990201477
WebpackPower User HomeuiStartup26651593356553331113438
load19941190292748924012607
domContentLoaded19931190292748924012607
domInteractive913095113389362
firstPaint------
backgroundConnect3172911733373241100
firstReactRender20125482443
getState105561039101102171
initialActions214123
loadScripts17591168276444821852434
setupStore525107012748176
numNetworkReqs68261993571166
📊 Page Load Benchmark Results

Current Commit: e9b7495 | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 715ms (±36ms) 🟢 | historical mean value: 729ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.00s 1.33s 1.04s 1.33s
domContentLoaded 715ms 36ms 694ms 996ms 728ms 996ms
firstPaint 76ms 14ms 60ms 200ms 84ms 200ms
firstContentfulPaint 76ms 14ms 60ms 200ms 84ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [e9b7495]
UI Startup Metrics (1289 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12891048169611213451472
load1075877149711111311236
domContentLoaded1069871148911011241229
domInteractive261595192281
firstPaint157661153152187282
backgroundConnect21319525610216230
firstReactRender1392531523
getState3418122143851
initialActions103112
loadScripts86366312961109211027
setupStore1274451218
numNetworkReqs171179171167
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup78263795176839931
load63756984168655785
domContentLoaded63256683767651775
domInteractive2415102192079
firstPaint1105936860152227
backgroundConnect265133283494
firstReactRender14104541521
getState311590153958
initialActions104112
loadScripts62956483366648773
setupStore1154571329
numNetworkReqs181181171169
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup14151094248724215111934
load1126939208118912001362
domContentLoaded1125935208119011991362
domInteractive66302204486155
firstPaint------
backgroundConnect62203725498155
firstReactRender12103131318
getState146110151331
initialActions102122
loadScripts1087925199917111391258
setupStore13568111136
numNetworkReqs19978191374
BrowserifyPower User HomeuiStartup26851617353054431033364
load17631030272256223072551
domContentLoaded17631030272256223072550
domInteractive9634100311695298
firstPaint------
backgroundConnect3492711863554351146
firstReactRender20126982441
getState119591138144109159
initialActions213123
loadScripts15231011249647721082325
setupStore935112223168985
numNetworkReqs69141693177150
WebpackStandard HomeuiStartup15741251215218716571959
load13201090173611414011529
domContentLoaded13201090173511314001529
domInteractive83292984599150
firstPaint------
backgroundConnect61192464870160
firstReactRender14112531520
getState156205241234
initialActions103122
loadScripts12851075155210113621493
setupStore215295391597
numNetworkReqs20990201477
WebpackPower User HomeuiStartup26651593356553331113438
load19941190292748924012607
domContentLoaded19931190292748924012607
domInteractive913095113389362
firstPaint------
backgroundConnect3172911733373241100
firstReactRender20125482443
getState105561039101102171
initialActions214123
loadScripts17591168276444821852434
setupStore525107012748176
numNetworkReqs68261993571166
📊 Page Load Benchmark Results

Current Commit: e9b7495 | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 715ms (±36ms) 🟢 | historical mean value: 729ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.00s 1.33s 1.04s 1.33s
domContentLoaded 715ms 36ms 694ms 996ms 728ms 996ms
firstPaint 76ms 14ms 60ms 200ms 84ms 200ms
firstContentfulPaint 76ms 14ms 60ms 200ms 84ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@rarquevaux rarquevaux enabled auto-merge January 6, 2026 18:15
@metamaskbotv2
Copy link

metamaskbotv2 bot commented Jan 6, 2026

Builds ready [6666cfd]
UI Startup Metrics (1265 ± 100 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12651050153110013431412
load106286813559611341201
domContentLoaded105786413459611271194
domInteractive261692192186
firstPaint150631019112185301
backgroundConnect21219324612216241
firstReactRender1484051624
getState341796123954
initialActions104112
loadScripts851661115497922996
setupStore1264951317
numNetworkReqs171175171166
BrowserifyPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
WebpackStandard HomeuiStartup8226831075828721005
load66759395069693815
domContentLoaded66159094369688808
domInteractive2716104212387
firstPaint1176235167152291
backgroundConnect246122253184
firstReactRender17103361928
getState3515102164363
initialActions1013112
loadScripts65858793467685798
setupStore1376471425
numNetworkReqs171181171168
WebpackPower User HomeuiStartup------
load------
domContentLoaded------
domInteractive------
firstPaint------
backgroundConnect------
firstReactRender------
getState------
initialActions------
loadScripts------
setupStore------
numNetworkReqs------
FirefoxBrowserifyStandard HomeuiStartup13741079203419314901787
load1085926157811511541247
domContentLoaded1084922157811511531247
domInteractive67313945286178
firstPaint------
backgroundConnect52203345158177
firstReactRender1393241421
getState1267591329
initialActions103122
loadScripts1056912151610411171213
setupStore196273341360
numNetworkReqs20986191477
BrowserifyPower User HomeuiStartup25541525390464230523571
load1723995295056622942515
domContentLoaded1723994294956622932514
domInteractive9928157716881315
firstPaint------
backgroundConnect3401812283944251155
firstReactRender19126282327
getState1005223930113151
initialActions2143423
loadScripts1468979293046520542312
setupStore36610621092591
numNetworkReqs62221623367137
WebpackStandard HomeuiStartup17201400227817217902051
load13971227177111814561644
domContentLoaded13971227177111814551644
domInteractive863322942113164
firstPaint------
backgroundConnect61251854068158
firstReactRender17135361725
getState15790121631
initialActions103122
loadScripts13631205167511014141607
setupStore2862254219152
numNetworkReqs20987201378
WebpackPower User HomeuiStartup25121502381348828773282
load18941170310047622472601
domContentLoaded18931170310047522472600
domInteractive1053194816199375
firstPaint------
backgroundConnect3332510693568131003
firstReactRender201283112533
getState94615815797180
initialActions213123
loadScripts16001153276934819682249
setupStore505105013824159
numNetworkReqs61191523174135
📊 Page Load Benchmark Results

Current Commit: 6666cfd | Date: 1/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±42ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±38ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±10ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 42ms 1.01s 1.33s 1.07s 1.33s
domContentLoaded 731ms 38ms 699ms 993ms 752ms 993ms
firstPaint 78ms 10ms 60ms 164ms 84ms 164ms
firstContentfulPaint 78ms 10ms 60ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: -9 Bytes (0%)
  • common: 20 Bytes (0%)

@rarquevaux rarquevaux added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@rarquevaux rarquevaux added this pull request to the merge queue Jan 7, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 7, 2026
@rarquevaux rarquevaux added this pull request to the merge queue Jan 7, 2026
Merged via the queue into main with commit ded940e Jan 7, 2026
174 of 176 checks passed
@rarquevaux rarquevaux deleted the feat/STX-auto-upgrade branch January 7, 2026 16:52
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2026
@metamaskbot metamaskbot added the release-13.14.0 Issue or pull request that will be included in release 13.14.0 label Jan 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.14.0 Issue or pull request that will be included in release 13.14.0 size-M team-transactions Transactions team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants