Skip to content

fix: update extension-port-stream to fix an issue with large state failing to transfer on new chromium-based browsers#40101

Merged
davidmurdoch merged 2 commits intomainfrom
update-eps-5.0.3
Feb 13, 2026
Merged

fix: update extension-port-stream to fix an issue with large state failing to transfer on new chromium-based browsers#40101
davidmurdoch merged 2 commits intomainfrom
update-eps-5.0.3

Conversation

@davidmurdoch
Copy link
Contributor

@davidmurdoch davidmurdoch commented Feb 13, 2026

Description

Update extension-port-stream to v5.0.3 to fix an issue with users with a lot of state who are on recent version of chromium, caused by a change in behavior in chromium.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: fixes issue for users with a lot of state on recent chromium-based browsers

Related issues

Fixes: #40082

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

Low Risk
Dependency-only patch version bump with lockfile updates; limited surface area beyond whatever behavior changed upstream in extension-port-stream.

Overview
Updates the extension-port-stream dependency from ^5.0.2 to ^5.0.3, including the corresponding yarn.lock resolution/checksum changes, to address a Chromium behavior change impacting users with large extension state.

Written by Cursor Bugbot for commit 8a91fd9. 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 Feb 13, 2026
@davidmurdoch davidmurdoch marked this pull request as ready for review February 13, 2026 16:46
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedextension-port-stream@​5.0.2 ⏵ 5.0.3100 +1100100 +9100 +9100

View full report

@davidmurdoch davidmurdoch changed the title partial fix: update extension-port-stream to fix an issue with large state failing to transfer on new chromium-based browsers Feb 13, 2026
@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Feb 13, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 13, 2026

Builds ready [8a91fd9]
UI Startup Metrics (1416 ± 101 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup14161197164910114601628
load121397714019112631373
domContentLoaded120597213939312591362
domInteractive281797192487
firstPaint194671274164217300
backgroundConnect24519735320251277
firstReactRender1593041620
initialActions107113
loadScripts97777211749110261129
setupStore1272841419
numNetworkReqs231589211584
BrowserifyPower User HomeuiStartup2591152111069165824975315
load12691110184416312921650
domContentLoaded12511101178315412721642
domInteractive3719244293676
firstPaint213761730223258339
backgroundConnect732302834610715812676
firstReactRender26166172841
initialActions103111
loadScripts98384315171529991359
setupStore1864382035
numNetworkReqs1104625244133196
WebpackStandard HomeuiStartup933738126112610281149
load81265311321208961035
domContentLoaded80664911231198891028
domInteractive3118130222792
firstPaint1237133653147229
backgroundConnect28205783145
firstReactRender16114261928
initialActions106112
loadScripts80364711211198801026
setupStore1484061428
numNetworkReqs2315101211584
WebpackPower User HomeuiStartup1288896290126813461704
load74764710931037501032
domContentLoaded73564110831037351027
domInteractive38191512636104
firstPaint155681095117176285
backgroundConnect1696758966163294
firstReactRender23183432529
initialActions102011
loadScripts73263910751017331017
setupStore1354461421
numNetworkReqs1304626944151220
FirefoxBrowserifyStandard HomeuiStartup15471352216516915771888
load13341155193414013681606
domContentLoaded13321155193013913641602
domInteractive65332333884136
firstPaint------
backgroundConnect5429187215580
firstReactRender12101511213
initialActions102122
loadScripts13071138190513613401565
setupStore186210311345
numNetworkReqs241293201883
BrowserifyPower User HomeuiStartup28432102795364730593542
load16081312642353416162050
domContentLoaded16071312642353416162050
domInteractive150351064152144426
firstPaint------
backgroundConnect3471151500249415891
firstReactRender19153432024
initialActions103122
loadScripts15691289638153015721997
setupStore1518806205138635
numNetworkReqs83392033697155
WebpackStandard HomeuiStartup16451355211311916871892
load1421124117379114761575
domContentLoaded1420123817379114751575
domInteractive1002828756135198
firstPaint------
backgroundConnect54261492656113
firstReactRender15105851425
initialActions102122
loadScripts1396122117028714521517
setupStore166100161349
numNetworkReqs241388191780
WebpackPower User HomeuiStartup26311985380438328263399
load15191289227922515712061
domContentLoaded15191288227922515712061
domInteractive15634748151130510
firstPaint------
backgroundConnect33210712832623751006
firstReactRender21163042327
initialActions213123
loadScripts14801273224121115391955
setupStore1439627153215518
numNetworkReqs80381923497146
📊 Page Load Benchmark Results

Current Commit: 8a91fd9 | Date: 2/13/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±75ms) 🟡 | historical mean value: 1.06s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 747ms (±72ms) 🟢 | historical mean value: 744ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±15ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 75ms 1.01s 1.36s 1.28s 1.36s
domContentLoaded 747ms 72ms 708ms 1.04s 953ms 1.04s
firstPaint 80ms 15ms 60ms 220ms 92ms 220ms
firstContentfulPaint 80ms 15ms 60ms 220ms 92ms 220ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 5 Bytes (0%)
  • common: 11 Bytes (0%)

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Feb 13, 2026
@davidmurdoch davidmurdoch added this pull request to the merge queue Feb 13, 2026
Merged via the queue into main with commit c9ec9a0 Feb 13, 2026
204 of 209 checks passed
@davidmurdoch davidmurdoch deleted the update-eps-5.0.3 branch February 13, 2026 18:46
@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 Feb 13, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2026
@metamaskbot metamaskbot added the release-13.20.0 Issue or pull request that will be included in release 13.20.0 label Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.20.0 Issue or pull request that will be included in release 13.20.0 size-XS team-extension-platform Extension Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Bug]: Reset Wallet - Loading indefinitely and get ExtensionPortStream postMessage failed and Message exceeded maximum allowed size of 64MiB.

4 participants