Skip to content

Commit 593c5dd

Browse files
committed
fix merge conflicts
2 parents 879d2b4 + e02a7d3 commit 593c5dd

File tree

825 files changed

+36522
-15026
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

825 files changed

+36522
-15026
lines changed

.eslintrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,11 +533,7 @@ module.exports = {
533533
* `process.exit` to exit).
534534
*/
535535
{
536-
files: [
537-
'development/**/*.js',
538-
'test/e2e/benchmark.js',
539-
'test/helpers/setup-helper.js',
540-
],
536+
files: ['development/**/*.js', 'test/helpers/setup-helper.js'],
541537
rules: {
542538
'node/no-process-exit': 'off',
543539
'node/shebang': 'off',

.github/CODEOWNERS

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,14 @@ app/scripts/constants/snaps.ts @MetaMask/core-platform
9797
ui/components/app/metamask-template-renderer @MetaMask/confirmations @MetaMask/core-platform
9898

9999
# Core Extension UX
100-
ui/components/app/whats-new-popup @MetaMask/core-extension-ux
101-
ui/css @MetaMask/core-extension-ux
102-
ui/pages/home @MetaMask/core-extension-ux
103-
ui/pages/core @MetaMask/core-extension-ux
104-
ui/components/multichain/ @MetaMask/core-extension-ux
100+
ui/components/app/whats-new-popup @MetaMask/core-extension-ux
101+
ui/css @MetaMask/core-extension-ux
102+
ui/pages/home @MetaMask/core-extension-ux
103+
ui/pages/core @MetaMask/core-extension-ux
104+
ui/components/multichain/ @MetaMask/core-extension-ux
105+
ui/components/app/transaction-list @MetaMask/core-extension-ux
106+
ui/components/app/transaction-list-item-details @MetaMask/core-extension-ux
107+
ui/components/app/transaction-list-item @MetaMask/core-extension-ux
105108

106109
# Co-owned by accounts and core-extension-ux
107110
ui/components/multichain/multi-srp/ @MetaMask/accounts-engineers @MetaMask/core-extension-ux

.github/scripts/bundle.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# * The environment variables used by the `run-build` step in `.github/workflows/run-build.yml`.
55
# * The environment variables used by the `publish-release` step in `.github/workflows/publish-release.yml`.
66
export APPLE_BETA_CLIENT_ID=""
7+
export APPLE_EXPERIMENTAL_CLIENT_ID=""
78
export APPLE_FLASK_CLIENT_ID=""
89
export APPLE_PROD_CLIENT_ID=""
910
export CONTENTFUL_ACCESS_SPACE_ID=""
@@ -17,9 +18,11 @@ export FIREBASE_MESSAGING_SENDER_ID=""
1718
export FIREBASE_PROJECT_ID=""
1819
export FIREBASE_STORAGE_BUCKET=""
1920
export GOOGLE_BETA_CLIENT_ID=""
21+
export GOOGLE_EXPERIMENTAL_CLIENT_ID=""
2022
export GOOGLE_FLASK_CLIENT_ID=""
2123
export GOOGLE_PROD_CLIENT_ID=""
2224
export INFURA_BETA_PROJECT_ID=""
25+
export INFURA_EXPERIMENTAL_PROJECT_ID=""
2326
export INFURA_FLASK_PROJECT_ID=""
2427
export INFURA_PROD_PROJECT_ID=""
2528
export QUICKNODE_ARBITRUM_URL=""
@@ -30,6 +33,7 @@ export QUICKNODE_MAINNET_URL=""
3033
export QUICKNODE_OPTIMISM_URL=""
3134
export QUICKNODE_POLYGON_URL=""
3235
export SEGMENT_BETA_WRITE_KEY=""
36+
export SEGMENT_EXPERIMENTAL_WRITE_KEY=""
3337
export SEGMENT_FLASK_WRITE_KEY=""
3438
export SEGMENT_PROD_WRITE_KEY=""
3539
export ANALYTICS_DATA_DELETION_SOURCE_ID=""

.github/scripts/close-release-bug-report-issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function main(): Promise<void> {
3333

3434
// Extract semver version number from the branch name
3535
const releaseVersionNumberMatch = branchName.match(
36-
/^(?:Version-v|release\/)(\d+\.\d+\.\d+)$/,
36+
/^release\/(\d+\.\d+\.\d+)$/,
3737
);
3838

3939
if (!releaseVersionNumberMatch) {

.github/scripts/extract-semver.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ set -euo pipefail
44

55
ref_name="${GITHUB_REF#refs/heads/}"
66

7-
# Extract semver based on prefix
8-
if [[ "$ref_name" == Version-v* ]]; then
9-
semver="${ref_name#Version-v}"
10-
elif [[ "$ref_name" == release/* ]]; then
7+
# Extract semver
8+
if [[ "$ref_name" == release/* ]]; then
119
semver="${ref_name#release/}"
1210
else
13-
echo "Error: Branch name must be Version-vX.Y.Z or release/X.Y.Z where X, Y, Z are numbers. Got: $ref_name" >&2
11+
echo "Error: Branch name must be release/X.Y.Z where X, Y, Z are numbers. Got: $ref_name" >&2
1412
exit 1
1513
fi
1614

.github/scripts/get-next-semver-version.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ then
99
exit 0
1010
fi
1111

12-
# Pattern for Version-vX.Y.Z branches
13-
VERSION_BRANCHES_VERSION_V=$(git branch -r | grep -o 'Version-v[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
14-
# Default pattern for release/x.y.z branches
15-
VERSION_BRANCHES_RELEASE=$(git branch -r | grep -o 'release/[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
12+
# Get the highest version from release branches
13+
VERSION_BRANCHES=$(git branch -r | grep -o 'release/[0-9]*\.[0-9]*\.[0-9]*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sort --version-sort | tail -n 1)
1614

1715
# Compare versions and keep the highest one
18-
HIGHEST_VERSION=$(printf "%s\n%s" "$VERSION_BRANCHES_VERSION_V" "$VERSION_BRANCHES_RELEASE" | sort --version-sort | tail -n 1)
19-
echo "HIGHEST_VERSION=${HIGHEST_VERSION}, VERSION_BRANCHES_VERSION_V=${VERSION_BRANCHES_VERSION_V}, VERSION_BRANCHES_RELEASE=${VERSION_BRANCHES_RELEASE}"
16+
HIGHEST_VERSION=$(printf "%s" "$VERSION_BRANCHES" | sort --version-sort | tail -n 1)
2017

2118
# Increment the minor version of the highest version found and reset the patch version to 0
2219
NEXT_VERSION=$(echo "$HIGHEST_VERSION" | awk -F. -v OFS=. '{$2++; $3=0; print}')

.github/scripts/post-nightly-builds.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ async function main() {
1212
SLACK_NIGHTLY_BUILDS_WEBHOOK_URL:
1313
process.env.SLACK_NIGHTLY_BUILDS_WEBHOOK_URL || '',
1414
BUILD_STATUS: process.env.BUILD_STATUS || 'unknown',
15+
BUILD_VERSION: process.env.BUILD_VERSION || '0',
1516
};
1617

1718
if (!env.RUN_ID) throw new Error('RUN_ID not found');
@@ -41,7 +42,9 @@ async function main() {
4142
// Handle unknown or invalid status
4243
console.log(`❓ Unknown build status: ${env.BUILD_STATUS}`);
4344
console.log('⚠️ Skipping Slack notification due to unknown status');
44-
throw new Error(`Invalid BUILD_STATUS: ${env.BUILD_STATUS}. Expected 'success' or 'failure'.`);
45+
throw new Error(
46+
`Invalid BUILD_STATUS: ${env.BUILD_STATUS}. Expected 'success' or 'failure'.`,
47+
);
4548
}
4649

4750
async function postFailureNotification(env: any, version: string) {
@@ -182,14 +185,16 @@ async function postFailureNotification(env: any, version: string) {
182185
}
183186

184187
async function postSuccessNotification(env: any, version: string) {
188+
const experimentalVersion = `${version}-experimental.${env.BUILD_VERSION}`;
189+
185190
const buildMap = {
186191
builds: {
187192
chrome: `${env.HOST_URL}/build-dist-browserify/builds/metamask-chrome-${version}.zip`,
188193
firefox: `${env.HOST_URL}/build-dist-mv2-browserify/builds/metamask-firefox-${version}.zip`,
189194
},
190195
'builds (experimental)': {
191-
chrome: `${env.HOST_URL}/build-experimental-browserify/builds/metamask-experimental-chrome-${version}.zip`,
192-
firefox: `${env.HOST_URL}/build-experimental-mv2-browserify/builds/metamask-experimental-firefox-${version}.zip`,
196+
chrome: `${env.HOST_URL}/build-experimental-browserify/builds/metamask-experimental-chrome-${experimentalVersion}.zip`,
197+
firefox: `${env.HOST_URL}/build-experimental-mv2-browserify/builds/metamask-experimental-firefox-${experimentalVersion}.zip`,
193198
},
194199
};
195200

.github/workflows/auto-create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
extract:
8-
if: ${{ github.ref_type == 'branch' && (startsWith(github.ref, 'refs/heads/Version-v') || startsWith(github.ref, 'refs/heads/release/')) }}
8+
if: ${{ github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/release/') }}
99
runs-on: ubuntu-latest
1010
timeout-minutes: 30
1111
outputs:

.github/workflows/auto-update-pr-targeting-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Auto-update for PR targeting release branch
33
on:
44
pull_request:
55
branches:
6-
- Version-v*
76
- release/*
87

98
jobs:

.github/workflows/check-attributions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Check Attributions
33
on:
44
push:
55
branches:
6-
- Version-v*
76
- release/*
87

98
jobs:

0 commit comments

Comments
 (0)