Skip to content
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

Version v12.11.0 RC #29766

Merged
merged 212 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
b9c5763
test: [POM] Privacy Mode spec (#29263)
seaona Dec 17, 2024
0ef0d54
fix: increase gas limit validation threshold (#29264)
vinistevam Dec 17, 2024
a31d808
test: [POM] Migrate Send tx Revoke Permissions spec (#29273)
seaona Dec 17, 2024
18bcad9
fix: Fix low gas display label in speed-up modal (#29277)
jpuri Dec 17, 2024
8ca78e7
fix(27140): fix styles for Slippage Tolerance Button Group in Transac…
DDDDDanica Dec 17, 2024
fe80943
fix: add focus state to swaps input for improved accessibility (#29252)
georgewrmarshall Dec 17, 2024
6fe17a0
chore: quote timeout treatment for bridging (#29172)
micaelae Dec 17, 2024
460536a
test: [POM] Create base classes and methods for bitcoin e2e tests (#2…
chloeYue Dec 17, 2024
da16971
refactor: move `getCurrentCurrency` from `ui/selectors/selectors.js` …
davidmurdoch Dec 17, 2024
ae1520d
fix: remove network picker from non evm accounts (#29247)
aganglada Dec 17, 2024
241c9d8
fix: sentry e2e test for bridge tokens loading status (#29285)
micaelae Dec 17, 2024
80ec747
fix: updated message string in onboarding screen (#29286)
NidhiKJha Dec 17, 2024
9020abf
fix(26772): improve helptext for sending NFTs (#29296)
DDDDDanica Dec 18, 2024
d630827
feat: add eth native icon for zora network (#29257)
bergeron Dec 18, 2024
26f7c5a
fix: 'Metamask' casing on token details page (#29250)
bergeron Dec 18, 2024
b018c81
fix: Fix icon alignment in signature pages message section (#29284)
jpuri Dec 18, 2024
c4429bc
refactor: use new `@metamask/keyring-api` layout (split packages) (#2…
ccharly Dec 18, 2024
5aa2962
chore: Update lavamoat to a version with more diff-friendly policy or…
naugtur Dec 18, 2024
e87c714
fix: Remove use of boolean value for metrics properties (#29315)
jpuri Dec 18, 2024
d5335c6
fix: Remove details option if permission has no description (#29313)
FrederikBolding Dec 18, 2024
86bd5dc
fix: close network/accounts toasts when opening the Edit page (#29239)
jonybur Dec 18, 2024
fd9eb48
feat: center backup toast (#29200)
jonybur Dec 18, 2024
804a56f
feat: event when token list is refreshed (#29300)
bergeron Dec 18, 2024
acdaefe
chore: remove `NewNetworkInfo` (#29293)
bergeron Dec 18, 2024
41b46a0
test: [POM] Migrate portfolio e2e tests and permission requests tests…
chloeYue Dec 18, 2024
22bcc76
chore: fix security settings layout (#29258)
georgewrmarshall Dec 18, 2024
bdd9243
fix: Token details should not display zero balance for tokens without…
gambinish Dec 18, 2024
19f4861
refactor: remove duplication of selectors in `selectors/confirm-trans…
davidmurdoch Dec 18, 2024
2258c15
test: [POM] Migrate add-multiple-tokens test (#29288)
cmd-ob Dec 18, 2024
f8a1d4f
fix: block tracker stops polling when switching away from the network…
mikesposito Dec 18, 2024
ab8ecae
Merge origin/main into master-sync
danjm Dec 18, 2024
e7f9941
Merge pull request #29328 from MetaMask/master-sync
danjm Dec 18, 2024
f054257
chore: updating menu item to use text component (#29304)
georgewrmarshall Dec 18, 2024
c8a3c58
fix: MMASSETS-475 - Add network name to asset details page (#29211)
darkwing Dec 18, 2024
fd3366c
fix: handle notification api calls settings (#29327)
Prithpal-Sooriya Dec 19, 2024
dd65944
feat: added create solana account test (#28866)
javiergarciavera Dec 19, 2024
749d0ac
fix: Spending cap flicker as decimals are determined (#29206)
pedronfigueiredo Dec 19, 2024
a1b41c4
fix: personal sign message - decode message to UTF-8 string only if i…
jpuri Dec 19, 2024
3b7c9cb
fix: Ellipsis displayed for petname even though the full name is visi…
pedronfigueiredo Dec 19, 2024
5855938
chore: bump `@metamask/user-operation-controller` to `^21.0.0` (#29089)
cryptodev-2s Dec 19, 2024
d06dad7
feat: add metametrics events to carousel (#29141)
jonybur Dec 19, 2024
e8d6765
fix: updated margin for import token banner (#29283)
NidhiKJha Dec 19, 2024
398ec97
ci: Improve accuracy of `wait-for-circleci-workflow-status` (#29310)
Gudahtt Dec 19, 2024
cf6a43d
chore: bump `@metamask/smart-transactions-controller` to `16.0.0` (#2…
cryptodev-2s Dec 19, 2024
927ef8c
feat: bump solana snap (#29350)
aganglada Dec 19, 2024
13a1fcf
feat: Display Unlimited for really large spending caps on Permit (#29…
pedronfigueiredo Dec 19, 2024
22490c3
fix: Wrong icon for ETH on L2s being displayed on transfer confirmati…
pedronfigueiredo Dec 19, 2024
09d4136
fix: Add origin pill to wallet_addEthereumChain confirmation (#29317)
pedronfigueiredo Dec 19, 2024
b030ba9
fix: Prevent unwanted `updateEditableParams` calls on send flow (#29048)
OGPoyraz Dec 19, 2024
b114f88
refactor: shared bridge types (#29254)
micaelae Dec 19, 2024
cd39d7b
chore: low return warning alert for bridging (#29171)
micaelae Dec 19, 2024
891c956
chore: Remove unused loadingTokens localized string (#29329)
gambinish Dec 19, 2024
021a265
fix: erc20 token balances showing 0 (#29361)
bergeron Dec 19, 2024
c4dce82
chore: remove duplicated tests for metrics for redesigned signatures …
pnarayanaswamy Dec 20, 2024
fd3c51c
fix: Sanitize `signTypedDatav3v4` params before calling security API …
OGPoyraz Dec 20, 2024
d4c5a73
fix: Network URL toPunycodeUrl preserve no path slash (#29325)
digiwand Dec 20, 2024
367769b
test: [POM] Dapp subscribe network switch spec migration (#29346)
seaona Dec 20, 2024
fd6e755
fix: Use `toUnicode` function to normalize ens domains in the UI (#29…
OGPoyraz Dec 20, 2024
a33f526
fix: UI is not displaying gas limit set by dapp (#29352)
jpuri Dec 20, 2024
356ad47
test: [POM] Migrate watch account tests (#29314)
chloeYue Dec 20, 2024
7be1b0d
test: remove duplicate signature tests (#29377)
pnarayanaswamy Dec 20, 2024
8a6f4f9
fix: fixed truncation issue for long help text (#29269)
NidhiKJha Dec 20, 2024
3fd27a9
fix: `gasFeeEstimates` property undefined (#29312)
vinistevam Dec 20, 2024
02230c7
fix: remove Text in the Activity Empty State (#29318)
salimtb Dec 20, 2024
2eced17
fix: Adding validation for primary type of types sign signatures (#29…
jpuri Dec 20, 2024
1c6391c
fix: remove reliance on transaction decode in confirmations (#29341)
matthewwalsh0 Dec 20, 2024
fde9fa1
fix: navigation between watch asset approvals (#29279)
matthewwalsh0 Dec 20, 2024
29cbe95
fix(29226): fix error for undefined unitInput for sending NFT (#29386)
DDDDDanica Dec 20, 2024
863d77c
fix: Use margin instead of padding for the Snaps UI Container (#29385)
FrederikBolding Dec 20, 2024
4e255c1
chore: Bump Snaps packages (#29275)
FrederikBolding Dec 20, 2024
36f084c
fix(28081): design tweak for network badge (#29324)
DDDDDanica Dec 20, 2024
d510d5c
feat(14507): improve error message for failed txn in activity details…
DDDDDanica Dec 20, 2024
695d0db
fix: Add main frame URL property to req object whenever req is trigge…
AugmentedMode Dec 20, 2024
547b264
chore: Update to the latest transaction controller (#29395)
pedronfigueiredo Dec 20, 2024
a02799d
ci: Migrate dependency linting (#29370)
Gudahtt Dec 20, 2024
6f11eda
ci: Migrate lint CI steps (#29371)
Gudahtt Dec 20, 2024
ce8b502
ci: Migrate LavaMoat validation to GitHub Actions (#29369)
Gudahtt Dec 20, 2024
f64a2d0
fix: hide first interaction alert if token transfer recipient is inte…
matthewwalsh0 Dec 20, 2024
57d564d
chore: Remove broken MV3 perf stats (#29408)
Gudahtt Dec 20, 2024
c91b4ee
fix: Use `break-word` for Snaps UI text wrapping (#29387)
FrederikBolding Dec 21, 2024
768716d
test: fix flaky native send and transaction decoding test (#29362)
pnarayanaswamy Dec 23, 2024
1fbb63c
fix: Correct theme value for Snap UI footer buttons (#29434)
FrederikBolding Jan 6, 2025
c7d14a0
chore: replace local `isSnapId` definition with `isSnapId` from `@met…
hmalik88 Jan 6, 2025
4ee7e3f
feat: add some authentication state to sentry logs (#29432)
Prithpal-Sooriya Jan 6, 2025
634b672
chore: Remove broken coverage report link (#29410)
Gudahtt Jan 6, 2025
47fdbe4
chore: Fix flaky snap signature insights tests (#29437)
pnarayanaswamy Jan 7, 2025
3c220da
fix: Use correct prop for Snap UI Avatar size (#29466)
FrederikBolding Jan 7, 2025
41930af
feat: enable STX by default with migration and notification (#28854)
httpJunkie Jan 7, 2025
80e6e14
fix: Add missing allowed action to the `SmartTransactionsController` …
cryptodev-2s Jan 7, 2025
1ed30c5
ci: Fix `metamaskbot` comment test build links (#29403)
Gudahtt Jan 7, 2025
481505f
fix: xchain linea bugs (#29409)
infiniteflower Jan 7, 2025
d0775ad
fix: 'Incomplete Asset Displayed' called excessively via useTrackERC2…
digiwand Jan 7, 2025
9deeadd
fix: hide you received until bridge tx done (#29411)
infiniteflower Jan 7, 2025
d9129d1
fix: import all detected tokens automatically (#29357)
sahar-fehri Jan 7, 2025
dabf173
chore: remove second inner scroll bar from tx details (#29412)
infiniteflower Jan 7, 2025
8d9fa1a
fix: Fixes in NFT listing label and values (#29046)
jpuri Jan 8, 2025
40417b0
test: Swap tests addition (#29442)
davibroc Jan 8, 2025
e5ff471
feat: Adding more metrics parameters for signature decoding (#29197)
jpuri Jan 8, 2025
7fe00dc
test: [POM] Migrate token tests (#29375)
cmd-ob Jan 8, 2025
36c5fbf
fix: Bump Snap UI selector `min-height` (#29496)
FrederikBolding Jan 8, 2025
0861cb8
fix: add lnk network logo (#29493)
salimtb Jan 8, 2025
78c00b3
fix: add kaia network logo (#29494)
salimtb Jan 8, 2025
20b417c
fix: Bump smart-transactions-controller to ^16.0.1 (#29478)
dan437 Jan 8, 2025
ae565bc
chore: add the new policy.json review process documentation and confi…
naugtur Jan 8, 2025
ed0362c
fix(snaps): Ensure that adjacent form elements take up to 50% width (…
david0xd Jan 8, 2025
ec75a8b
test: fix flaky snap signature test (#29480)
pnarayanaswamy Jan 9, 2025
00a5db7
chore(deps): bump `@metamask/eth-trezor-keyring` to `^6.0.0` (#27689)
mikesposito Jan 9, 2025
93b1e13
chore: fix flaky e2e for nft token send (#29476)
pnarayanaswamy Jan 9, 2025
c16460e
test: [POM] Migrate connections e2e tests to TS and Page Object Model…
chloeYue Jan 9, 2025
3154019
fix(snaps): Scrollbar being partially hidden behind footer (#29435)
GuillaumeRx Jan 9, 2025
a36a42c
fix: show localized snap name in snap tag (#29049)
montelaidev Jan 9, 2025
6e05923
fix: Catch errors from the assets controller (#29439)
pedronfigueiredo Jan 9, 2025
4cbce35
chore: Remove toggle to turn on/off Per Dapp Selected Network Feature…
adonesky1 Jan 9, 2025
2d443ff
feat: Enable Ledger clear signing feature (#28909)
dawnseeker8 Jan 9, 2025
87c524e
ci: Migrate metamaskbot PR comment (#29373)
Gudahtt Jan 9, 2025
edaae77
fix: Fix bundle size tracking (#29486)
Gudahtt Jan 9, 2025
46bf1cf
test: Remove obsolete permitted chains feature flag tests (#29618)
jiexi Jan 9, 2025
64400d8
chore: bump `@metamask/profile-sync-controller` to `v3.2.0` (#29598)
mathieuartu Jan 10, 2025
5778b4a
feat: Display clickable cursor on hover on petname component (#29477)
pedronfigueiredo Jan 10, 2025
dd26784
feat: Nonce is always editable in advanced details view (#29627)
pedronfigueiredo Jan 10, 2025
3ff4aba
fix: Remove unwanted empty `div` from signature confirmations (#29622)
OGPoyraz Jan 10, 2025
1df79a9
chore: Remove obsolete keys (#29372)
Gudahtt Jan 10, 2025
f58258b
refactor: remove unused end param in ethereum-chain-util helpers (#29…
jiexi Jan 10, 2025
b2c5314
fix: metamaskbot comment nits (#29636)
itsyoboieltr Jan 10, 2025
b91a962
fix: change alert modal copy (#29475)
vinistevam Jan 13, 2025
a55c0ce
fix: crashing after bridge tx in Firefox (#29631)
infiniteflower Jan 13, 2025
9344d0a
fix: Fix LavaMoat build failures and restore RegExp OOM mitigation (#…
Gudahtt Jan 13, 2025
2b377b3
fix: Move foreground state properties from `metamask` slice to `appSt…
MajorLift Jan 13, 2025
38b7bc3
fix: duplicate content in multiple pending connect confirmations (#29…
matthewwalsh0 Jan 13, 2025
c517bf7
build: remove unused `info-fox.svg` (#29294)
davidmurdoch Jan 13, 2025
4822136
fix: use correct color for bitcoin logo and remove the svg's embedded…
davidmurdoch Jan 13, 2025
4397978
fix: center pixel art in `no-nfts.svg` and remove use of embedded png…
davidmurdoch Jan 13, 2025
9380040
feat: runway (#29632)
itsyoboieltr Jan 13, 2025
840f214
chore: clarifying comments for some github actions (#29642)
itsyoboieltr Jan 13, 2025
de10c46
feat: improve xchain swaps slippage settings with decimals and warnin…
ghgoodreau Jan 13, 2025
531643c
chore: xchain tx details use short names (#29413)
infiniteflower Jan 13, 2025
4e32d32
feat: persist bridge state through ToS click (#29366)
bfullam Jan 13, 2025
e356f86
refactor: NFT Grid View (#29445)
gambinish Jan 13, 2025
0f01f6f
fix: upgrade @metamask/eth-ledger-bridge-keyring library to latest (#…
dawnseeker8 Jan 14, 2025
c340f07
fix: oldestPendingApproval and transactionsMetadata PropTypes in the …
pedronfigueiredo Jan 14, 2025
08fb039
fix: Correct Snaps Home scroll behavior (#29660)
FrederikBolding Jan 14, 2025
500e4a8
fix: condition for signing in a user after onboarding (#29659)
mathieuartu Jan 14, 2025
bbe8143
feat: add sentry error logging to account syncing erroneous situation…
mathieuartu Jan 14, 2025
140b5d8
feat: add auto sign-in for existing users (#29654)
mathieuartu Jan 14, 2025
b52121e
chore: remove `@metamask/ethjs` package (#29620)
cryptodev-2s Jan 14, 2025
e8b52cd
fix: Fix `SignatureController` hub `cancelWithReason` event handler (…
OGPoyraz Jan 14, 2025
df4458a
feat: lint-workflows (#29643)
itsyoboieltr Jan 14, 2025
c5e39f4
test: add fixture permission controller test dapp two accounts (#29671)
jiexi Jan 14, 2025
810b165
test: Fix flask user-operations e2e test setup (#29675)
jiexi Jan 14, 2025
220435a
feat: run the "Main" workflow on release branches (#29704)
itsyoboieltr Jan 14, 2025
ac01337
test: Fixed Swap Playwright tests (#29710)
davibroc Jan 14, 2025
deb67c4
chore: Remove unused `nonce-tracker` patch (#29714)
Gudahtt Jan 15, 2025
31915a6
fix: focused search field forces scroll (#29676)
micaelae Jan 15, 2025
d8ce2c7
fix: account syncing was not working after upgrading from a previous …
mathieuartu Jan 15, 2025
953eab4
fix: add prefix to account sync error message (#29718)
mathieuartu Jan 15, 2025
0bcd385
feat: Capture block number within Transaction Finalized Anon events (…
pedronfigueiredo Jan 15, 2025
3944d7e
chore: remove `@metamask/eth-query` package (#29649)
cryptodev-2s Jan 15, 2025
7a78bf2
test: MMQA-188: remove mmi e2e tests from ci (#29233)
racitores Jan 15, 2025
5b5c04a
feat(3744): Implement feature Flag Values with Scope Based on thresho…
DDDDDanica Jan 15, 2025
e82092e
fix: update eth-ledger-keyring-bridge lib to fix web pack issue. (#29…
dawnseeker8 Jan 15, 2025
920373a
test: Fix Playwright Swap e2e failures (#29729)
davibroc Jan 15, 2025
77243cb
docs: fix developer docs link in README (#29734)
Montoya Jan 15, 2025
6b765ba
feat: Use a dynamic interval value for smart transaction status polli…
dan437 Jan 16, 2025
f6b163a
feat: Add new completion_time_onchain property to Transaction Finaliz…
pedronfigueiredo Jan 16, 2025
5786e7a
feat: check balance switching networks e2e tests (#29345)
javiergarciavera Jan 16, 2025
a0e2584
Merge origin/main into master-sync
dbrans Jan 16, 2025
66c994a
feat: Remove 'Improved transactions requests' toggle (#29695)
pedronfigueiredo Jan 16, 2025
77b7ba4
chore: Bump Snaps packages (#29693)
FrederikBolding Jan 16, 2025
c4f0cd6
Merge pull request #29614 from MetaMask/master-sync
danjm Jan 16, 2025
64aa03b
chore: de-deuplicates the erc20 revoke allowance tests (#29658)
pnarayanaswamy Jan 16, 2025
933bd1b
fix: add soneium logo (#29713)
salimtb Jan 16, 2025
e825061
fix: remove check for changeX token from test (#29752)
sahar-fehri Jan 16, 2025
fd6b180
test: fix flaky erc1155 set approval for all tests (#29467)
pnarayanaswamy Jan 16, 2025
08cc02f
feat: add Lisk network logos (#29762)
bergeron Jan 16, 2025
88c129d
Version v12.11.0
metamaskbot Jan 16, 2025
5eb2566
add fix for lint error on v12.11.0 (#29770)
benjisclowder Jan 17, 2025
a5f4c94
chore: cherry-pick skip failing tests from 16ac0894b3 (#29781)
benjisclowder Jan 17, 2025
d54e435
Update Attributions
metamaskbot Jan 17, 2025
d888fe5
chore: Bump `@metamask/snaps-rpc-methods` from `^11.9.0` to `^11.9.1`…
Mrtenz Jan 21, 2025
83a605e
Cherry-pick fix: not routing to home page after bridge tx submitted …
benjisclowder Jan 22, 2025
76ab360
fix: (cherry-pick 29832) routing to bridge from swaps after reopening…
micaelae Jan 22, 2025
e8b9a50
feat: upgrade ledger keyring to fix EIP-712 issues (#29874)
Akaryatrh Jan 23, 2025
03c215a
Update Attributions
metamaskbot Jan 24, 2025
cd944e5
feat: cherry-pick: Conditionally disable nonce editing when smart tra…
pedronfigueiredo Jan 24, 2025
b933d15
Merge remote-tracking branch 'origin/master' into cp-merge-master-v12…
dbrans Jan 27, 2025
1e317ff
fix changelog and package.json linting.
dbrans Jan 27, 2025
91396a2
really lint fix CHANGELOG
dbrans Jan 27, 2025
71c2a7d
Merge pull request #29928 from MetaMask/cp-merge-master-v12.11.0
danjm Jan 27, 2025
48ce45d
fix: reapply the fix for seeing you received when bridge tx not finis…
infiniteflower Jan 29, 2025
9862c9d
cherry-pick: fix: Update STX Banner Alert, include `chainSupportsSmar…
httpJunkie Jan 30, 2025
64b9ceb
chore: cherry pick `29960` (#29998)
OGPoyraz Jan 30, 2025
1aa9aa4
fix: cherry-pick: Bug in transaction flow component for 1155 token (#…
pedronfigueiredo Jan 30, 2025
a3075fc
Merge remote-tracking branch 'origin/master' into merge-master-to-v12…
dbrans Jan 30, 2025
e088201
fix changelog.md
dbrans Jan 30, 2025
97427a8
Merge pull request #30007 from MetaMask/merge-master-to-v12.11.0
danjm Jan 30, 2025
615f545
Version v12.11.0
metamaskbot Jan 30, 2025
539f6e0
fix: insufficient funds displays incorrect native token (#29828) (#30…
matteoscurati Jan 30, 2025
d7f31d9
cherry-pick 29968: fix: handle null STX status containing pre-enabled…
httpJunkie Jan 30, 2025
b94f481
cherry-pick of #29946 fix: add explicit data to paramsForGasEstimate …
bfullam Jan 30, 2025
0c48e70
cherry-pick(#30036): fix: Makes NFT list properly wrap within the sen…
dbrans Jan 31, 2025
24a8fae
chore: V12.11.0 changelog (#29879)
benjisclowder Feb 3, 2025
8d31127
cherry-pick(#30046): fix: corrupted tokens state (#30071)
salimtb Feb 3, 2025
5cc7618
fix: use same logic in details page to show IPFS images (#30091) (#30…
Prithpal-Sooriya Feb 4, 2025
be08300
test: pin Firefox version temporarily to 134 until artifacts `tar.bz2…
seaona Feb 5, 2025
2813933
cherry-pick(#30163): fix: fix noisy sentry logs (#30172)
salimtb Feb 6, 2025
59afa21
fix (cherry-pick): transaction resubmit on multiple endpoints (#30079…
matthewwalsh0 Feb 7, 2025
b720f7c
fix: cp-12.11.0 fix migration script 134.1 (#30194)
salimtb Feb 7, 2025
19a024c
Merge master into v12.11.0 (#30199)
danjm Feb 7, 2025
04a12d9
Revert "Merge master into v12.11.0 (#30199)"
danjm Feb 7, 2025
998d27d
Merge remote-tracking branch 'origin/master' into redo-master-merge-v…
danjm Feb 7, 2025
d754cd1
Redo the merge of master into v12.11.0, so that there is a proper mer…
danjm Feb 7, 2025
e3be0c0
Update Attributions
metamaskbot Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
226 changes: 16 additions & 210 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ executors:
resource_class: medium+
environment:
NODE_OPTIONS: --max_old_space_size=4096
shellcheck:
docker:
- image: koalaman/shellcheck-alpine@sha256:dfaf08fab58c158549d3be64fb101c626abc5f16f341b569092577ae207db199
resource_class: small
playwright:
docker:
- image: mcr.microsoft.com/playwright:v1.44.1-focal
Expand Down Expand Up @@ -114,27 +110,6 @@ workflows:
- master
requires:
- prep-deps
- test-deps-audit:
requires:
- prep-deps
- test-deps-depcheck:
requires:
- prep-deps
- test-yarn-dedupe:
requires:
- prep-deps
- validate-lavamoat-allow-scripts:
requires:
- prep-deps
- validate-lavamoat-policy-build:
requires:
- prep-deps
- validate-lavamoat-policy-webapp:
matrix:
parameters:
build-type: [main, beta, flask, mmi]
requires:
- prep-deps
- prep-build:
requires:
- prep-deps
Expand All @@ -160,7 +135,6 @@ workflows:
requires:
- prep-deps
- prep-build-test-flask-mv2:
<<: *main_master_rc_only
requires:
- prep-deps
- prep-build-storybook:
Expand All @@ -169,16 +143,6 @@ workflows:
- prep-build-ts-migration-dashboard:
requires:
- prep-deps
- test-lint:
requires:
- prep-deps
- test-lint-shellcheck
- test-lint-lockfile:
requires:
- prep-deps
- test-lint-changelog:
requires:
- prep-deps
- test-e2e-chrome-webpack:
<<: *main_master_rc_only
requires:
Expand Down Expand Up @@ -253,14 +217,6 @@ workflows:
- prep-build-flask-mv2
- all-tests-pass:
requires:
- test-deps-depcheck
- validate-lavamoat-allow-scripts
- validate-lavamoat-policy-build
- validate-lavamoat-policy-webapp
- test-lint
- test-lint-shellcheck
- test-lint-lockfile
- test-lint-changelog
- validate-source-maps
- validate-source-maps-beta
- validate-source-maps-flask
Expand All @@ -280,22 +236,26 @@ workflows:
- user-actions-benchmark:
requires:
- prep-build-test
- stats-module-load-init:
- bundle-size:
requires:
- prep-build-test
- job-publish-prerelease:
requires:
- prep-deps
- prep-build
- prep-build-mv2
- trigger-beta-build
- prep-build-flask
- prep-build-flask-mv2
- prep-build-test
- prep-build-test-mv2
- prep-build-test-flask
- prep-build-test-flask-mv2
- trigger-beta-build
- prep-build-storybook
- prep-build-ts-migration-dashboard
- benchmark
- user-actions-benchmark
- stats-module-load-init
- bundle-size
- all-tests-pass
- job-publish-release:
filters:
Expand Down Expand Up @@ -466,51 +426,6 @@ jobs:
at: .
- run: yarn tsx .circleci/scripts/validate-locales-only.ts

validate-lavamoat-allow-scripts:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Validate allow-scripts config
command: yarn allow-scripts auto
- run:
name: Check working tree
command: .circleci/scripts/check-working-tree.sh

validate-lavamoat-policy-build:
executor: node-browsers-medium
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Validate LavaMoat build policy
command: yarn lavamoat:build:auto
- run:
name: Check working tree
command: .circleci/scripts/check-working-tree.sh

validate-lavamoat-policy-webapp:
executor: node-browsers-medium-plus
parameters:
build-type:
type: string
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Validate LavaMoat << parameters.build-type >> policy
command: yarn lavamoat:webapp:auto:ci '--build-types=<< parameters.build-type >>'
- run:
name: Check working tree
command: .circleci/scripts/check-working-tree.sh

prep-build:
executor: node-linux-medium
steps:
Expand Down Expand Up @@ -706,10 +621,10 @@ jobs:
name: Build extension for testing
command: yarn build:test:flask:mv2
- run:
name: Move test build to 'dist-test-flask' to avoid conflict with production build
name: Move test build to 'dist-test-flask-mv2' to avoid conflict with production build
command: mv ./dist ./dist-test-flask-mv2
- run:
name: Move test zips to 'builds-test-flask' to avoid conflict with production build
name: Move test zips to 'builds-test-flask-mv2' to avoid conflict with production build
command: mv ./builds ./builds-test-flask-mv2
- persist_to_workspace:
root: .
Expand Down Expand Up @@ -826,31 +741,6 @@ jobs:
name: Rerun workflows from failed
command: yarn ci-rerun-from-failed

test-yarn-dedupe:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Detect yarn lock deduplications
command: yarn dedupe --check

test-lint:
executor: node-browsers-medium
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Lint
command: yarn lint
- run:
name: Verify locales
command: yarn verify-locales --quiet

test-storybook:
executor: node-browsers-medium-plus
steps:
Expand All @@ -865,78 +755,6 @@ jobs:
name: Test Storybook
command: yarn test-storybook:ci

test-lint-shellcheck:
executor: shellcheck
steps:
- checkout
- run: apk add --no-cache bash jq yarn
- run:
name: ShellCheck Lint
command: ./development/shellcheck.sh

test-lint-lockfile:
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: lockfile-lint
command: yarn lint:lockfile
- run:
name: check yarn resolutions
command: yarn --check-resolutions

test-lint-changelog:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- when:
condition:
not:
matches:
pattern: /^Version-v(\d+)[.](\d+)[.](\d+)$/
value: << pipeline.git.branch >>
steps:
- run:
name: Validate changelog
command: yarn lint:changelog
- when:
condition:
matches:
pattern: /^Version-v(\d+)[.](\d+)[.](\d+)$/
value: << pipeline.git.branch >>
steps:
- run:
name: Validate release candidate changelog
command: .circleci/scripts/validate-changelog-in-rc.sh

test-deps-audit:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: yarn audit
command: yarn audit

test-deps-depcheck:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: depcheck
command: yarn depcheck

test-e2e-chrome-webpack:
executor: node-browsers-medium-plus
parallelism: 20
Expand Down Expand Up @@ -1228,7 +1046,7 @@ jobs:
paths:
- test-artifacts

stats-module-load-init:
bundle-size:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
Expand All @@ -1242,16 +1060,8 @@ jobs:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: Run page load benchmark
command: |
mkdir -p test-artifacts/chrome/
cp -R development/charts/flamegraph test-artifacts/chrome/initialisation
cp -R development/charts/flamegraph/chart test-artifacts/chrome/initialisation/background
cp -R development/charts/flamegraph/chart test-artifacts/chrome/initialisation/ui
cp -R development/charts/table test-artifacts/chrome/load_time
- run:
name: Run page load benchmark
command: yarn mv3:stats:chrome --out test-artifacts/chrome
name: Measure bundle size
command: yarn bundle-size --out test-artifacts/chrome
- run:
name: Install jq
command: sudo apt install jq -y
Expand Down Expand Up @@ -1303,8 +1113,12 @@ jobs:
destination: builds-mv2
- store_artifacts:
path: builds-test
- store_artifacts:
path: builds-test-mv2
- store_artifacts:
path: builds-test-flask
- store_artifacts:
path: builds-test-flask-mv2
- store_artifacts:
path: test-artifacts
destination: test-artifacts
Expand All @@ -1321,14 +1135,6 @@ jobs:
- store_artifacts:
path: development/ts-migration-dashboard/build/final
destination: ts-migration-dashboard
- run:
name: Set branch parent commit env var
command: |
echo "export PARENT_COMMIT=$(git merge-base origin/HEAD HEAD)" >> $BASH_ENV
source $BASH_ENV
- run:
name: build:announce
command: ./development/metamaskbot-build-announce.js

job-publish-release:
executor: node-browsers-small
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# audit these changes on their own, and leave their analysis in a comment.
# These codeowners will review this analysis, and review the policy changes in
# further detail if warranted.
lavamoat/ @MetaMask/extension-devs @MetaMask/supply-chain
lavamoat/ @MetaMask/extension-devs @MetaMask/policy-reviewers @MetaMask/supply-chain

# The offscreen.ts script file that is included in the offscreen document html
# file is responsible, at present, for loading the snaps execution environment
Expand Down
Loading
Loading