Skip to content

build(ci): Add Android 17 (API 37) to critical UI test emulator matrix#5673

Draft
0xadam-brown wants to merge 6 commits into
mainfrom
chore/add-api-37-ci-matrix
Draft

build(ci): Add Android 17 (API 37) to critical UI test emulator matrix#5673
0xadam-brown wants to merge 6 commits into
mainfrom
chore/add-api-37-ci-matrix

Conversation

@0xadam-brown

@0xadam-brown 0xadam-brown commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Add API level 37 (Google APIs x86_64, canary channel) to the critical Maestro UI test emulator matrix
  • Pre-stable gate: validates SDK on Android 17 before compileSdk/targetSdk bump lands
  • Use api-level: 37.0 — GHA sdkmanager publishes platforms;android-37.0, not android-37

Test plan

  • UI Tests Critical — all matrix jobs green, especially API 37
  • Confirm emulator image boots (not a silent skip)

#skip-changelog

Made with Cursor

@sentry

sentry Bot commented Jul 2, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.49.0 (1) release

⚙️ sentry-android Build Distribution Settings

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 339.44 ms 387.86 ms 48.41 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b193867 319.59 ms 403.09 ms 83.50 ms
2124a46 319.19 ms 415.04 ms 95.85 ms
a5ab36f 316.83 ms 394.54 ms 77.71 ms
dba088c 320.59 ms 361.29 ms 40.70 ms
4e3e79d 328.10 ms 395.64 ms 67.54 ms
abfcc92 309.54 ms 380.32 ms 70.78 ms
539ca63 313.51 ms 355.43 ms 41.92 ms
3d205d0 352.15 ms 432.53 ms 80.38 ms
bb0ff41 312.86 ms 363.78 ms 50.92 ms
2195398 319.02 ms 342.38 ms 23.36 ms

App size

Revision Plain With Sentry Diff
b193867 1.58 MiB 2.19 MiB 620.00 KiB
2124a46 1.58 MiB 2.12 MiB 551.51 KiB
a5ab36f 1.58 MiB 2.12 MiB 555.26 KiB
dba088c 1.58 MiB 2.13 MiB 558.99 KiB
4e3e79d 0 B 0 B 0 B
abfcc92 1.58 MiB 2.13 MiB 557.31 KiB
539ca63 1.58 MiB 2.12 MiB 551.41 KiB
3d205d0 1.58 MiB 2.10 MiB 532.97 KiB
bb0ff41 0 B 0 B 0 B
2195398 0 B 0 B 0 B

Previous results on branch: chore/add-api-37-ci-matrix

Startup times

Revision Plain With Sentry Diff
a2b522e 311.82 ms 371.31 ms 59.49 ms
4176d1f 323.68 ms 390.24 ms 66.56 ms

App size

Revision Plain With Sentry Diff
a2b522e 0 B 0 B 0 B
4176d1f 0 B 0 B 0 B

@0xadam-brown 0xadam-brown changed the title [Do Not Review] ci: Add Android 17 (API 37) to critical UI test emulator matrix chore(ci): Add Android 17 (API 37) to critical UI test emulator matrix Jul 3, 2026
@0xadam-brown 0xadam-brown changed the title chore(ci): Add Android 17 (API 37) to critical UI test emulator matrix build(ci): Add Android 17 (API 37) to critical UI test emulator matrix Jul 3, 2026
0xadam-brown and others added 6 commits July 16, 2026 17:04
Add API level 37 using the Google APIs x86_64 canary channel image so
critical Maestro UI tests run on the new platform before compileSdk bump.

Co-authored-by: Cursor <[email protected]>
GitHub Actions sdkmanager publishes platforms;android-37.0 rather than
android-37, which caused the emulator runner to fail package install.

Co-authored-by: Cursor <[email protected]>
YAML parses bare 37.0 as the float 37, so the emulator runner still
requested platforms;android-37. Quote the value so sdkmanager installs
platforms;android-37.0 on GHA runners.

Co-authored-by: Cursor <[email protected]>
GHA publishes platforms;android-37.0 but system-images;android-37 for the
emulator image. Pass system-image-api-level separately from api-level.

Co-authored-by: Cursor <[email protected]>
Probe sdkmanager for system-images;android-37 before starting the
emulator. Platform 37.0 installs successfully, but Google has not yet
published the matching Google APIs x86_64 image on GHA runners.

Co-authored-by: Cursor <[email protected]>
sdkmanager is not on PATH until android-emulator-runner runs; invoke it
via ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager instead.

Co-authored-by: Cursor <[email protected]>
@runningcode runningcode force-pushed the chore/add-api-37-ci-matrix branch from 60d1c6b to 5938477 Compare July 16, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant