Skip to content

feat: upgrade subscription controller for error surface#39938

Merged
chaitanyapotti merged 14 commits intomainfrom
feat/subscription-handle-payer-address-used-error
Feb 12, 2026
Merged

feat: upgrade subscription controller for error surface#39938
chaitanyapotti merged 14 commits intomainfrom
feat/subscription-handle-payer-address-used-error

Conversation

@tuna1207
Copy link
Member

@tuna1207 tuna1207 commented Feb 10, 2026

Description

When a shield subscription crypto approval fails in the background (e.g. submitShieldSubscriptionCryptoApproval throws), the error was previously only logged and not surfaced to the user. This PR adds end-to-end error propagation so the user sees the failure on the Shield Plan and Transaction Shield settings pages.

  • New app state property (shieldSubscriptionError) in AppStateController — a transient (persist: false) error object { message: string; code?: string } that is set when a subscription API call fails in the background.
  • Background error capture — SubscriptionService now sets shieldSubscriptionError via the messenger when submitShieldSubscriptionCryptoApproval fails, using the cause message from SubscriptionServiceError when available.
  • UI error display — Both the Shield Plan page and the Transaction Shield settings tab read shieldSubscriptionError from Redux state and include it in their existing ApiErrorHandler component. For the known payerAddressAlreadyUsed error, a user-friendly i18n message is shown. The error is cleared when the user navigates away from either page.
  • ApiErrorHandler enhancement — Added an optional message prop so callers can override the default error body text.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Added error display on Shield Plan and Transaction Shield pages when a subscription payment fails in the background

Related issues

Fixes:

Manual testing steps

  1. Subscribe to Shield using a crypto payment method with an address that is already linked to another customer account.
  2. The background submitShieldSubscriptionCryptoApproval call will fail with a payerAddressAlreadyUsed error.
  3. Transaction Shield page should show payer address already used error.
  4. Navigate away from the page and return — verify the error is cleared and normal content is shown (unless the error is re-triggered).

Screenshots/Recordings

Before

After

Screen.Recording.2026-02-10.at.16.33.25.mov

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
Touches cross-layer wiring (background controller state, messenger actions, and UI error handling), so regressions could suppress Shield flows or spam error UI, but it does not change auth or transaction execution logic.

Overview
Surfaces Transaction Shield subscription failures that happen in the background by introducing a transient AppStateController.shieldSubscriptionError and wiring it through the messenger so SubscriptionService can set/clear it when submitShieldSubscriptionCryptoApproval fails.

Updates Shield UI flows (ShieldPlan and Transaction Shield settings) to consume this error via a new useSubscriptionError hook and display a friendlier i18n message for the known “payer address already used” case, using an enhanced ApiErrorHandler that now accepts an optional override message.

Adds the new Shield error constant/type, background action (setShieldSubscriptionError), selector, and associated unit/e2e snapshot updates to validate the new state field and error propagation.

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

@metamaskbot metamaskbot added the team-onboarding Onboarding team label Feb 10, 2026
@tuna1207 tuna1207 added area-shield team-shield Shield team and removed team-onboarding Onboarding team labels Feb 10, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 10, 2026

✨ Files requiring CODEOWNER review ✨

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

🧪 @MetaMask/qa (1 files, +1 -0)
  • 📁 test/
    • 📁 e2e/
      • 📁 tests/
        • 📁 settings/
          • 📄 state-logs.json +1 -0

🔐 @MetaMask/web3auth (3 files, +81 -4)
  • 📁 ui/
    • 📁 hooks/
      • 📁 subscription/
        • 📄 useSubscription.ts +66 -2
    • 📁 pages/
      • 📁 settings/
        • 📁 transaction-shield-tab/
          • 📄 transaction-shield.tsx +7 -1
      • 📁 shield-plan/
        • 📄 shield-plan.tsx +8 -1

@tuna1207 tuna1207 marked this pull request as ready for review February 11, 2026 08:36
@tuna1207 tuna1207 requested review from a team as code owners February 11, 2026 08:36
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 11, 2026

Builds ready [0855118]
UI Startup Metrics (1309 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1309113516539613401480
load112193414218811601283
domContentLoaded111492914068711551274
domInteractive2714131212381
firstPaint193601150195199338
backgroundConnect21519926113219247
firstReactRender15103231621
initialActions1010112
loadScripts9147381173859531070
setupStore126162151317
numNetworkReqs231598221586
BrowserifyPower User HomeuiStartup254714207268124526365208
load12321050187915112651582
domContentLoaded12121041187114312341534
domInteractive38202203334101
firstPaint217691707201256357
backgroundConnect78829750369305932764
firstReactRender23155862633
initialActions104111
loadScripts96881016161409961305
setupStore16780101731
numNetworkReqs1093024644132207
WebpackStandard HomeuiStartup800667106884846948
load69559797781754836
domContentLoaded69059496880747827
domInteractive251693182276
firstPaint1136138967134246
backgroundConnect2617113113040
firstReactRender14103041619
initialActions102111
loadScripts68759295679745824
setupStore1163041121
numNetworkReqs231593211583
WebpackPower User HomeuiStartup1242822189118313341636
load73662911201117421029
domContentLoaded72562111151127271022
domInteractive40172063736126
firstPaint1447645773166281
backgroundConnect15913037339163240
firstReactRender22173732327
initialActions102111
loadScripts72261911061107251012
setupStore1142651420
numNetworkReqs1304627147155215
FirefoxBrowserifyStandard HomeuiStartup15491336251316815711864
load13361148179211513731556
domContentLoaded13341145179211513731556
domInteractive74322264096140
firstPaint------
backgroundConnect5528315305371
firstReactRender1191811214
initialActions106112
loadScripts13101129169311013491529
setupStore146214221130
numNetworkReqs241289201785
BrowserifyPower User HomeuiStartup27942146399135229183454
load15781361246720716371988
domContentLoaded15771361246720716371988
domInteractive14235506108146395
firstPaint------
backgroundConnect3391221346261396915
firstReactRender19154841923
initialActions203123
loadScripts15361333229418715851944
setupStore1468780201120644
numNetworkReqs803816134113130
WebpackStandard HomeuiStartup15931350241017516351879
load13761173219813614351571
domContentLoaded13751168219813614341571
domInteractive912923043129165
firstPaint------
backgroundConnect56263614257129
firstReactRender14115561419
initialActions103112
loadScripts13471161217213014051516
setupStore13685131138
numNetworkReqs231298191773
WebpackPower User HomeuiStartup26652009674752828103290
load15431261531143815322019
domContentLoaded15431260531143815322018
domInteractive14931783149130480
firstPaint------
backgroundConnect326128941211360828
firstReactRender20153442227
initialActions213122
loadScripts15001235526843115071950
setupStore15813758195176650
numNetworkReqs81362254486183
📊 Page Load Benchmark Results

Current Commit: 0855118 | Date: 2/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±64ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 733ms (±61ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±11ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 64ms 1.02s 1.34s 1.26s 1.34s
domContentLoaded 733ms 61ms 706ms 1.02s 935ms 1.02s
firstPaint 78ms 11ms 64ms 164ms 88ms 164ms
firstContentfulPaint 78ms 11ms 64ms 164ms 88ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 749 Bytes (0.02%)
  • ui: 1.15 KiB (0.01%)
  • common: 518 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 11, 2026

Builds ready [8d82ba3]
UI Startup Metrics (1404 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup14041208185310614551589
load1197101015548812361355
domContentLoaded119199715488812241349
domInteractive2715122182375
firstPaint188661294199215336
backgroundConnect24422632616245276
firstReactRender1810152171722
initialActions105112
loadScripts96177413148910031123
setupStore1273141420
numNetworkReqs231589201582
BrowserifyPower User HomeuiStartup200913929427130418212432
load11401013165013511451516
domContentLoaded11231007160213111231489
domInteractive3318193233482
firstPaint1687440175226295
backgroundConnect52428370421002333663
firstReactRender21144152332
initialActions103112
loadScripts89077813221258861244
setupStore1463751621
numNetworkReqs1035323143132201
WebpackStandard HomeuiStartup8096741163102902973
load70559997292782866
domContentLoaded69959595991777860
domInteractive251683172272
firstPaint1105940162131209
backgroundConnect25168092741
firstReactRender1392641622
initialActions103112
loadScripts69759395190775855
setupStore1163951218
numNetworkReqs231596211583
WebpackPower User HomeuiStartup1302955242822913761730
load73962915921467341063
domContentLoaded72962215821467201054
domInteractive40192213437108
firstPaint1516254795168346
backgroundConnect19015237644188299
firstReactRender24186462632
initialActions102011
loadScripts72662015721447181045
setupStore1253951418
numNetworkReqs1294527551151212
FirefoxBrowserifyStandard HomeuiStartup15091312220116915401887
load12981135181113413471565
domContentLoaded12971132180513413451564
domInteractive62322173880134
firstPaint------
backgroundConnect5328128175686
firstReactRender1292121217
initialActions102112
loadScripts12731115178212913211504
setupStore136129161230
numNetworkReqs241293211687
BrowserifyPower User HomeuiStartup26312046388032527383305
load15051256242123415592026
domContentLoaded15041256242023415592025
domInteractive12735581119120399
firstPaint------
backgroundConnect26399965213262861
firstReactRender191469101722
initialActions103122
loadScripts14691233239622415071958
setupStore1737798213227637
numNetworkReqs723713931100129
WebpackStandard HomeuiStartup15901367208713916491868
load13751172174910514431541
domContentLoaded13741171174910514421541
domInteractive862825145119165
firstPaint------
backgroundConnect56251622758112
firstReactRender15117881418
initialActions103122
loadScripts13461156167310314221512
setupStore146165171329
numNetworkReqs241393202080
WebpackPower User HomeuiStartup295220519739105229463782
load17731324834595017482454
domContentLoaded17721318834595017472453
domInteractive156341491198136569
firstPaint------
backgroundConnect3031171263228303913
firstReactRender24167782633
initialActions214123
loadScripts17291299831594916872422
setupStore2039840236337731
numNetworkReqs69342153791132
📊 Page Load Benchmark Results

Current Commit: 8d82ba3 | Date: 2/11/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: 723ms (±35ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.01s 1.32s 1.07s 1.32s
domContentLoaded 723ms 35ms 702ms 993ms 746ms 993ms
firstPaint 77ms 11ms 60ms 152ms 92ms 152ms
firstContentfulPaint 77ms 11ms 60ms 152ms 92ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 749 Bytes (0.02%)
  • ui: 1.12 KiB (0.01%)
  • common: 518 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 11, 2026

Builds ready [1738700]
UI Startup Metrics (1341 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1341112716399513861505
load115998713778712111317
domContentLoaded115398213718612051311
domInteractive271595212392
firstPaint197611342198211319
backgroundConnect22920828615236258
firstReactRender15103641721
initialActions105112
loadScripts9387601133859871087
setupStore1263151422
numNetworkReqs231589211585
BrowserifyPower User HomeuiStartup3449152710395238043279977
load12641054187516113201592
domContentLoaded12441043185115412881581
domInteractive38192213634123
firstPaint237791246163280436
backgroundConnect16822998729211924927804
firstReactRender24165272637
initialActions105112
loadScripts1003822159115010321333
setupStore1565881732
numNetworkReqs1155222437140183
WebpackStandard HomeuiStartup83868411481049041011
load72460796295790909
domContentLoaded71960295694784900
domInteractive261694192477
firstPaint1036123044124208
backgroundConnect26185582848
firstReactRender15102641822
initialActions104112
loadScripts71660095293781894
setupStore1263241319
numNetworkReqs231592211583
WebpackPower User HomeuiStartup1277951234924213411732
load7386341404110742959
domContentLoaded7276261391111731954
domInteractive38181922738117
firstPaint15866730100196351
backgroundConnect15813035338159219
firstReactRender22164652329
initialActions104111
loadScripts7246241381109729945
setupStore1345361521
numNetworkReqs1406127240161210
FirefoxBrowserifyStandard HomeuiStartup15901364235318016141970
load13731173210714414011602
domContentLoaded13721173210114414001601
domInteractive853423747118151
firstPaint------
backgroundConnect5728203245689
firstReactRender12102321315
initialActions102012
loadScripts13491148208014213731570
setupStore156173201238
numNetworkReqs241393211684
BrowserifyPower User HomeuiStartup28152035810680828933314
load16201281625569516321869
domContentLoaded16201281625569516321869
domInteractive16855725121201404
firstPaint------
backgroundConnect44310413543055991032
firstReactRender17146161822
initialActions213122
loadScripts15751259619468915981782
setupStore13013638137180420
numNetworkReqs934417129114149
WebpackStandard HomeuiStartup15271293205913415741813
load1324114716499613711473
domContentLoaded1324114716499613701473
domInteractive812830545110134
firstPaint------
backgroundConnect5022126225490
firstReactRender15105681422
initialActions103112
loadScripts1299113315969313541442
setupStore185160291259
numNetworkReqs241286191779
WebpackPower User HomeuiStartup302521188635104530274259
load17871298703598416623103
domContentLoaded17871298703598416613103
domInteractive191511772217192526
firstPaint------
backgroundConnect52212415303617921198
firstReactRender21148492330
initialActions213122
loadScripts17251274697297915663036
setupStore16215908194182613
numNetworkReqs91382224195203
📊 Page Load Benchmark Results

Current Commit: 1738700 | Date: 2/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±48ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±44ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±13ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 48ms 1.02s 1.45s 1.09s 1.45s
domContentLoaded 736ms 44ms 710ms 1.10s 768ms 1.10s
firstPaint 79ms 13ms 64ms 196ms 92ms 196ms
firstContentfulPaint 79ms 13ms 64ms 196ms 92ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.07 KiB (0.03%)
  • ui: 661 Bytes (0.01%)
  • common: 451 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 12, 2026

Builds ready [65df2e9]
UI Startup Metrics (1397 ± 108 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13971178176910814551583
load1199996150810012601362
domContentLoaded119299215029912431354
domInteractive271792172475
firstPaint1476638280202334
backgroundConnect24522441022246278
firstReactRender18103661930
initialActions107113
loadScripts96476712399610091126
setupStore1364561524
numNetworkReqs221585201581
BrowserifyPower User HomeuiStartup17021330238218117582050
load11611042190618611291703
domContentLoaded11431021182117611161609
domInteractive35192173133105
firstPaint186681754180223369
backgroundConnect31927840624330358
firstReactRender22146662330
initialActions104112
loadScripts90378015661718791383
setupStore1555571626
numNetworkReqs1114325948138212
WebpackStandard HomeuiStartup8336701226105918993
load729593977104828896
domContentLoaded723588971103822884
domInteractive2615130202280
firstPaint1065936756127207
backgroundConnect25165882840
firstReactRender13102441521
initialActions103112
loadScripts721586964102820882
setupStore1173341118
numNetworkReqs231592211584
WebpackPower User HomeuiStartup1216881159514112951455
load72063211101107031027
domContentLoaded71062511041106911017
domInteractive38191953337118
firstPaint142651032114148310
backgroundConnect16413130538168245
firstReactRender22173442429
initialActions102011
loadScripts70762310961086891007
setupStore1344651420
numNetworkReqs1134526350145237
FirefoxBrowserifyStandard HomeuiStartup15431333213715615761875
load13291159182311913731565
domContentLoaded13281153182212013671565
domInteractive72322614494144
firstPaint------
backgroundConnect5528223255393
firstReactRender1291811214
initialActions103112
loadScripts13031136170911113471518
setupStore156173231236
numNetworkReqs241497201780
BrowserifyPower User HomeuiStartup27662053442643228403668
load15461291239223716232041
domContentLoaded15461291238723716212040
domInteractive11734665101117302
firstPaint------
backgroundConnect3271141041255394914
firstReactRender2114136152029
initialActions203122
loadScripts15051271233722415591996
setupStore1428744203114650
numNetworkReqs66361442987124
WebpackStandard HomeuiStartup15371318207615015891839
load13401135186411313951539
domContentLoaded13391131186411413951538
domInteractive812523843118137
firstPaint------
backgroundConnect54211873455124
firstReactRender13102321318
initialActions102012
loadScripts13111124172710613711500
setupStore146146191245
numNetworkReqs231391181775
WebpackPower User HomeuiStartup28161948857388728353723
load16071291639356716952338
domContentLoaded16061291639356716942337
domInteractive13931785160111525
firstPaint------
backgroundConnect3861255071553328928
firstReactRender22165552430
initialActions216123
loadScripts15631213636056216352312
setupStore1437783197127632
numNetworkReqs65361453196120
📊 Page Load Benchmark Results

Current Commit: 65df2e9 | Date: 2/12/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: 723ms (±38ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 41ms 1.01s 1.34s 1.07s 1.34s
domContentLoaded 723ms 38ms 700ms 1.01s 741ms 1.01s
firstPaint 78ms 13ms 64ms 176ms 88ms 176ms
firstContentfulPaint 78ms 13ms 64ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 299.03 KiB (7.46%)
  • ui: 1.71 KiB (0.02%)
  • common: 2.39 KiB (0.02%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 12, 2026

Builds ready [d1ad263]
UI Startup Metrics (1397 ± 103 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13971177164710314601592
load1204100914279412641369
domContentLoaded1197100314209412581365
domInteractive2815102202484
firstPaint1566634665207257
backgroundConnect24022229312243269
firstReactRender1793351927
initialActions107114
loadScripts97178411979310311135
setupStore1364771528
numNetworkReqs231590211583
BrowserifyPower User HomeuiStartup2192150110239141021143879
load12251071194817512421655
domContentLoaded12061060183616312211624
domInteractive38181783037112
firstPaint208761857247247343
backgroundConnect50328939456623531843
firstReactRender23154862536
initialActions104111
loadScripts96082215421589751369
setupStore1665381733
numNetworkReqs1133824745140192
WebpackStandard HomeuiStartup83867811401099111053
load7296001064103805906
domContentLoaded7245961055102799900
domInteractive2616101202287
firstPaint11462999102123201
backgroundConnect25166492841
firstReactRender13102541520
initialActions104112
loadScripts7215941053101791898
setupStore1264771226
numNetworkReqs231588201584
WebpackPower User HomeuiStartup1299885285126113711624
load75564715171377381067
domContentLoaded74464115101377281059
domInteractive41192193538126
firstPaint1516951986168333
backgroundConnect18714089195175334
firstReactRender23173742528
initialActions103111
loadScripts74163914971357271050
setupStore1353851520
numNetworkReqs1344827548156219
FirefoxBrowserifyStandard HomeuiStartup14901300212617215201896
load12861131171712813251576
domContentLoaded12851127171712913221576
domInteractive60312113480132
firstPaint------
backgroundConnect5025205255099
firstReactRender1192021215
initialActions102012
loadScripts12631110165412313021547
setupStore126168171027
numNetworkReqs231287201784
BrowserifyPower User HomeuiStartup27452083407636629073530
load15641277228725616232200
domContentLoaded15641275228725716232200
domInteractive13932741138128464
firstPaint------
backgroundConnect3421161114277391906
firstReactRender1914132131827
initialActions203122
loadScripts15201252226424615412136
setupStore1197728164123530
numNetworkReqs74361563297126
WebpackStandard HomeuiStartup15251279194013815791815
load13291089174610813921506
domContentLoaded13291088174610813921506
domInteractive802818842128142
firstPaint------
backgroundConnect54221492961124
firstReactRender13104841318
initialActions102012
loadScripts13021077163710013691461
setupStore12652101231
numNetworkReqs241295211682
WebpackPower User HomeuiStartup27381906745163528723731
load15971226563050916862319
domContentLoaded15971226563050916862319
domInteractive15633755170139605
firstPaint------
backgroundConnect291118997216317851
firstReactRender20163042328
initialActions213122
loadScripts15571207560249616482227
setupStore1488858200174592
numNetworkReqs71351823597132
📊 Page Load Benchmark Results

Current Commit: d1ad263 | Date: 2/12/2026

📄 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: 718ms (±37ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±10ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 40ms 997ms 1.31s 1.05s 1.31s
domContentLoaded 718ms 37ms 690ms 985ms 741ms 985ms
firstPaint 76ms 10ms 60ms 156ms 84ms 156ms
firstContentfulPaint 76ms 10ms 60ms 156ms 84ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 749 Bytes (0.02%)
  • ui: 946 Bytes (0.01%)
  • common: 518 Bytes (0%)

Copy link
Contributor

@LeVinhGithub LeVinhGithub left a comment

Choose a reason for hiding this comment

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

lgtm QA

@chaitanyapotti chaitanyapotti added this pull request to the merge queue Feb 12, 2026
Merged via the queue into main with commit b605dc3 Feb 12, 2026
180 checks passed
@chaitanyapotti chaitanyapotti deleted the feat/subscription-handle-payer-address-used-error branch February 12, 2026 08:29
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
@metamaskbot metamaskbot added the release-13.19.0 Issue or pull request that will be included in release 13.19.0 label Feb 12, 2026
@chaitanyapotti chaitanyapotti removed the request for review from a team February 12, 2026 08:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-shield release-13.19.0 Issue or pull request that will be included in release 13.19.0 size-M team-shield Shield team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants