Skip to content

fix: Recent activity fields display orders and funding payments#41446

Merged
HowardBraham merged 4 commits intomainfrom
fix/tat-2793-filter-perps-recent-activity
Apr 6, 2026
Merged

fix: Recent activity fields display orders and funding payments#41446
HowardBraham merged 4 commits intomainfrom
fix/tat-2793-filter-perps-recent-activity

Conversation

@abretonc7s
Copy link
Copy Markdown
Contributor

@abretonc7s abretonc7s commented Apr 2, 2026

Description

The perps home tab Recent Activity section was displaying order and funding
payment entries alongside trade executions and deposits. Only trades,
deposits, and withdrawals should appear there — open orders are already shown
in the Positions/Orders section above, and funding payments belong on the full
activity page.

Root cause: perps-view.tsx passed the unfiltered result of
usePerpsTransactionHistory() directly to <PerpsRecentActivity>. The hook
returns all transaction types (trade, order, funding, deposit,
withdrawal). Added a useMemo filter to keep only trade, deposit, and
withdrawal before rendering.

Changelog

CHANGELOG entry: Fixed a bug causing order and funding transactions to appear in the perps Recent Activity section

Related issues

Fixes: TAT-2793

Manual testing steps

  1. Enable perps (PERPS_ENABLED=true in .metamaskrc + perpsEnabledVersion remote flag)
  2. Open the extension and navigate to the Perps tab
  3. Scroll down to the Recent Activity section
  4. Confirm only trade executions, deposits, and withdrawals appear (no "Order" or "Funding" entries)
  5. Navigate to the full activity page and confirm funding/order entries still appear there

Screenshots/Recordings

Before

Recording: before.mp4 (recipe run against unfixed code — wallet has no live data so empty-state path taken)

After

Recording: after.mp4 — recipe validates no transaction-card-order-* or transaction-card-funding-* elements appear in [data-testid="perps-recent-activity"]. All 7 recipe nodes PASS.

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
Low risk UI logic change that only filters which transaction types are shown in the Perps home Recent Activity list; minimal surface area and covered by a new unit test.

Overview
Fixes the Perps home Recent Activity list to exclude order and funding entries by filtering the usePerpsTransactionHistory() results to only trade, deposit, and withdrawal before rendering.

Adds a regression test in perps-view.test.tsx asserting that trade/deposit cards render while funding/order cards do not appear.

Reviewed by Cursor Bugbot for commit 3277fc7. Bugbot is set up for automated code reviews on this repo. Configure here.

@abretonc7s abretonc7s added the DO-NOT-MERGE Pull requests that should not be merged label Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 2, 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-perps Perps team label Apr 2, 2026
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Apr 2, 2026

Builds ready [4e7df56]
⚡ Performance Benchmarks (Total: 🟢 18 pass · 🟡 0 warn · 🔴 0 fail)

Baseline (latest main): e4d0c5f | Date: 12/5/58221 | Pipeline: 23903826553 | Baseline logs

Interaction Benchmarks
Benchmarkchrome-browserify
loadNewAccount🟢 [Show logs]
confirmTx🟢 [Show logs]
bridgeUserActions🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • loadNewAccount/load_new_account: +29%
  • loadNewAccount/total: +29%
  • bridgeUserActions/bridge_load_asset_picker: +38%
  • bridgeUserActions/bridge_search_token: +14%
  • bridgeUserActions/total: +23%
Startup Benchmarks
Benchmarkchrome-browserifychrome-webpackfirefox-browserifyfirefox-webpack
startupStandardHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]
startupPowerUserHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • startupStandardHome/initialActions: +67%
  • startupPowerUserHome/backgroundConnect: -52%
  • startupStandardHome/firstReactRender: -13%
  • startupPowerUserHome/domInteractive: -16%
  • startupPowerUserHome/numNetworkReqs: -15%
  • startupStandardHome/domInteractive: +12%
  • startupStandardHome/initialActions: -29%
  • startupStandardHome/setupStore: -12%
  • startupPowerUserHome/setupStore: -13%
  • startupStandardHome/initialActions: -17%
  • startupStandardHome/setupStore: -14%
  • startupPowerUserHome/setupStore: -21%
User Journey Benchmarks
Benchmarkchrome-browserify
onboardingImportWallet🟢 [Show logs]
onboardingNewWallet🟢 [Show logs]
assetDetails🟢 [Show logs]
solanaAssetDetails🟢 [Show logs]
importSrpHome🟢 [Show logs]
sendTransactions🟢 [Show logs]
swap🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • onboardingImportWallet/pwFormToMetricsScreen: +13%
  • onboardingImportWallet/doneButtonToHomeScreen: -77%
  • onboardingImportWallet/openAccountMenuToAccountListLoaded: +98%
  • onboardingImportWallet/total: -35%
  • onboardingNewWallet/skipBackupToMetricsScreen: +13%
  • onboardingNewWallet/agreeButtonToOnboardingSuccess: -27%
  • onboardingNewWallet/doneButtonToAssetList: -33%
  • onboardingNewWallet/total: -28%
  • assetDetails/assetClickToPriceChart: -57%
  • assetDetails/total: -57%
  • solanaAssetDetails/assetClickToPriceChart: -36%
  • solanaAssetDetails/total: -36%
  • importSrpHome/loginToHomeScreen: +10%
  • importSrpHome/openAccountMenuAfterLogin: -33%
  • importSrpHome/homeAfterImportWithNewWallet: -40%
  • importSrpHome/total: -34%
  • swap/openSwapPageFromHome: -87%
  • swap/fetchAndDisplaySwapQuotes: +28%
🌐 Dapp Page Load Benchmarks

Current Commit: 4e7df56 | Date: 4/2/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±38ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 715ms (±36ms) 🟢 | historical mean value: 728ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 83ms (±8ms) 🟢 | historical mean value: 85ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 38ms 993ms 1.31s 1.04s 1.31s
domContentLoaded 715ms 36ms 692ms 992ms 733ms 992ms
firstPaint 83ms 8ms 72ms 148ms 92ms 148ms
firstContentfulPaint 83ms 8ms 72ms 148ms 92ms 148ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -1.36 MiB (-20.02%)
  • ui: -61.58 KiB (-0.73%)
  • common: 984.5 KiB (8.49%)

The perps home tab was showing order and funding transactions in the
Recent Activity section. Only trades, deposits, and withdrawals should
appear there — open orders are already shown in the Positions/Orders
section, and funding payments belong in the full activity page.

Adds a useMemo filter in perps-view.tsx and a regression test.
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Apr 2, 2026

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/perps (2 files, +40 -1)
  • 📁 ui/
    • 📁 components/
      • 📁 app/
        • 📁 perps/
          • 📄 perps-view.test.tsx +25 -0
          • 📄 perps-view.tsx +15 -1

@github-actions github-actions Bot added the size-S label Apr 2, 2026
@abretonc7s
Copy link
Copy Markdown
Contributor Author

Automated fix-bug run — TAT-2793

Metric Value
Run e95da577
Duration ?m
Model claude/sonnet
Nudges 0
Difficulty low (2/10)
Grade rationale This is a straightforward filtering bug requiring simple data-fetching logic modifications. The issue involves adding filter conditions to exclude specific transaction types (Orders and Funding Payments) in two locations, with clear acceptance criteria and no cross-component state management concerns.
Cost estimate $14.99
Worker report

TAT-2793 Fix Report — Filter perps Recent Activity

Root Cause

perps-view.tsx called usePerpsTransactionHistory() and passed the full
result to <PerpsRecentActivity> without filtering. The hook returns all
transaction types: trade, order, funding, deposit, withdrawal.

As a result, order and funding payment entries appeared in the Recent Activity
section on the perps home tab — which should only show trade executions,
deposits, and withdrawals.

Bug location: ui/components/app/perps/perps-view.tsx:49 (before fix)

Fix

Added a useMemo filter in perps-view.tsx that keeps only trade,
deposit, and withdrawal types before passing to <PerpsRecentActivity>:

const recentActivityTransactions = useMemo(
  () =>
    allRecentActivityTransactions.filter(
      (tx) =>
        tx.type === 'trade' ||
        tx.type === 'deposit' ||
        tx.type === 'withdrawal',
    ),
  [allRecentActivityTransactions],
);

Open orders are already surfaced in <PerpsPositionsOrders>. Funding
payments belong on the full activity page (perps-activity-page.tsx), which
correctly uses filterTransactionsByType for its own scoped views.

Files Changed

  • ui/components/app/perps/perps-view.tsx — added useMemo filter
  • ui/components/app/perps/perps-view.test.tsx — added regression test

Tests

  • 16/16 unit tests pass (yarn jest ui/components/app/perps/perps-view.test.tsx)
  • New test: "filters out order and funding transactions from Recent Activity"
    • Verifies trade (tx-001) and deposit (tx-005) cards appear
    • Verifies funding (tx-003) and order (tx-004) cards do NOT appear

Evidence

  • before.mp4 — recording of recipe run before fix (wallet has no live order/funding data; recipe passes trivially on empty state)
  • after.mp4 — recording of recipe run against fixed code (all 7 nodes PASS)
  • evidence-recent-activity.png — screenshot of perps tab scrolled to Recent Activity
  • evidence-activity-verified.png — final screenshot after assertions pass
  • Recipe: artifacts/recipe.json — 7/7 nodes PASS in 749ms
Recipe workflow diagram
flowchart TD
  %% Verify fix: Recent Activity shows only trades/deposits/withdrawals
  __entry__(["ENTRY"]) --> node_nav
  node_nav[["nav<br/>perps/navigate-perps-tab"]]
  node_scroll_to_activity["scroll-to-activity<br/>scroll"]
  node_screenshot_before["screenshot-before<br/>screenshot"]
  node_assert_no_order_cards["assert-no-order-cards<br/>eval_sync"]
  node_check_no_orders["check-no-orders<br/>eval_sync"]
  node_check_no_funding["check-no-funding<br/>eval_sync"]
  node_screenshot_final["screenshot-final<br/>screenshot"]
  node_done(["done<br/>PASS"])
  node_nav --> node_scroll_to_activity
  node_scroll_to_activity --> node_screenshot_before
  node_screenshot_before --> node_assert_no_order_cards
  node_assert_no_order_cards --> node_check_no_orders
  node_check_no_orders --> node_check_no_funding
  node_check_no_funding --> node_screenshot_final
  node_screenshot_final --> node_done
Loading

@abretonc7s abretonc7s marked this pull request as ready for review April 2, 2026 15:17
@abretonc7s abretonc7s requested a review from a team as a code owner April 2, 2026 15:17
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Apr 2, 2026

Builds ready [933e8f8]
⚡ Performance Benchmarks (Total: 🟢 18 pass · 🟡 0 warn · 🔴 0 fail)

Baseline (latest main): e4d0c5f | Date: 12/5/58221 | Pipeline: 23906504124 | Baseline logs

Interaction Benchmarks
Benchmarkchrome-browserify
loadNewAccount🟢 [Show logs]
confirmTx🟢 [Show logs]
bridgeUserActions🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • bridgeUserActions/bridge_load_page: +11%
  • bridgeUserActions/bridge_load_asset_picker: +47%
  • bridgeUserActions/total: +25%
Startup Benchmarks
Benchmarkchrome-browserifychrome-webpackfirefox-browserifyfirefox-webpack
startupStandardHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]
startupPowerUserHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • startupStandardHome/firstPaint: +16%
  • startupStandardHome/initialActions: -17%
  • startupPowerUserHome/backgroundConnect: +31%
  • startupPowerUserHome/numNetworkReqs: -23%
  • startupStandardHome/firstPaint: +12%
  • startupPowerUserHome/uiStartup: +12%
  • startupPowerUserHome/load: +11%
  • startupPowerUserHome/domContentLoaded: +12%
  • startupPowerUserHome/firstPaint: +21%
  • startupPowerUserHome/backgroundConnect: +19%
  • startupPowerUserHome/loadScripts: +12%
  • startupPowerUserHome/setupStore: +14%
  • startupPowerUserHome/numNetworkReqs: -47%
  • startupStandardHome/domInteractive: -11%
  • startupStandardHome/backgroundConnect: +14%
  • startupStandardHome/initialActions: -29%
  • startupStandardHome/setupStore: +15%
  • startupPowerUserHome/domInteractive: +21%
  • startupPowerUserHome/setupStore: +14%
  • startupStandardHome/initialActions: +67%
  • startupStandardHome/setupStore: +92%
  • startupPowerUserHome/setupStore: +12%
User Journey Benchmarks
Benchmarkchrome-browserify
onboardingImportWallet🟢 [Show logs]
onboardingNewWallet🟢 [Show logs]
assetDetails🟢 [Show logs]
solanaAssetDetails🟢 [Show logs]
importSrpHome🟢 [Show logs]
sendTransactions🟢 [Show logs]
swap🟢 [Show logs]

📈 Results compared to the previous 5 runs on main

  • onboardingImportWallet/metricsToWalletReadyScreen: -17%
  • onboardingImportWallet/doneButtonToHomeScreen: -78%
  • onboardingImportWallet/openAccountMenuToAccountListLoaded: +98%
  • onboardingImportWallet/total: -34%
  • onboardingNewWallet/skipBackupToMetricsScreen: -16%
  • onboardingNewWallet/agreeButtonToOnboardingSuccess: -29%
  • onboardingNewWallet/doneButtonToAssetList: -33%
  • onboardingNewWallet/total: -28%
  • assetDetails/assetClickToPriceChart: -60%
  • assetDetails/total: -60%
  • solanaAssetDetails/assetClickToPriceChart: -49%
  • solanaAssetDetails/total: -49%
  • importSrpHome/openAccountMenuAfterLogin: -26%
  • importSrpHome/homeAfterImportWithNewWallet: -44%
  • importSrpHome/total: -38%
  • swap/openSwapPageFromHome: -87%
  • swap/fetchAndDisplaySwapQuotes: +28%
🌐 Dapp Page Load Benchmarks

Current Commit: 933e8f8 | Date: 4/2/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±38ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 749ms (±35ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 88ms (±10ms) 🟢 | historical mean value: 85ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 38ms 1.04s 1.34s 1.10s 1.34s
domContentLoaded 749ms 35ms 723ms 1.01s 778ms 1.01s
firstPaint 88ms 10ms 72ms 164ms 96ms 164ms
firstContentfulPaint 88ms 10ms 72ms 164ms 96ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -1.36 MiB (-20.02%)
  • ui: -61.48 KiB (-0.73%)
  • common: 984.5 KiB (8.49%)

@abretonc7s abretonc7s removed the DO-NOT-MERGE Pull requests that should not be merged label Apr 3, 2026
@michalconsensys
Copy link
Copy Markdown
Contributor

Screenshot 2026-04-03 at 14 41 24 @abretonc7s FYI here is the error CLIENT_NOT_INITIALIZED, this is likely unrelated to this PR

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Apr 3, 2026

Builds ready [923da36]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)

Baseline (latest main): f34f804 | Date: 9/10/58222 | Pipeline: 23960776534 | Baseline logs

Interaction Benchmarks
Benchmarkchrome-browserify
loadNewAccount🟡 [Show logs]
confirmTx🟡 [Show logs]
bridgeUserActions🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • loadNewAccount/load_new_account: -51%
  • loadNewAccount/total: -51%
  • bridgeUserActions/bridge_load_page: +13%
  • bridgeUserActions/bridge_search_token: -17%
  • bridgeUserActions/total: -17%

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

  • 🟡 loadNewAccount/FCP: p75 2.5s
  • 🟡 confirmTx/FCP: p75 2.5s
  • 🟡 bridgeUserActions/INP: p75 208ms
  • 🟡 bridgeUserActions/FCP: p75 2.5s
Startup Benchmarks
Benchmarkchrome-browserifychrome-webpackfirefox-browserifyfirefox-webpack
startupStandardHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]
startupPowerUserHome🟡 [Show logs]🟡 [Show logs]🟡 [Show logs]🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • startupStandardHome/load: -12%
  • startupStandardHome/domContentLoaded: -14%
  • startupStandardHome/backgroundConnect: +13%
  • startupStandardHome/initialActions: -38%
  • startupStandardHome/loadScripts: -17%
  • startupStandardHome/numNetworkReqs: -13%
  • startupPowerUserHome/backgroundConnect: +101%
  • startupStandardHome/uiStartup: -14%
  • startupStandardHome/load: -13%
  • startupStandardHome/domContentLoaded: -12%
  • startupStandardHome/firstPaint: +18%
  • startupStandardHome/backgroundConnect: -35%
  • startupStandardHome/firstReactRender: -24%
  • startupStandardHome/loadScripts: -12%
  • startupStandardHome/setupStore: -14%
  • startupStandardHome/numNetworkReqs: -29%
  • startupPowerUserHome/numNetworkReqs: -42%
  • startupStandardHome/domInteractive: -58%
  • startupStandardHome/initialActions: -38%
  • startupStandardHome/setupStore: +14%
  • startupStandardHome/numNetworkReqs: -18%
  • startupPowerUserHome/uiStartup: -11%
  • startupPowerUserHome/backgroundConnect: -35%
  • startupStandardHome/domInteractive: -27%
  • startupStandardHome/backgroundConnect: -10%
  • startupStandardHome/initialActions: -44%
  • startupStandardHome/setupStore: -57%
  • startupStandardHome/numNetworkReqs: -11%
  • startupPowerUserHome/uiStartup: -13%
  • startupPowerUserHome/domInteractive: -27%
  • startupPowerUserHome/backgroundConnect: -35%
  • startupPowerUserHome/firstReactRender: -15%
  • startupPowerUserHome/setupStore: -35%

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

  • 🔴 startupPowerUserHome/INP: p75 688ms
  • 🔴 startupPowerUserHome/INP: p75 688ms
  • 🟡 startupPowerUserHome/LCP: p75 3.5s
  • 🟡 startupPowerUserHome/LCP: p75 3.4s
User Journey Benchmarks
Benchmarkchrome-browserify
onboardingImportWallet🟢 [Show logs]
onboardingNewWallet🟢 [Show logs]
assetDetails🟡 [Show logs]
solanaAssetDetails🟡 [Show logs]
importSrpHome🟡 [Show logs]
sendTransactions🟡 [Show logs]
swap🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • onboardingImportWallet/doneButtonToHomeScreen: -75%
  • onboardingImportWallet/openAccountMenuToAccountListLoaded: +32%
  • onboardingImportWallet/total: -38%
  • onboardingNewWallet/doneButtonToAssetList: -43%
  • onboardingNewWallet/total: -36%
  • assetDetails/assetClickToPriceChart: -68%
  • assetDetails/total: -68%
  • solanaAssetDetails/assetClickToPriceChart: -63%
  • solanaAssetDetails/total: -63%
  • importSrpHome/openAccountMenuAfterLogin: -72%
  • importSrpHome/homeAfterImportWithNewWallet: -38%
  • importSrpHome/total: -33%
  • sendTransactions/openSendPageFromHome: +88%
  • sendTransactions/selectTokenToSendFormLoaded: -18%
  • swap/openSwapPageFromHome: -85%
  • swap/fetchAndDisplaySwapQuotes: +31%
  • swap/total: +14%

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

  • 🟡 assetDetails/FCP: p75 2.4s
  • 🟡 solanaAssetDetails/FCP: p75 2.5s
  • 🟡 importSrpHome/INP: p75 208ms
  • 🟡 importSrpHome/FCP: p75 2.5s
  • 🟡 sendTransactions/INP: p75 224ms
  • 🟡 sendTransactions/FCP: p75 2.5s
  • 🟡 swap/FCP: p75 2.5s
🌐 Dapp Page Load Benchmarks

Current Commit: 923da36 | Date: 4/3/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±38ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 733ms (±37ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 86ms (±10ms) 🟢 | historical mean value: 88ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.01s 1.33s 1.06s 1.33s
domContentLoaded 733ms 37ms 702ms 1.01s 752ms 1.01s
firstPaint 86ms 10ms 72ms 168ms 96ms 168ms
firstContentfulPaint 86ms 10ms 72ms 168ms 96ms 168ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 103 Bytes (0%)
  • common: 20 Bytes (0%)

@aganglada aganglada added this pull request to the merge queue Apr 4, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 4, 2026
@HowardBraham HowardBraham added this pull request to the merge queue Apr 6, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 6, 2026
@HowardBraham HowardBraham added this pull request to the merge queue Apr 6, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 6, 2026

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 Bot commented Apr 6, 2026

Builds ready [3277fc7]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 12 warn · 🔴 0 fail)

Baseline (latest main): f34f804 | Date: 9/10/58222 | Pipeline: 24022735629 | Baseline logs

Interaction Benchmarks
Benchmarkchrome-browserify
loadNewAccount🟡 [Show logs]
confirmTx🟡 [Show logs]
bridgeUserActions🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • bridgeUserActions/bridge_search_token: +10%

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

  • 🟡 loadNewAccount/FCP: p75 2.6s
  • 🟡 confirmTx/FCP: p75 2.5s
  • 🟡 bridgeUserActions/FCP: p75 2.6s
Startup Benchmarks
Benchmarkchrome-browserifychrome-webpackfirefox-browserifyfirefox-webpack
startupStandardHome🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]🟢 [Show logs]
startupPowerUserHome🟡 [Show logs]🟡 [Show logs]🟡 [Show logs]🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • startupStandardHome/load: -10%
  • startupStandardHome/domContentLoaded: -12%
  • startupStandardHome/backgroundConnect: +15%
  • startupStandardHome/initialActions: -38%
  • startupStandardHome/loadScripts: -16%
  • startupStandardHome/numNetworkReqs: -11%
  • startupPowerUserHome/uiStartup: -33%
  • startupPowerUserHome/load: -26%
  • startupPowerUserHome/domContentLoaded: -25%
  • startupPowerUserHome/domInteractive: -31%
  • startupPowerUserHome/firstPaint: -16%
  • startupPowerUserHome/backgroundConnect: +14%
  • startupPowerUserHome/firstReactRender: -29%
  • startupPowerUserHome/loadScripts: -24%
  • startupPowerUserHome/setupStore: -22%
  • startupPowerUserHome/numNetworkReqs: -56%
  • startupStandardHome/uiStartup: -13%
  • startupStandardHome/load: -12%
  • startupStandardHome/domContentLoaded: -11%
  • startupStandardHome/backgroundConnect: -33%
  • startupStandardHome/firstReactRender: -20%
  • startupStandardHome/loadScripts: -11%
  • startupStandardHome/numNetworkReqs: -29%
  • startupPowerUserHome/domInteractive: -20%
  • startupPowerUserHome/firstPaint: -17%
  • startupPowerUserHome/numNetworkReqs: +49%
  • startupStandardHome/domInteractive: -59%
  • startupStandardHome/initialActions: -38%
  • startupStandardHome/setupStore: +21%
  • startupStandardHome/numNetworkReqs: -16%
  • startupPowerUserHome/uiStartup: -14%
  • startupPowerUserHome/backgroundConnect: -42%
  • startupPowerUserHome/setupStore: +26%
  • startupStandardHome/initialActions: -44%
  • startupStandardHome/setupStore: -48%
  • startupStandardHome/numNetworkReqs: -13%
  • startupPowerUserHome/domInteractive: -12%
  • startupPowerUserHome/backgroundConnect: -23%
  • startupPowerUserHome/firstReactRender: -15%
  • startupPowerUserHome/loadScripts: -11%
  • startupPowerUserHome/numNetworkReqs: -23%

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

  • 🔴 startupPowerUserHome/INP: p75 608ms
  • 🔴 startupPowerUserHome/INP: p75 648ms
  • 🟡 startupPowerUserHome/LCP: p75 3.4s
  • 🟡 startupPowerUserHome/LCP: p75 3.6s
User Journey Benchmarks
Benchmarkchrome-browserify
onboardingImportWallet🟢 [Show logs]
onboardingNewWallet🟢 [Show logs]
assetDetails🟡 [Show logs]
solanaAssetDetails🟡 [Show logs]
importSrpHome🟡 [Show logs]
sendTransactions🟡 [Show logs]
swap🟡 [Show logs]

📈 Results compared to the previous 5 runs on main

  • onboardingImportWallet/metricsToWalletReadyScreen: -40%
  • onboardingImportWallet/doneButtonToHomeScreen: -75%
  • onboardingImportWallet/openAccountMenuToAccountListLoaded: +24%
  • onboardingImportWallet/total: -39%
  • onboardingNewWallet/skipBackupToMetricsScreen: -14%
  • onboardingNewWallet/agreeButtonToOnboardingSuccess: -13%
  • onboardingNewWallet/doneButtonToAssetList: -34%
  • onboardingNewWallet/total: -28%
  • assetDetails/assetClickToPriceChart: -64%
  • assetDetails/total: -64%
  • solanaAssetDetails/assetClickToPriceChart: -61%
  • solanaAssetDetails/total: -61%
  • importSrpHome/openAccountMenuAfterLogin: -65%
  • importSrpHome/homeAfterImportWithNewWallet: -39%
  • importSrpHome/total: -33%
  • sendTransactions/openSendPageFromHome: +128%
  • sendTransactions/reviewTransactionToConfirmationPage: +23%
  • sendTransactions/total: +24%
  • swap/openSwapPageFromHome: -84%
  • swap/fetchAndDisplaySwapQuotes: +32%
  • swap/total: +14%

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

  • 🟡 assetDetails/INP: p75 208ms
  • 🟡 assetDetails/FCP: p75 2.4s
  • 🟡 solanaAssetDetails/FCP: p75 2.4s
  • 🟡 importSrpHome/FCP: p75 2.5s
  • 🟡 sendTransactions/INP: p75 240ms
  • 🟡 sendTransactions/FCP: p75 2.6s
  • 🟡 swap/FCP: p75 2.6s
🌐 Dapp Page Load Benchmarks

Current Commit: 3277fc7 | Date: 4/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 992ms (±41ms) 🟢 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 697ms (±38ms) 🟢 | historical mean value: 731ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±12ms) 🟢 | historical mean value: 87ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 992ms 41ms 965ms 1.29s 1.03s 1.29s
domContentLoaded 697ms 38ms 676ms 973ms 711ms 973ms
firstPaint 84ms 12ms 68ms 176ms 96ms 176ms
firstContentfulPaint 84ms 12ms 68ms 176ms 96ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 103 Bytes (0%)
  • common: 20 Bytes (0%)

@HowardBraham HowardBraham added this pull request to the merge queue Apr 6, 2026
Merged via the queue into main with commit 5da5788 Apr 6, 2026
390 of 394 checks passed
@HowardBraham HowardBraham deleted the fix/tat-2793-filter-perps-recent-activity branch April 6, 2026 18:15
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 6, 2026
@metamaskbot metamaskbot added the release-13.27.0 Issue or pull request that will be included in release 13.27.0 label Apr 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

agentic release-13.27.0 Issue or pull request that will be included in release 13.27.0 size-S team-perps Perps team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants