Skip to content

Conversation

@itsyoboieltr
Copy link
Contributor

@itsyoboieltr itsyoboieltr commented Oct 22, 2025

Description

Open in GitHub Codespaces

Adds support for sig_params in deeplinks

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/6017

Manual testing steps

  1. sig_params should work according to the agreed spec

Screenshots/Recordings

Not applicable

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

Introduce sig_params support in deep link canonicalization, parsing, signing, and tests to allow selectively signed/forwarded query params.

  • Deep Links:
    • Canonicalization: Enhance canonicalize to honor sig_params — keep only listed query params (preserving repeats), append sig_params, sort, and remove sig; fallback to previous behavior when sig_params is absent.
    • Parsing: Use canonicalized URL, strip sig_params before invoking route handlers, and verify against the original URL.
    • Constants: Add SIG_PARAMS_PARAM (sig_params).
  • Tests:
    • Unit: Add cases for sig_params filtering, repetition preservation, non-mutation; adjust parse tests to pass empty params to handlers when only signature present.
    • E2E: Expand scenarios for signed-with/without sig_params and unsigned; add assertions that only allowed params flow through; add getHashParams helper; update redirects to ignore query in expectations.
  • Helpers:
    • Update signDeepLink to optionally append sig_params (derived from current params) and sign the full URL; add imports and sorting adjustments.

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

@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-extension-platform Extension Platform team label Oct 22, 2025
@davidmurdoch davidmurdoch changed the title feat: dynamic parameters via sig_params fix: dynamic parameters via sig_params Oct 22, 2025
@itsyoboieltr itsyoboieltr self-assigned this Oct 22, 2025
@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Oct 22, 2025
@itsyoboieltr itsyoboieltr moved this from Needs dev review to Needs more work from the author in PR review queue Oct 22, 2025
@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 1f7b1ef | Date: 10/22/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±71ms) 🟡 | historical mean value: 1.06s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±68ms) 🟢 | historical mean value: 741ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±13ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 71ms 1.01s 1.32s 1.26s 1.32s
domContentLoaded 731ms 68ms 698ms 996ms 945ms 996ms
firstPaint 76ms 13ms 60ms 188ms 88ms 188ms
firstContentfulPaint 76ms 13ms 60ms 188ms 88ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [1f7b1ef]
UI Startup Metrics (1194 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup119499714179312511360
load101885812448610721167
domContentLoaded101185412388510621161
domInteractive19145591845
firstPaint694108125140410271164
backgroundConnect19817424516206236
firstReactRender29175593446
getState184104151845
initialActions706311833
loadScripts820679103581867970
setupStore1162641220
BrowserifyPower User HomeuiStartup21891875311744026513117
load1090927169023513361690
domContentLoaded1082922168123113321681
domInteractive271570185070
firstPaint690123171353110501713
backgroundConnect24522131221257312
firstReactRender22192722327
getState18917122514202225
initialActions925814658
loadScripts848700142421810891424
setupStore1583382233
WebpackStandard HomeuiStartup8377271102688491000
load63558392270638839
domContentLoaded62757791570629832
domInteractive15114881438
firstPaint18754918198180817
backgroundConnect23114772738
firstReactRender27174573135
getState932031114
initialActions3013246
loadScripts62457490268627821
setupStore951821113
WebpackPower User HomeuiStartup16321220240235019992402
load72361411181398431118
domContentLoaded68960210651217861065
domInteractive201246112646
firstPaint4206011213408101121
backgroundConnect11019315104215315
firstReactRender21192212222
getState19414936759179367
initialActions713911939
loadScripts68460010501177751050
setupStore2462004711200
FirefoxBrowserifyStandard HomeuiStartup14231256194212014751712
load1212109414987712531351
domContentLoaded1211109314987712531351
domInteractive1133427446124219
firstPaint------
backgroundConnect332168103949
firstReactRender25215162443
getState84828815
initialActions9118930311
loadScripts1190107514647512311323
setupStore135202201030
BrowserifyPower User HomeuiStartup25692208326825626703268
load13921119181319815821813
domContentLoaded13921118181319815821813
domInteractive1434230590279305
firstPaint------
backgroundConnect13727558164299558
firstReactRender39275184851
getState1658922138205221
initialActions11156161056
loadScripts13431098162716015441627
setupStore25567225367
WebpackStandard HomeuiStartup16341458231814216571988
load1402124717439514541592
domContentLoaded1401124717439514531592
domInteractive1183246075118392
firstPaint------
backgroundConnect4423150224693
firstReactRender29226873240
getState10411212916
initialActions6112313415
loadScripts1372122617239014211555
setupStore166190261158
WebpackPower User HomeuiStartup25922247303622328713036
load15481300184216716861842
domContentLoaded15471300184216716851842
domInteractive1624536182232361
firstPaint------
backgroundConnect1002519058172190
firstReactRender42261112244111
getState1419421527148215
initialActions713811538
loadScripts15051261174615516571746
setupStore2951123637112
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 1.92 KiB (0.02%)

@github-actions github-actions bot added size-S and removed size-M labels Oct 22, 2025
@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 73add40 | Date: 10/22/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±72ms) 🟡 | historical mean value: 1.06s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 732ms (±68ms) 🟢 | historical mean value: 741ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±12ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 72ms 1.00s 1.32s 1.30s 1.32s
domContentLoaded 732ms 68ms 693ms 1.00s 959ms 1.00s
firstPaint 76ms 12ms 60ms 176ms 88ms 176ms
firstContentfulPaint 76ms 12ms 60ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [73add40]
UI Startup Metrics (1247 ± 82 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1247109915138212981374
load107093413167811171192
domContentLoaded106492913097711111185
domInteractive19144771740
firstPaint58677120643110741154
backgroundConnect2302182568234248
firstReactRender27196582841
getState16594111834
initialActions60437618
loadScripts840715109177887961
setupStore1063241018
BrowserifyPower User HomeuiStartup21901830340949724653409
load1088914162224814221622
domContentLoaded1080907161724714081617
domInteractive301478256578
firstPaint76817815294279831529
backgroundConnect24822231525262315
firstReactRender22202412324
getState20517726826213268
initialActions132147356147
loadScripts842682132522711061325
setupStore1282751427
WebpackStandard HomeuiStartup8467221077678621017
load64258791672647857
domContentLoaded63458190872642850
domInteractive16116491436
firstPaint19158913175198608
backgroundConnect23114572836
firstReactRender26175573234
getState942331113
initialActions3010247
loadScripts63157889769639837
setupStore1051631214
WebpackPower User HomeuiStartup16931238220233620492202
load74061710181488991018
domContentLoaded715604983136848983
domInteractive241451133951
firstPaint3786810083326141008
backgroundConnect13212362135323362
firstReactRender23204152241
getState1734127945181279
initialActions1311132717113
loadScripts710602970131834970
setupStore1052551225
FirefoxBrowserifyStandard HomeuiStartup14871276196411115671646
load1262108514478113191398
domContentLoaded1262108414478113181398
domInteractive1173429049129245
firstPaint------
backgroundConnect43231422345105
firstReactRender27228282645
getState124172221127
initialActions42424410
loadScripts1233106714217812931360
setupStore1265381231
BrowserifyPower User HomeuiStartup26632234331834529653318
load14681199190723416681907
domContentLoaded14681199190723416681907
domInteractive18945491138314491
firstPaint------
backgroundConnect14123502164224502
firstReactRender35265794357
getState1477022240164222
initialActions8150121050
loadScripts14191180185520815961855
setupStore31694295594
WebpackStandard HomeuiStartup16101379197712416831904
load13821216172210214371575
domContentLoaded13821215172110214361574
domInteractive1073338756116212
firstPaint------
backgroundConnect4222142224492
firstReactRender29227173341
getState1046281216
initialActions9116324452
loadScripts1354119816929814081540
setupStore12672101130
WebpackPower User HomeuiStartup25752333301221527643012
load15431372196316916121963
domContentLoaded15431371196216916121962
domInteractive17039563119228563
firstPaint------
backgroundConnect922939395104393
firstReactRender40275694656
getState15810624139192241
initialActions611851018
loadScripts15121339194316715721943
setupStore17547132947
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 2.02 KiB (0.02%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 306e213 | Date: 10/27/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±41ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 727ms (±62ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±42ms) 🟢 | historical mean value: 80ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 41ms 1.01s 1.34s 1.08s 1.34s
domContentLoaded 727ms 62ms 698ms 1.29s 755ms 1.29s
firstPaint 80ms 42ms 60ms 500ms 84ms 500ms
firstContentfulPaint 80ms 42ms 60ms 500ms 84ms 500ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [306e213]
UI Startup Metrics (1257 ± 67 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1257112414866712961364
load107596312636211121179
domContentLoaded107095812576111071175
domInteractive20145791948
firstPaint57780126243410911181
backgroundConnect2332202506237245
firstReactRender28184873243
getState228103142441
initialActions51366616
loadScripts842732103861882945
setupStore1062731116
BrowserifyPower User HomeuiStartup22461823337859631213378
load1177935188132315981881
domContentLoaded1166929187431815921874
domInteractive301574236674
firstPaint45818211693289341169
backgroundConnect25422436937260369
firstReactRender25232922729
getState17915527533195275
initialActions72236623
loadScripts926705151729213431517
setupStore1182331123
WebpackStandard HomeuiStartup8927441236969321140
load67059497385686850
domContentLoaded66258896483680838
domInteractive16124981443
firstPaint20157937221168836
backgroundConnect2711175183147
firstReactRender2916307293336
getState1262541419
initialActions31153411
loadScripts65858695281678827
setupStore1051831215
WebpackPower User HomeuiStartup17441474236631321922366
load72862511431458461143
domContentLoaded685607946105776946
domInteractive221258133658
firstPaint470126949301791949
backgroundConnect14123424146362424
firstReactRender26223332633
getState15513618714161187
initialActions12158161458
loadScripts680605936101764936
setupStore22855153655
FirefoxBrowserifyStandard HomeuiStartup14761271183810515331672
load1257107814688213121407
domContentLoaded1257107814688213121406
domInteractive1193635652127257
firstPaint------
backgroundConnect402496144676
firstReactRender25214642533
getState74263811
initialActions601842039
loadScripts1232106114468012841380
setupStore147210211239
BrowserifyPower User HomeuiStartup26632143376941828453769
load13991162203819114522038
domContentLoaded13981162203819114522038
domInteractive1699730375270303
firstPaint------
backgroundConnect20039997251398997
firstReactRender45306495264
getState1427519637181196
initialActions913291232
loadScripts13401134168912914071689
setupStore31691234691
WebpackStandard HomeuiStartup16201404235512916681868
load13891218190610414471582
domContentLoaded13891218190610414461581
domInteractive1083746263109246
firstPaint------
backgroundConnect4525161215280
firstReactRender27224032934
getState947091015
initialActions3114237
loadScripts1361120018169814131555
setupStore1365371320
WebpackPower User HomeuiStartup27882309354938232223549
load16121307197119517721971
domContentLoaded16121306197019517721970
domInteractive1568635267202352
firstPaint------
backgroundConnect20149573178322573
firstReactRender41305284952
getState1298517827156178
initialActions922681726
loadScripts15491281189818016951898
setupStore371096295796
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 5.61 KiB (0.12%)
  • ui: 528.62 KiB (8.08%)
  • common: -7.17 KiB (-0.08%)

@metamaskbot
Copy link
Collaborator

❌ test-e2e-chrome-api-specs failed. View the html report here.

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 294355c | Date: 10/27/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±38ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±36ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 38ms 1.01s 1.32s 1.07s 1.32s
domContentLoaded 719ms 36ms 699ms 990ms 749ms 990ms
firstPaint 77ms 11ms 64ms 172ms 84ms 172ms
firstContentfulPaint 77ms 11ms 64ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@itsyoboieltr itsyoboieltr moved this from Needs more work from the author to Review in progress in PR review queue Oct 29, 2025
@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 5eeae0b | Date: 10/29/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±40ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 717ms (±37ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 40ms 1.01s 1.32s 1.07s 1.32s
domContentLoaded 717ms 37ms 691ms 993ms 741ms 993ms
firstPaint 76ms 11ms 60ms 164ms 84ms 164ms
firstContentfulPaint 76ms 11ms 60ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [5eeae0b]
UI Startup Metrics (1271 ± 86 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1271112516008613261418
load108895214198411371245
domContentLoaded108194714078311291237
domInteractive20146491943
firstPaint652105141644310951217
backgroundConnect2302162628233250
firstReactRender27194762941
getState19994102334
initialActions618510617
loadScripts8587351179829021015
setupStore961921013
numNetworkReqs86265624
BrowserifyPower User HomeuiStartup22131794341656730063416
load1170947182129315691821
domContentLoaded1162939179129015621791
domInteractive41152104754210
firstPaint64395182652810621826
backgroundConnect26522558184267581
firstReactRender25222922629
getState17515221618192216
initialActions53133713
loadScripts919712139225913161392
setupStore1081311113
numNetworkReqs403191732198691732
WebpackStandard HomeuiStartup8407171090718601032
load63158090467638838
domContentLoaded62357489166634830
domInteractive15116081440
firstPaint19757879195196614
backgroundConnect21115172435
firstReactRender2717109113234
getState1262941420
initialActions3017348
loadScripts62057288064632819
setupStore1052131114
numNetworkReqs86296627
WebpackPower User HomeuiStartup16971391221229621492212
load722618999136891999
domContentLoaded689604919111791919
domInteractive19124293042
firstPaint49574950295681950
backgroundConnect13028408139322408
firstReactRender27235372753
getState15412720415155204
initialActions704412644
loadScripts684602909107780909
setupStore15654132454
numNetworkReqs320191565133514565
FirefoxBrowserifyStandard HomeuiStartup14141231182610114611602
load1207105514187512601333
domContentLoaded1206105514187512601333
domInteractive1143432649121214
firstPaint------
backgroundConnect3924109154671
firstReactRender25214952542
getState9413617717
initialActions3138434
loadScripts1181103413997212331303
setupStore1273041222
numNetworkReqs86305721
BrowserifyPower User HomeuiStartup25272166371045526323710
load13381172159112314951591
domContentLoaded13371172159112314951591
domInteractive1458129668205296
firstPaint------
backgroundConnect19331708190334708
firstReactRender34254774347
getState1197217927141179
initialActions9160141060
loadScripts12821095153511814271535
setupStore32891235291
numNetworkReqs257142520107296520
WebpackStandard HomeuiStartup17621554228314218182110
load14931286180110215631698
domContentLoaded14921286180010215621698
domInteractive1213741877119352
firstPaint------
backgroundConnect5126132215895
firstReactRender322389133380
getState954351115
initialActions7114118430
loadScripts1460126717669915171673
setupStore196210241558
numNetworkReqs86296724
WebpackPower User HomeuiStartup27472323344734230223447
load15941313220522517632205
domContentLoaded15931313220422417632204
domInteractive1556124266231242
firstPaint------
backgroundConnect20136621186287621
firstReactRender442976125276
getState1557229461195294
initialActions721541015
loadScripts15291280195018916761950
setupStore27858143658
numNetworkReqs268148507116329507
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 60.76 KiB (1.33%)
  • ui: 6.82 KiB (0.1%)
  • common: -60.55 KiB (-0.69%)

@david0xd david0xd self-requested a review October 30, 2025 14:59
@github-project-automation github-project-automation bot moved this from Review in progress to Review finalised - Ready to be merged in PR review queue Oct 30, 2025
@itsyoboieltr itsyoboieltr added this pull request to the merge queue Oct 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2025
@itsyoboieltr itsyoboieltr added this pull request to the merge queue Oct 30, 2025
@itsyoboieltr itsyoboieltr removed this pull request from the merge queue due to a manual request Oct 30, 2025
@itsyoboieltr itsyoboieltr added this pull request to the merge queue Oct 30, 2025
@itsyoboieltr itsyoboieltr removed this pull request from the merge queue due to a manual request Oct 30, 2025
@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 1c9ed70 | Date: 10/30/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±40ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 748ms (±37ms) 🟢 | historical mean value: 736ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±11ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 40ms 1.04s 1.37s 1.11s 1.37s
domContentLoaded 748ms 37ms 723ms 1.02s 775ms 1.02s
firstPaint 81ms 11ms 68ms 176ms 92ms 176ms
firstContentfulPaint 81ms 11ms 68ms 176ms 92ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [1c9ed70]
UI Startup Metrics (1291 ± 85 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1291114314908513361456
load110496712848111581242
domContentLoaded109896212788011521238
domInteractive20144872043
firstPaint71575127545611371235
backgroundConnect2322192547237245
firstReactRender29185893549
getState2194872338
initialActions61678719
loadScripts8737401053799201009
setupStore1072231117
numNetworkReqs96327630
BrowserifyPower User HomeuiStartup22471793403561724644035
load1194917191233917021912
domContentLoaded1187910189333716941893
domInteractive291667195767
firstPaint45716119014494261901
backgroundConnect289218935170264935
firstReactRender26233022830
getState17815525823184258
initialActions714610746
loadScripts937699147629413441476
setupStore1283271132
numNetworkReqs382205722182547722
WebpackStandard HomeuiStartup8767431149808911068
load64860193665658823
domContentLoaded64159492464652814
domInteractive15115071539
firstPaint20855928213185748
backgroundConnect24115892939
firstReactRender3017239233341
getState1364551523
initialActions3016348
loadScripts63859291362649803
setupStore1151931317
numNetworkReqs96368632
WebpackPower User HomeuiStartup17491459247332421842473
load74662310591498751059
domContentLoaded69760787095843870
domInteractive211443103143
firstPaint42572880320857880
backgroundConnect13427436148357436
firstReactRender25223832538
getState17113425430178254
initialActions15166213166
loadScripts69260585991831859
setupStore2661072934107
numNetworkReqs375191736146521736
FirefoxBrowserifyStandard HomeuiStartup14241246184010814761683
load1213107813796912551360
domContentLoaded1213107813796912551360
domInteractive1043733043119213
firstPaint------
backgroundConnect4324119204795
firstReactRender24204042435
getState9319420825
initialActions3113248
loadScripts1185105613536812301311
setupStore137221211119
numNetworkReqs96337730
BrowserifyPower User HomeuiStartup30842113548793032135487
load14521278189716515111897
domContentLoaded14511276189716515111897
domInteractive246107879182299879
firstPaint------
backgroundConnect5184823786634782378
firstReactRender452590165890
getState1503224455191244
initialActions2021303119130
loadScripts13781143174515714631745
setupStore381587215187
numNetworkReqs25915541471319414
WebpackStandard HomeuiStartup1610145119379216701803
load1383121816068614411567
domContentLoaded1383121716068714411567
domInteractive1064026242116231
firstPaint------
backgroundConnect4627135185376
firstReactRender352286173375
getState95729816
initialActions41545410
loadScripts1354119815808514041540
setupStore1274051318
numNetworkReqs96296725
WebpackPower User HomeuiStartup28142272373643131913736
load16341331224924918762249
domContentLoaded16341331224924918762249
domInteractive1488042493175424
firstPaint------
backgroundConnect21357812232352812
firstReactRender392960105260
getState1266722236137222
initialActions9152121052
loadScripts15811303213423017822134
setupStore22667153367
numNetworkReqs284139577122346577
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 462 Bytes (0.01%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: f889979 | Date: 10/30/2025

📄 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: 718ms (±37ms) 🟢 | historical mean value: 732ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.30s 1.07s 1.30s
domContentLoaded 718ms 37ms 697ms 977ms 746ms 977ms
firstPaint 76ms 11ms 60ms 164ms 84ms 164ms
firstContentfulPaint 76ms 11ms 60ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [f889979]
UI Startup Metrics (1253 ± 86 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1253110514818613151431
load107094112788211261227
domContentLoaded106391412648211221220
domInteractive201482101842
firstPaint59187128342910591189
backgroundConnect23021632014232248
firstReactRender281793103246
getState2310113152546
initialActions51285616
loadScripts8416911037829061003
setupStore1072331117
numNetworkReqs96327631
BrowserifyPower User HomeuiStartup22621787412869330624128
load1167927206636616602066
domContentLoaded1157916203836016462038
domInteractive281577203977
firstPaint857171207262016602072
backgroundConnect272217804139266804
firstReactRender27243532835
getState17615021416186214
initialActions10271161371
loadScripts916700156131413911561
setupStore1192541225
numNetworkReqs365188681189661681
WebpackStandard HomeuiStartup8507371129718671007
load63658793268643832
domContentLoaded62857992067638823
domInteractive15113961432
firstPaint19160926202185728
backgroundConnect22114672539
firstReactRender27175583235
getState1252241417
initialActions3113248
loadScripts62557690964636808
setupStore1052331214
numNetworkReqs96338832
WebpackPower User HomeuiStartup16781432220227020862202
load71961810331318761033
domContentLoaded681605917108743917
domInteractive18134591945
firstPaint4898510243227501024
backgroundConnect12725468141150468
firstReactRender25232922529
getState15011216712158167
initialActions9151131551
loadScripts676603905104732905
setupStore1552982329
numNetworkReqs359198690150540690
FirefoxBrowserifyStandard HomeuiStartup1440126018259414731635
load1229109314776012571339
domContentLoaded1228109314766012561338
domInteractive1133530838124196
firstPaint------
backgroundConnect3926135154563
firstReactRender25215062442
getState84569722
initialActions4223348
loadScripts1205107714535912311310
setupStore137180171221
numNetworkReqs96338732
BrowserifyPower User HomeuiStartup31112524426651631734266
load15961407193315117411933
domContentLoaded15961407193215117401932
domInteractive1669028355219283
firstPaint------
backgroundConnect32551901226519901
firstReactRender492786145886
getState1379519932172199
initialActions1132161621
loadScripts15181367177113816471771
setupStore55111493379149
numNetworkReqs310174564116400564
WebpackStandard HomeuiStartup16591427230214216991965
load1410124618729514761556
domContentLoaded1410124618719514751556
domInteractive1063544657108226
firstPaint------
backgroundConnect4823132195790
firstReactRender342383153277
getState947812817
initialActions4121349
loadScripts1381122718379314461527
setupStore157223221427
numNetworkReqs96347830
WebpackPower User HomeuiStartup29352376481469030914814
load16281349206322918182063
domContentLoaded16281349206322918182063
domInteractive1293921346178213
firstPaint------
backgroundConnect2443011043361591104
firstReactRender48321021951102
getState1428220637187206
initialActions17280241480
loadScripts15661322191319217851913
setupStore24875213175
numNetworkReqs288153629154412629
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 462 Bytes (0.01%)

@itsyoboieltr itsyoboieltr added this pull request to the merge queue Oct 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2025
@davidmurdoch davidmurdoch merged commit 6a349a3 into main Oct 30, 2025
329 of 331 checks passed
@davidmurdoch davidmurdoch deleted the feat/dynamic-parameters branch October 30, 2025 22:11
@github-project-automation github-project-automation bot moved this from Review finalised - Ready to be merged to Merged, Closed or Archived in PR review queue Oct 30, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
@metamaskbot metamaskbot added the release-13.9.0 Issue or pull request that will be included in release 13.9.0 label Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-13.9.0 Issue or pull request that will be included in release 13.9.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