Skip to content

refactor: configure network test timing in extension - #47090

Draft
davidmurdoch wants to merge 4 commits into
mainfrom
david/explicit-network-test-timing
Draft

davidmurdoch wants to merge 4 commits into
mainfrom
david/explicit-network-test-timing

Conversation

@davidmurdoch

@davidmurdoch davidmurdoch commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Consume the proposed Core API from MetaMask/core#10831 to keep network test timing in Extension.

The wallet initialization options select one-second polling for custom networks when Extension's own IN_TEST flag is enabled. Infura and production clients keep Core's default polling interval. Core no longer needs to read that flag.

Gas-estimation latency belongs in the E2E RPC mocks. Add an opt-in mock that holds eth_estimateGas until the test releases it, while forwarding other RPC methods to the local node. The existing gas-defaults test now uses that mock explicitly.

Draft dependency: This PR intentionally assumes @metamask/network-controller and @metamask/wallet already expose the API proposed in the Core PR. Package versions, the lockfile and LavaMoat policies are unchanged. Before merging, release and install those packages, regenerate policies, and run the affected browser E2E suite.

Validation:

  • Ten tests in three focused Jest suites passed: wallet initialization, custom-network polling options, and a real HTTP proof that the gas-estimation mock holds estimates while other RPC methods continue.
  • yarn lint:changed:fix passed.
  • Type checks against the currently installed package declarations report the same 16 diagnostics as unmodified main with this local dependency install, with no additional diagnostics from this change. No simulated package declarations are used.
  • A Chrome test development build completed successfully.
  • The changed Chrome E2E test reached the expected gas-fee assertion locally, then failed the privacy check on an unrelated image request to dvid.me. The original test from main also requests that host locally. The RPC mock uses the already approved customnetwork.test host, with no privacy-snapshot changes.
  • CI is running on the latest commit; verification against the released Core API remains required before merging.

Changelog

CHANGELOG entry: null

Related issues

Depends on MetaMask/core#10831.

Manual testing steps

After installing the updated Core packages:

  1. Load a test build and select a custom local network.
  2. Send ETH and verify the gas fee appears and the transaction can be confirmed.
  3. Select an Infura network and verify balances and transaction confirmations still load.
  4. Repeat the custom-network flow in a production build to check the default polling behavior.

Pre-merge author checklist

  • I've followed MetaMask Contributor Docs and MetaMask Extension Coding Standards.
  • I've completed the PR template to the best of my ability
  • I've included tests if applicable
  • I've documented my code using JSDoc format if applicable
  • I've applied the right labels on the PR.

Pre-merge reviewer checklist

  • I've manually tested the PR.
  • I confirm that this PR addresses all acceptance criteria and includes the necessary testing evidence.

@github-actions

Copy link
Copy Markdown
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.

@metamask-ci

metamask-ci Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
Builds ready [848c2f5]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 3 warn · 🔴 2 fail)

Baseline (latest main): 171ed20 | Date: 7/28/2026 | Pipeline: 38615165806 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]

Regressions (🔴 2 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +418%
  • ↑ loadNewAccount/total: +418%
  • ↑ confirmTx/longTaskCount: +33%
  • ↑ confirmTx/longTaskTotalDuration: +71%
  • ↑ confirmTx/longTaskMaxDuration: +90%
  • ↑ confirmTx/tbt: +108%
  • ↑ bridgeUserActions/bridge_load_page: +116%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +120%
  • ↑ bridgeUserActions/longTaskCount: +67%
  • ↑ bridgeUserActions/longTaskTotalDuration: +129%
  • ↑ bridgeUserActions/longTaskMaxDuration: +56%
  • ↑ bridgeUserActions/tbt: +261%
  • ↑ bridgeUserActions/total: +23%
  • ↑ loadNewAccount/load_new_account: +416%
  • ↑ loadNewAccount/total: +416%
  • ↓ loadNewAccount/inp: -47%
  • ↓ loadNewAccount/fcp: -32%
  • ↑ loadNewAccount/lcp: +1004%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↑ confirmTx/inp: +59%
  • ↓ confirmTx/fcp: -70%
  • ↑ confirmTx/lcp: +1102%
  • ↑ bridgeUserActions/bridge_load_page: +83%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +66%
  • ↓ bridgeUserActions/bridge_search_token: -10%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↓ bridgeUserActions/fcp: -82%
  • ↑ bridgeUserActions/lcp: +868%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/domInteractive: +20%
  • ↑ startupStandardHome/firstPaint: +13%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -33%
  • ↑ startupStandardHome/setupStore: +173%
  • ↑ startupStandardHome/numNetworkReqs: +10%
  • ↓ startupStandardHome/longTaskCount: -33%
  • ↑ startupStandardHome/lcp: +18%
  • ↓ startupStandardHome/domInteractive: -37%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/setupStore: +158%
  • ↓ startupStandardHome/fcp: -30%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/srpButtonToSrpForm: +45%
  • ↑ onboardingImportWallet/confirmSrpToPwForm: +39%
  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +29%
  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +30%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -94%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -75%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -89%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -82%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -79%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -57%
  • ↓ dappPageLoad/firstPaint: -41%
  • ↓ dappPageLoad/firstContentfulPaint: -41%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.37 MiB +158 Bytes 0.00%
✅ ui 19.19 MiB +60 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.35 MiB 0 Bytes 0.00%
✅ content scripts 3.15 MiB 0 Bytes 0.00%
✅ zip 23.84 MiB +81 Bytes 0.00%

@davidmurdoch davidmurdoch changed the title david/refactor: configure network test timing in extension refactor: configure network test timing in extension Oct 14, 2026
@metamask-ci

metamask-ci Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
Builds ready [00d8835]
⚡ Performance Benchmarks (Total: 🟢 9 pass · 🟡 2 warn · 🔴 2 fail)

Baseline (latest main): 171ed20 | Date: 7/28/2026 | Pipeline: 38630174125 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]

Regressions (🔴 2 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +413%
  • ↑ loadNewAccount/total: +413%
  • ↓ loadNewAccount/inp: -17%
  • ↓ loadNewAccount/fcp: -30%
  • ↓ loadNewAccount/lcp: -26%
  • ↑ confirmTx/longTaskMaxDuration: +24%
  • ↓ confirmTx/inp: -39%
  • ↓ confirmTx/fcp: -26%
  • ↑ bridgeUserActions/bridge_load_page: +11%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +60%
  • ↑ bridgeUserActions/longTaskCount: +67%
  • ↑ bridgeUserActions/longTaskTotalDuration: +29%
  • ↓ bridgeUserActions/longTaskMaxDuration: -21%
  • ↓ bridgeUserActions/tbt: -32%
  • ↑ bridgeUserActions/inp: +15%
  • ↓ bridgeUserActions/fcp: -30%
  • ↓ bridgeUserActions/lcp: -18%
  • ↑ loadNewAccount/load_new_account: +422%
  • ↑ loadNewAccount/total: +422%
  • ↓ loadNewAccount/inp: -24%
  • ↑ loadNewAccount/fcp: +21%
  • ↑ loadNewAccount/lcp: +1279%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↓ confirmTx/inp: -24%
  • ↑ confirmTx/fcp: +21%
  • ↑ confirmTx/lcp: +1308%
  • ↑ bridgeUserActions/bridge_load_page: +323%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +166%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +82%
  • ↑ bridgeUserActions/inp: +46%
  • ↓ bridgeUserActions/fcp: -38%
  • ↑ bridgeUserActions/lcp: +1305%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 2.1s
  • 🟡 confirmTx/FCP: p75 2.1s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ startupStandardHome/uiStartup: -14%
  • ↓ startupStandardHome/load: -15%
  • ↓ startupStandardHome/domContentLoaded: -15%
  • ↓ startupStandardHome/backgroundConnect: -17%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -33%
  • ↓ startupStandardHome/loadScripts: -16%
  • ↑ startupStandardHome/setupStore: +150%
  • ↑ startupStandardHome/numNetworkReqs: +10%
  • ↓ startupStandardHome/longTaskCount: -33%
  • ↓ startupStandardHome/longTaskTotalDuration: -24%
  • ↓ startupStandardHome/longTaskMaxDuration: -20%
  • ↓ startupStandardHome/tbt: -21%
  • ↓ startupStandardHome/inp: -11%
  • ↓ startupStandardHome/fcp: -16%
  • ↓ startupStandardHome/domInteractive: -34%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/setupStore: +142%
  • ↓ startupStandardHome/fcp: -29%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -94%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -75%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -89%
  • ↑ onboardingNewWallet/skipBackupToMetricsScreen: +14%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -83%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -80%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -67%
  • ↓ dappPageLoad/domContentLoaded: -23%
  • ↓ dappPageLoad/firstPaint: -55%
  • ↓ dappPageLoad/firstContentfulPaint: -55%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.37 MiB +158 Bytes 0.00%
✅ ui 19.19 MiB +60 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.35 MiB 0 Bytes 0.00%
✅ content scripts 3.15 MiB 0 Bytes 0.00%
✅ zip 23.84 MiB +81 Bytes 0.00%

@sonarqubecloud

Copy link
Copy Markdown

gauthierpetetin pushed a commit that referenced this pull request Oct 21, 2026
## **Description**

Simplify the configuration added by the SWC 1.16.2 bump in #46950 while
keeping the environment substitutions explicit.

SWC's transform API selects TSX parsing from the filename, so `.ts`,
`.mts` and `.tsx` can share one TypeScript loader, including React
Refresh. The environment-validation loader uses the parse API and still
explicitly enables TSX for `.tsx` files.

Only the `.js`/`.mjs` dependency loader substitutes `IN_TEST` and
`NODE_ENV`. The current network-controller resolves to its ESM build,
and the traced production Chrome test graph contains no CJS-loader
inputs reading either flag. The CJS loader therefore keeps an empty
environment map. The regression tests warm SWC with first-party values
and then verify the vendor substitutions, including that other build
values are not inherited.

Inlining `NODE_ENV` before LavaMoat analysis removes the runtime
permissions introduced by the parent branch. The regenerated MV2/MV3
policies remove 35 `process.env.NODE_ENV` grants per build variant
without changing other permissions.

The `IN_TEST` workaround stays in place for this upgrade. A TODO links
the Core and Extension follow-ups that will replace it with explicit
polling configuration and E2E gas-estimation mocks.

Validation:

- `yarn lint:changed:fix`
- 64 focused webpack loader, environment-validation and configuration
tests
- `yarn lint:tsc`
- JSON formatting checks for the policy files
- `yarn lavamoat:auto` across all eight production policy variants

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Stacked on #46950;
targets `bump/swc-core-1.16.2`.

Follow-up cleanup tracked by the TODO:
MetaMask/core#10831 and
#47090.

## **Manual testing steps**

1. Load the Chrome test build, unlock a test wallet and select a custom
local network.
2. Send ETH. Verify the confirmation displays a gas fee and the balance
updates after confirmation.
3. Open the wallet UI in a development watch build, change text in a TSX
component and verify React Refresh updates it without a parsing error.
4. Load the Firefox build and verify the wallet opens and a transaction
confirmation loads.

<!--
## **Screenshots/Recordings**

No user interface changes.

### **Before**

### **After**
-->

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR.
- [ ] I confirm that this PR addresses all acceptance criteria and
includes the necessary testing evidence.
github-merge-queue Bot pushed a commit that referenced this pull request Oct 22, 2026
## **Description**

Bumps `@swc/core` from **1.13.3 → 1.16.2** to fix non-deterministic
Firefox builds (one of the [four root
causes](#46845) of
AMO rebuild mismatches in `runtime.js`). Background on the mechanism:
[comment on
#46845](#46845 (comment)).
Extracted from #46845. Webpack wiring was later simplified in #47092.

### Problem

SWC cached parsed `process.env` substitution values **with stale source
positions** from whichever file was compiled first. That corrupted
source maps, changed module hashes, and made rebuilds
non-byte-identical. The cache was also keyed incorrectly, so first-party
env substitutions could leak into `node_modules`.

Fixed upstream in swc-project/swc#12129 and swc-project/swc#12166
(shipped in **1.16.2**).

### What this PR changes

1. **Bump** `@swc/core` to 1.16.2.
2. **TypeScript loader:** `tsx: false` by default. Transform still
enables TSX from `.tsx` filenames, so `.ts` / `.mts` / `.tsx` share one
loader.
3. **`envValidationLoader`:** parse API does not enable TSX from the
filename, so it still sets `tsx` only for `.tsx` (avoids misparsing
generics in `.ts` / `.mts`).
4. **Vendor ESM env:** explicitly inline `IN_TEST` and `NODE_ENV` only.
`IN_TEST` used to leak in via the bad cache.
`@metamask/network-controller` needs it for the 1s test block-tracker
interval. Temporary until
[core#10831](MetaMask/core#10831) and
[#47090](#47090). CJS
vendors keep an empty env map.

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Related:
[INFRA-3920](https://consensyssoftware.atlassian.net/browse/INFRA-3920)

## **Manual testing steps**

1. Compile webpack tooling if needed: `yarn webpack:tsc`
2. Build Firefox production: `yarn webpack:lavamoat:build:mv2 --env
production`
3. Load `dist/firefox` in Firefox (`about:debugging`), unlock or
onboard, confirm the UI works with no extension console errors.
4. Run the webpack unit tests that cover this change: `yarn test:unit
development/webpack/test/webpack.config.test.ts
development/webpack/test/loaders.envValidationLoader.test.ts`
5. Start a Chrome watch build: `yarn start`
6. Edit a `.tsx` file and confirm React Refresh updates without a parse
error.

<!--
## **Screenshots/Recordings**

### **Before**

### **After**
-->

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **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.

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
@metamask-ci

metamask-ci Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor
Builds ready [51d9a42]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 3 warn · 🔴 3 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 43519311699 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]

Regressions (🔴 3 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 bridge_search_token

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +181%
  • ↑ loadNewAccount/total: +181%
  • ↓ loadNewAccount/inp: -10%
  • ↑ loadNewAccount/lcp: +834%
  • ↑ loadNewAccount/cls: +572%
  • ↑ confirmTx/longTaskCount: +33%
  • ↑ confirmTx/longTaskTotalDuration: +13%
  • ↓ confirmTx/inp: -52%
  • ↓ confirmTx/fcp: -30%
  • ↑ confirmTx/lcp: +599%
  • ↓ confirmTx/cls: -14%
  • ↑ bridgeUserActions/bridge_load_page: +15%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +17%
  • ↑ bridgeUserActions/bridge_search_token: +26%
  • ↓ bridgeUserActions/longTaskTotalDuration: -26%
  • ↓ bridgeUserActions/longTaskMaxDuration: -25%
  • ↓ bridgeUserActions/tbt: -52%
  • ↑ bridgeUserActions/total: +19%
  • ↓ bridgeUserActions/inp: -19%
  • ↓ bridgeUserActions/fcp: -32%
  • ↑ bridgeUserActions/lcp: +576%
  • ↓ bridgeUserActions/cls: -86%
  • ↑ loadNewAccount/load_new_account: +181%
  • ↑ loadNewAccount/total: +181%
  • ↑ loadNewAccount/inp: +154%
  • ↓ loadNewAccount/fcp: -50%
  • ↑ loadNewAccount/lcp: +1040%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↓ confirmTx/inp: -29%
  • ↓ confirmTx/fcp: -50%
  • ↑ confirmTx/lcp: +1059%
  • ↑ bridgeUserActions/bridge_load_page: +338%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +109%
  • ↑ bridgeUserActions/bridge_search_token: +224%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +210%
  • ↑ bridgeUserActions/inp: +944%
  • ↓ bridgeUserActions/fcp: -57%
  • ↑ bridgeUserActions/lcp: +1220%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/INP: p75 272ms
  • 🔴 bridgeUserActions/INP: p75 1.1s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 loadScripts

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/load: +30%
  • ↑ startupStandardHome/domContentLoaded: +30%
  • ↓ startupStandardHome/firstPaint: -53%
  • ↓ startupStandardHome/firstReactRender: -29%
  • ↓ startupStandardHome/initialActions: -64%
  • ↑ startupStandardHome/loadScripts: +29%
  • ↑ startupStandardHome/setupStore: +95%
  • ↑ startupStandardHome/longTaskCount: +43%
  • ↑ startupStandardHome/longTaskTotalDuration: +22%
  • ↑ startupStandardHome/longTaskMaxDuration: +37%
  • ↑ startupStandardHome/tbt: +25%
  • ↓ startupStandardHome/fcp: -65%
  • ↑ startupStandardHome/lcp: +58%
  • ↓ startupStandardHome/cls: -72%
  • ↑ startupStandardHome/domInteractive: +48%
  • ↑ startupStandardHome/firstReactRender: +25%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/inp: +100%
  • ↑ startupStandardHome/fcp: +51%
User Journey Benchmarks · Samples: 5 · mock API 🔴 1
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]
🔴 total

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +11%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -94%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -87%
  • ↓ onboardingNewWallet/createWalletToSocialScreen: -10%
  • ↑ onboardingNewWallet/createPwToRecoveryScreen: +24%
  • ↑ onboardingNewWallet/skipBackupToMetricsScreen: +13%
  • ↓ onboardingNewWallet/agreeButtonToOnboardingSuccess: -12%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -78%
  • ↓ onboardingNewWallet/longTaskCount: -62%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -72%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -34%
  • ↓ onboardingNewWallet/tbt: -93%
  • ↓ onboardingNewWallet/total: -74%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -60%
  • ↓ dappPageLoad/domContentLoaded: -18%
  • ↓ dappPageLoad/firstPaint: -47%
  • ↓ dappPageLoad/firstContentfulPaint: -47%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.21 MiB +153 Bytes 0.00%
✅ ui 19.58 MiB +70 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.46 MiB 0 Bytes 0.00%
✅ content scripts 3.2 MiB 0 Bytes 0.00%
✅ unzipped 79.97 MiB +228 Bytes 0.00%
✅ zip 24.04 MiB +61 Bytes 0.00%

@sonarqubecloud

Copy link
Copy Markdown

This branch was previously deployed

1 inactive deployment
pr-comment — 51d9a422 Deployed Nov 13, 2026 by davidmurdoch via Publish prerelease / Publish prerelease #174688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-M team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant