Skip to content

fix: cp-12.17.3 Remove upgrade rejection persistence #32697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 13, 2025

Conversation

jpuri
Copy link
Contributor

@jpuri jpuri commented May 8, 2025

Description

Delete preference to persist user rejection of upgrade.

Related issues

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

Manual testing steps

  1. Go to test dapp
  2. Click 5792 upgrade request and reject it on splash screen
  3. Click 5792 update again, you should be able to proceed with the update

Screenshots/Recordings

Uploading Screen Recording 2025-05-08 at 9.34.26 PM.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.

@jpuri jpuri requested a review from a team as a code owner May 8, 2025 16:06
@jpuri jpuri added the team-confirmations Push issues to confirmations team label May 8, 2025
Copy link
Contributor

github-actions bot commented May 8, 2025

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
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

✅ @MetaMask/confirmations

  • ui/pages/confirmations/components/confirm/splash/smart-account-update/smart-account-update.test.tsx
  • ui/pages/confirmations/hooks/useSmartAccountActions.test.ts
  • ui/pages/confirmations/hooks/useSmartAccountActions.ts

@metamaskbot
Copy link
Collaborator

Builds ready [cad9473]
UI Startup Metrics (1214 ± 63 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1214109014286312481330
load106395811885610991169
domContentLoaded105694411775610941164
domInteractive17134851625
firstPaint68982119743010831158
backgroundConnect84556821
firstReactRender19155142024
getState1465181928
initialActions001001
loadScripts81469893354851913
setupStore85192813
WebpackHomeuiStartup21231664259818322532400
load16501285211814317301850
domContentLoaded16431282211014117241825
domInteractive15114381337
firstPaint1656232756186289
backgroundConnect2710132163253
firstReactRender1605136098281343
getState164273311234
initialActions316135
loadScripts16381281210414017211813
setupStore206263321938
FirefoxBrowserifyHomeuiStartup13601149167111714401604
load12071029153010512721411
domContentLoaded12071029152910512721410
domInteractive963818027106158
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2412235242257
firstReactRender23195852327
getState12420828831
initialActions001001
loadScripts11861016150810212541384
setupStore12422734623
WebpackHomeuiStartup15441376215215315831921
load13191185170311913741620
domContentLoaded13181185170311913741620
domInteractive79521371689115
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect241582122441
firstReactRender35295353948
getState105357930
initialActions002111
loadScripts12981168168311913561599
setupStore15534345842
Benchmark value 22 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 13 exceeds gate value 11 for firefox browserify home mean getState
Benchmark value 13 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 31 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 16 exceeds gate value 13 for firefox webpack home mean setupStore
Benchmark value 42 exceeds gate value 28 for firefox webpack home p95 setupStore
Sum of mean exceeds: 9ms | Sum of p95 exceeds: 25ms
Sum of all benchmark exceeds: 34ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1012 Bytes (-0.02%)
  • ui: -38 Bytes (0%)
  • common: -120 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [d664488]
UI Startup Metrics (1218 ± 71 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1218110015627112591330
load106696412806011051156
domContentLoaded105993812476110991152
domInteractive17134451624
firstPaint719130119541810781134
backgroundConnect83386824
firstReactRender19154141927
getState1353271825
initialActions001001
loadScripts81971098659862916
setupStore74142812
WebpackHomeuiStartup21751706252518723212460
load16901312221115217971874
domContentLoaded16841309220515117931870
domInteractive16114991344
firstPaint1616235066186323
backgroundConnect319380383564
firstReactRender17353367108283349
getState174264321641
initialActions317136
loadScripts16791307220315217881869
setupStore2662874224153
FirefoxBrowserifyHomeuiStartup13621179169611714301647
load12161052157611312711458
domContentLoaded12161052157611312711458
domInteractive994021629114166
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect19135862130
firstReactRender23195572334
getState84264813
initialActions006101
loadScripts11991038155411312571441
setupStore9418224612
WebpackHomeuiStartup15621380224415215891865
load13421179186513713811657
domContentLoaded13421179186413713811656
domInteractive77401581882116
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect23165472438
firstReactRender36296563847
getState95315926
initialActions002111
loadScripts13221159181813513621637
setupStore9510611826
Benchmark value 24 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 2461 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 153 exceeds gate value 65 for chrome webpack home p95 setupStore
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1637 exceeds gate value 1630 for firefox webpack home p95 loadScripts
Sum of mean exceeds: 1ms | Sum of p95 exceeds: 108ms
Sum of all benchmark exceeds: 109ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -212 Bytes (0%)
  • ui: 4.27 KiB (0.06%)
  • common: 218 Bytes (0%)

matthewwalsh0
matthewwalsh0 previously approved these changes May 9, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [2d3821f]
UI Startup Metrics (1215 ± 64 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1215108015166412581309
load105896313106111091146
domContentLoaded105195913046111001140
domInteractive16132731624
firstPaint72183118041610681138
backgroundConnect84416823
firstReactRender20155262031
getState15573102133
initialActions001001
loadScripts809717106261857898
setupStore85253812
WebpackHomeuiStartup22131779254416823182434
load17121378209213918111878
domContentLoaded17041374208813818041868
domInteractive161270111347
firstPaint1646259576176297
backgroundConnect291073144056
firstReactRender20554360105302340
getState174322321827
initialActions318146
loadScripts16991372208613818001866
setupStore226199262439
FirefoxBrowserifyHomeuiStartup13391160172011313961594
load11991040154910812601415
domContentLoaded11991040154810812591415
domInteractive1014017828114155
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect19137382030
firstReactRender24195582351
getState942252289
initialActions001001
loadScripts11831028153410712461399
setupStore64344610
WebpackHomeuiStartup15501359203013416181845
load13251171173911613931557
domContentLoaded13251171173911613931557
domInteractive79441391686116
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2616291282444
firstReactRender37295664048
getState1155281029
initialActions002111
loadScripts13021156172311413701538
setupStore12529429821
Benchmark value 16 exceeds gate value 15 for chrome browserify home mean getState
Benchmark value 23 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 2214 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 1712 exceeds gate value 1711 for chrome webpack home mean load
Benchmark value 1705 exceeds gate value 1704 for chrome webpack home mean domContentLoaded
Benchmark value 1700 exceeds gate value 1699 for chrome webpack home mean loadScripts
Sum of mean exceeds: 26ms | Sum of p95 exceeds: 5ms
Sum of all benchmark exceeds: 31ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -164 Bytes (0%)
  • ui: 4.31 KiB (0.06%)
  • common: 218 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [b1a3647]
UI Startup Metrics (1243 ± 71 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1243109514217112881377
load108495912657011261225
domContentLoaded107894912567011211219
domInteractive17133141726
firstPaint781149126141711011226
backgroundConnect84284815
firstReactRender21166672135
getState16680112033
initialActions001001
loadScripts833709101568871967
setupStore85172813
WebpackHomeuiStartup21701768261415922672398
load16901343227914217531859
domContentLoaded16841340227514217491855
domInteractive161256101449
firstPaint1636039563184314
backgroundConnect2710164183148
firstReactRender17854395110298364
getState1244371529
initialActions318146
loadScripts16791338227414317451854
setupStore217314342041
FirefoxBrowserifyHomeuiStartup13341171164411313801620
load11961042152411012481439
domContentLoaded11961042152411012481439
domInteractive1024029334111177
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect18136561924
firstReactRender23196772249
getState84627814
initialActions002001
loadScripts11791026151010912311419
setupStore64344614
WebpackHomeuiStartup16551459218114817461993
load14151251193314115171752
domContentLoaded14141250193314115171752
domInteractive81371381890117
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect25156372739
firstReactRender39305254249
getState1053151021
initialActions002111
loadScripts13931231191214214931738
setupStore105516925
cc: @HowardBraham
Benchmark value 1243 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 1085 exceeds gate value 1070 for chrome browserify home mean load
Benchmark value 1078 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 16 exceeds gate value 15 for chrome browserify home mean getState
Benchmark value 833 exceeds gate value 830 for chrome browserify home mean loadScripts
Benchmark value 1378 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 1225 exceeds gate value 1190 for chrome browserify home p95 load
Benchmark value 1219 exceeds gate value 1180 for chrome browserify home p95 domContentLoaded
Benchmark value 1227 exceeds gate value 1180 for chrome browserify home p95 firstPaint
Benchmark value 967 exceeds gate value 940 for chrome browserify home p95 loadScripts
Benchmark value 1656 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1415 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1415 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 40 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 1393 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 1993 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 1752 exceeds gate value 1660 for firefox webpack home p95 load
Benchmark value 1752 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded
Benchmark value 1738 exceeds gate value 1630 for firefox webpack home p95 loadScripts
Sum of mean exceeds: 191ms | Sum of p95 exceeds: 511ms
Sum of all benchmark exceeds: 702ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -210 Bytes (0%)
  • ui: 4.42 KiB (0.06%)
  • common: 218 Bytes (0%)

@jpuri jpuri requested a review from matthewwalsh0 May 9, 2025 12:55
@metamaskbot
Copy link
Collaborator

Builds ready [5cd15af]
UI Startup Metrics (1183 ± 60 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1183109013566012151297
load103794611565110701138
domContentLoaded103093511515210641132
domInteractive16133431624
firstPaint700130116841610531141
backgroundConnect84265724
firstReactRender18153231823
getState1455681927
initialActions001001
loadScripts79170291548823893
setupStore7417279
WebpackHomeuiStartup21651710250418122952433
load16781351201113717701866
domContentLoaded16711345200713617631859
domInteractive161158111347
firstPaint1726555372186323
backgroundConnect3410325423872
firstReactRender18255354110307349
getState1243771627
initialActions317135
loadScripts16661343198413617591840
setupStore196179182235
FirefoxBrowserifyHomeuiStartup13681166176311614241605
load12261042161411512891469
domContentLoaded12251041161411512891469
domInteractive1073536340116163
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2113132132032
firstReactRender23196872230
getState84385810
initialActions001001
loadScripts12071028159411312701451
setupStore64556611
WebpackHomeuiStartup16031417212114416501931
load13651224181512614201628
domContentLoaded13641224181512614201627
domInteractive79331421887114
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect25177192646
firstReactRender39305964253
getState1154071132
initialActions001011
loadScripts13421199178812514011598
setupStore12532231913
Benchmark value 25 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 39 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 53 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Sum of mean exceeds: 1ms | Sum of p95 exceeds: 10ms
Sum of all benchmark exceeds: 11ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -145 Bytes (0%)
  • ui: 4.49 KiB (0.06%)
  • common: 1016 Bytes (0.01%)

@jpuri jpuri requested a review from cryptotavares May 9, 2025 16:14
@metamaskbot
Copy link
Collaborator

Builds ready [b2fff02]
UI Startup Metrics (1174 ± 57 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1174105615015712041257
load102593213085010481105
domContentLoaded101992813025010431099
domInteractive16132531624
firstPaint67599131240910361083
backgroundConnect73253715
firstReactRender19155152033
getState1353071925
initialActions001001
loadScripts782701106450803869
setupStore74172810
WebpackHomeuiStartup21631715253415122732383
load16761314194810517491822
domContentLoaded16681311194110417421817
domInteractive161159101345
firstPaint1636536663186302
backgroundConnect299197233564
firstReactRender18254350105303342
getState164307301626
initialActions317135
loadScripts16641310191810417391816
setupStore196311302030
FirefoxBrowserifyHomeuiStartup13531156183512013981596
load12051028153910412711405
domContentLoaded12041028153810412711405
domInteractive1023628938112172
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect21136792242
firstReactRender24195882350
getState13425634824
initialActions001001
loadScripts11861011152310412551373
setupStore64223612
WebpackHomeuiStartup15601371213214216281838
load13341175180611913951560
domContentLoaded13331175180511913951559
domInteractive82442052287131
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect22157692244
firstReactRender35296153743
getState12433433922
initialActions002111
loadScripts13151157179011813721543
setupStore85354818
Benchmark value 13 exceeds gate value 11 for firefox browserify home mean getState
Sum of mean exceeds: 2ms | Sum of p95 exceeds: 0ms
Sum of all benchmark exceeds: 2ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -426 Bytes (-0.01%)
  • ui: -35 Bytes (0%)
  • common: -117 Bytes (0%)

matthewwalsh0
matthewwalsh0 previously approved these changes May 13, 2025
@jpuri jpuri enabled auto-merge May 13, 2025 12:51
@metamaskbot
Copy link
Collaborator

Builds ready [da803bb]
UI Startup Metrics (1192 ± 67 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1192110215466712161318
load103590213006410651142
domContentLoaded102889712916410581134
domInteractive16133031624
firstPaint72395117440010521112
backgroundConnect74314816
firstReactRender20145662032
getState1554581930
initialActions001001
loadScripts788662104962815882
setupStore85183816
WebpackHomeuiStartup21411714253016922762339
load16671255194914117631856
domContentLoaded16611248193414017551848
domInteractive161159101346
firstPaint184601729174192316
backgroundConnect279237253159
firstReactRender1425439794150339
getState134173171525
initialActions316134
loadScripts16571245191014017531846
setupStore236391481840
FirefoxBrowserifyHomeuiStartup14401231200914614941732
load12781085172412913511522
domContentLoaded12781084172412913501522
domInteractive1113729036127176
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect22157082338
firstReactRender26216782554
getState11520720925
initialActions001001
loadScripts12591069169912713281506
setupStore11429229737
WebpackHomeuiStartup15221349204912415661805
load12991170175010313401525
domContentLoaded12991169175010313401524
domInteractive77371361684114
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2514290272434
firstReactRender35285353847
getState1153381030
initialActions102111
loadScripts12791147172610213211501
setupStore85396823
Benchmark value 1440 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 1279 exceeds gate value 1245 for firefox browserify home mean load
Benchmark value 1279 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Benchmark value 112 exceeds gate value 110 for firefox browserify home mean domInteractive
Benchmark value 26 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 1260 exceeds gate value 1230 for firefox browserify home mean loadScripts
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1732 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 1522 exceeds gate value 1495 for firefox browserify home p95 load
Benchmark value 1522 exceeds gate value 1495 for firefox browserify home p95 domContentLoaded
Benchmark value 25 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 1506 exceeds gate value 1475 for firefox browserify home p95 loadScripts
Benchmark value 37 exceeds gate value 27 for firefox browserify home p95 setupStore
Sum of mean exceeds: 144ms | Sum of p95 exceeds: 168ms
Sum of all benchmark exceeds: 312ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -481 Bytes (-0.01%)
  • ui: 1.6 KiB (0.02%)
  • common: 62 Bytes (0%)

@jpuri jpuri dismissed stale reviews from matthewwalsh0 and pedronfigueiredo via 69837ca May 13, 2025 13:29
@metamaskbot
Copy link
Collaborator

Builds ready [69837ca]
UI Startup Metrics (1211 ± 59 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1211109713695912481321
load106095712035410871162
domContentLoaded105395211975510821155
domInteractive17134641625
firstPaint714137116842310681149
backgroundConnect84295823
firstReactRender21154972140
getState1354081830
initialActions001001
loadScripts81072296154845905
setupStore75203814
WebpackHomeuiStartup22181707254919123512475
load17321334219716818311943
domContentLoaded17251331219216818271932
domInteractive16126091442
firstPaint1746633564203320
backgroundConnect339234283682
firstReactRender18056406110295353
getState1444081833
initialActions317146
loadScripts17181329219116318251921
setupStore257326402443
FirefoxBrowserifyHomeuiStartup13381156184412513791565
load12021032169712512471440
domContentLoaded12011032169712512471440
domInteractive1074037953112191
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2113215201932
firstReactRender23195882250
getState74353810
initialActions002001
loadScripts11831018167112012301414
setupStore6435467
WebpackHomeuiStartup15521388201712616001855
load13271188177211613841573
domContentLoaded13261188177211613841573
domInteractive78362362481110
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect2615302292443
firstReactRender36295653946
getState1056871018
initialActions002111
loadScripts13041169175311113601535
setupStore11527627826
Benchmark value 23 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 2219 exceeds gate value 2192 for chrome webpack home mean uiStartup
Benchmark value 1733 exceeds gate value 1711 for chrome webpack home mean load
Benchmark value 1726 exceeds gate value 1704 for chrome webpack home mean domContentLoaded
Benchmark value 1718 exceeds gate value 1699 for chrome webpack home mean loadScripts
Benchmark value 2475 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 27 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Sum of mean exceeds: 91ms | Sum of p95 exceeds: 26ms
Sum of all benchmark exceeds: 117ms

Bundle size diffs [🚀 Bundle size reduced!]
  • background: -481 Bytes (-0.01%)
  • ui: 1.6 KiB (0.02%)
  • common: 62 Bytes (0%)

@jpuri jpuri added this pull request to the merge queue May 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2025
@DDDDDanica DDDDDanica added this pull request to the merge queue May 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2025
@Gudahtt Gudahtt merged commit 3762a22 into main May 13, 2025
273 of 276 checks passed
@Gudahtt Gudahtt deleted the remove_disable_upgrade_preference branch May 13, 2025 16:33
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2025
@Gudahtt
Copy link
Member

Gudahtt commented May 13, 2025

Force-merged to get past flaky test failures in the queue, to unblock release preparation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants