Skip to content

Commit 3438170

Browse files
authored
Merge branch 'main' into v8
2 parents 5bfe51c + 8415e4d commit 3438170

File tree

6 files changed

+56
-34
lines changed

6 files changed

+56
-34
lines changed

.github/workflows/e2e-v2.yml

Lines changed: 43 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,18 @@ jobs:
4141
strategy:
4242
# we want that the matrix keeps running, default is to cancel them if it fails.
4343
fail-fast: false
44+
# Limit parallel jobs to avoid hitting Sauce Labs concurrency limits (max 3 sessions)
45+
max-parallel: 2
4446
matrix:
4547
rn-architecture: ['legacy', 'new']
4648
platform: ["ios", "android"]
4749
include:
4850
- platform: ios
49-
runs-on: macos-26
51+
runs-on: ["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:12"]
5052
name: iOS
5153
appPlain: performance-tests/test-app-plain.ipa
5254
- platform: android
53-
# Not using the latest version due to a known issue: https://github.com/getsentry/sentry-react-native/issues/4418
54-
runs-on: ubuntu-22.04
55+
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04", "runner_group_id:12"]
5556
name: Android
5657
appPlain: performance-tests/TestAppPlain/android/app/build/outputs/apk/release/app-release.apk
5758
steps:
@@ -60,17 +61,18 @@ jobs:
6061
- uses: ./.github/actions/disk-cleanup
6162
if: ${{ matrix.platform == 'android' }}
6263

63-
- run: sudo xcode-select -s /Applications/Xcode_26.1.1.app/Contents/Developer
64-
if: ${{ matrix.platform == 'ios' }}
65-
66-
- run: npm i -g corepack
64+
- run: corepack enable
6765
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
6866
with:
6967
package-manager-cache: false
7068
node-version: 20
7169
cache: 'yarn'
7270
cache-dependency-path: yarn.lock
7371

72+
- name: Install Ninja
73+
if: ${{ matrix.platform == 'android' }}
74+
run: sudo apt-get update && sudo apt-get install -y ninja-build
75+
7476
- uses: actions/setup-java@v5
7577
with:
7678
java-version: '17'
@@ -79,6 +81,11 @@ jobs:
7981
- name: Gradle cache
8082
uses: gradle/gradle-build-action@v3
8183

84+
- uses: ruby/setup-ruby@v1
85+
if: ${{ matrix.platform == 'ios' }}
86+
with:
87+
ruby-version: '3.3.0'
88+
8289
- name: Install Global Dependencies
8390
run: npm i -g react-native-cli @sentry/cli
8491

@@ -114,9 +121,11 @@ jobs:
114121
if [[ ${{ matrix.rn-architecture }} == 'new' ]]; then
115122
export RCT_NEW_ARCH_ENABLED=1
116123
fi
117-
pod install
124+
bundle install
125+
bundle exec pod install
118126
cd ../..
119-
fastlane build_perf_test_app_plain
127+
bundle install
128+
bundle exec fastlane build_perf_test_app_plain
120129
fi
121130
env:
122131
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
@@ -142,9 +151,11 @@ jobs:
142151
if [[ ${{ matrix.rn-architecture }} == 'new' ]]; then
143152
export RCT_NEW_ARCH_ENABLED=1
144153
fi
145-
pod install
154+
bundle install
155+
bundle exec pod install
146156
cd ../..
147-
fastlane build_perf_test_app_sentry
157+
bundle install
158+
bundle exec fastlane build_perf_test_app_sentry
148159
cd TestAppSentry
149160
fi
150161
env:
@@ -188,15 +199,13 @@ jobs:
188199
# Use Xcode 16 for older RN versions
189200
- platform: ios
190201
rn-version: '0.71.19'
191-
xcode-version: '16.4'
192-
runs-on: macos-15
202+
runs-on: ["ghcr.io/cirruslabs/macos-sequoia-xcode:16.4", "runner_group_id:12"]
193203
# Use Xcode 26 for newer RN versions (0.83.0)
194204
- platform: ios
195205
rn-version: '0.83.0'
196-
xcode-version: '26.1.1'
197-
runs-on: macos-26
206+
runs-on: ["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:12"]
198207
- platform: android
199-
runs-on: ubuntu-latest
208+
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04", "runner_group_id:12"]
200209
exclude:
201210
# exclude JSC for new RN versions (keeping the matrix manageable)
202211
- rn-version: '0.83.0'
@@ -246,17 +255,18 @@ jobs:
246255
echo "SENTRY_RELEASE=$SENTRY_RELEASE"
247256
echo "SENTRY_DIST=$SENTRY_DIST"
248257
249-
- run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer
250-
if: ${{ matrix.platform == 'ios' }}
251-
252-
- run: npm i -g corepack
258+
- run: corepack enable
253259
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
254260
with:
255261
package-manager-cache: false
256262
node-version: 20
257263
cache: 'yarn'
258264
cache-dependency-path: yarn.lock
259265

266+
- name: Install Ninja
267+
if: ${{ matrix.platform == 'android' }}
268+
run: sudo apt-get update && sudo apt-get install -y ninja-build
269+
260270
- uses: actions/setup-java@v5
261271
with:
262272
java-version: '17'
@@ -322,9 +332,9 @@ jobs:
322332
include:
323333
- platform: ios
324334
rn-version: '0.83.0'
325-
runs-on: macos-26
335+
runs-on: macos-26
326336
- platform: android
327-
runs-on: ubuntu-latest
337+
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04", "runner_group_id:12"]
328338

329339
steps:
330340
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -353,14 +363,19 @@ jobs:
353363
path: dev-packages/e2e-tests
354364

355365
- name: Enable Corepack
356-
run: npm i -g corepack
366+
run: corepack enable
367+
357368
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
358369
with:
359370
package-manager-cache: false
360371
node-version: 20
361372
cache: 'yarn'
362373
cache-dependency-path: yarn.lock
363374

375+
- name: Install Ninja
376+
if: ${{ matrix.platform == 'android' }}
377+
run: sudo apt-get update && sudo apt-get install -y ninja-build
378+
364379
- uses: actions/setup-java@v5
365380
with:
366381
java-version: '17'
@@ -416,11 +431,15 @@ jobs:
416431

417432
- name: Run tests on iOS
418433
if: ${{ matrix.platform == 'ios' }}
434+
env:
435+
# Increase timeout for Maestro iOS driver startup (default is 60s, some CI runners need more time)
436+
MAESTRO_DRIVER_STARTUP_TIMEOUT: 120000
419437
run: ./dev-packages/e2e-tests/cli.mjs ${{ matrix.platform }} --test
420438

421439
- name: Upload logs
422440
if: ${{ always() }}
423441
uses: actions/upload-artifact@v6
424442
with:
425443
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-logs
426-
path: ./dev-packages/e2e-tests/maestro-logs
444+
path: |
445+
./dev-packages/e2e-tests/maestro-logs

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
- Bump JavaScript SDK from v10.37.0 to v10.38.0 ([#5596](https://github.com/getsentry/sentry-react-native/pull/5596))
1414
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#10380)
1515
- [diff](https://github.com/getsentry/sentry-javascript/compare/10.37.0...10.38.0)
16+
- Bump Bundler Plugins from v4.8.0 to v4.9.0 ([#5608](https://github.com/getsentry/sentry-react-native/pull/5608))
17+
- [changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md#490)
18+
- [diff](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/4.8.0...4.9.0)
1619

1720
## 8.0.0-alpha.0
1821

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"react-native": ">=0.65.0"
6969
},
7070
"dependencies": {
71-
"@sentry/babel-plugin-component-annotate": "4.8.0",
71+
"@sentry/babel-plugin-component-annotate": "4.9.0",
7272
"@sentry/browser": "10.38.0",
7373
"@sentry/cli": "3.1.0",
7474
"@sentry/core": "10.38.0",

samples/expo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@babel/core": "^7.26.0",
4848
"@babel/preset-env": "^7.26.0",
4949
"@react-native/eslint-config": "0.79.1",
50-
"@sentry/babel-plugin-component-annotate": "4.8.0",
50+
"@sentry/babel-plugin-component-annotate": "4.9.0",
5151
"@types/node": "20.10.4",
5252
"@typescript-eslint/eslint-plugin": "^8.50.0",
5353
"@typescript-eslint/parser": "^8.50.0",

samples/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@react-native/eslint-config": "0.80.2",
7878
"@react-native/metro-config": "0.80.2",
7979
"@react-native/typescript-config": "0.80.2",
80-
"@sentry/babel-plugin-component-annotate": "4.8.0",
80+
"@sentry/babel-plugin-component-annotate": "4.9.0",
8181
"@testing-library/react-native": "^13.2.2",
8282
"@types/jest": "^29.5.14",
8383
"@types/node": "^22.13.1",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10081,10 +10081,10 @@ __metadata:
1008110081
languageName: node
1008210082
linkType: hard
1008310083

10084-
"@sentry/babel-plugin-component-annotate@npm:4.8.0":
10085-
version: 4.8.0
10086-
resolution: "@sentry/babel-plugin-component-annotate@npm:4.8.0"
10087-
checksum: 50ba4710c0d53d61ec688fdca1895bf6820724e3f86efbfc4acbded8f7ba5da85ae73b6072ce17ec67dd08e16b47d4e5d3d957dc1ae0b9fdaf65109b1ad0b656
10084+
"@sentry/babel-plugin-component-annotate@npm:4.9.0":
10085+
version: 4.9.0
10086+
resolution: "@sentry/babel-plugin-component-annotate@npm:4.9.0"
10087+
checksum: 2b98e96936ab8c3aa8376d4d37f3da2df39ed9433b4177e4cd433d2b50d8fd026cf00252fa99987dca0de976f8151dd5b373e92a34ba863989fec31ea145b721
1008810088
languageName: node
1008910089
linkType: hard
1009010090

@@ -10299,7 +10299,7 @@ __metadata:
1029910299
"@sentry-internal/eslint-config-sdk": 10.38.0
1030010300
"@sentry-internal/eslint-plugin-sdk": 10.38.0
1030110301
"@sentry-internal/typescript": 10.38.0
10302-
"@sentry/babel-plugin-component-annotate": 4.8.0
10302+
"@sentry/babel-plugin-component-annotate": 4.9.0
1030310303
"@sentry/browser": 10.38.0
1030410304
"@sentry/cli": 3.1.0
1030510305
"@sentry/core": 10.38.0
@@ -29254,7 +29254,7 @@ __metadata:
2925429254
"@babel/core": ^7.26.0
2925529255
"@babel/preset-env": ^7.26.0
2925629256
"@react-native/eslint-config": 0.79.1
29257-
"@sentry/babel-plugin-component-annotate": 4.8.0
29257+
"@sentry/babel-plugin-component-annotate": 4.9.0
2925829258
"@sentry/core": 10.38.0
2925929259
"@sentry/react-native": 8.0.0-alpha.0
2926029260
"@types/node": 20.10.4
@@ -29351,7 +29351,7 @@ __metadata:
2935129351
"@react-navigation/native-stack": ^7.3.24
2935229352
"@react-navigation/stack": ^7.4.5
2935329353
"@reduxjs/toolkit": ^2.8.2
29354-
"@sentry/babel-plugin-component-annotate": 4.8.0
29354+
"@sentry/babel-plugin-component-annotate": 4.9.0
2935529355
"@sentry/core": 10.38.0
2935629356
"@sentry/react": 10.38.0
2935729357
"@sentry/react-native": 8.0.0-alpha.0

0 commit comments

Comments
 (0)