Skip to content

Conversation

@antonis
Copy link
Contributor

@antonis antonis commented Dec 16, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

The Android emulator was failing with "Not enough space to create userdata partition" error (needed 7372.80 MB, only 6573.47 MB available). This PR:

  • Adds disk cleanup step before Android emulator tests to free up space
  • Reduces AVD disk size from default (~7.3GB) to 4096M

This matches the pattern used in other Android test workflows (native-tests.yml, e2e-v2.yml) and should prevent future disk space failures 🤞

💡 Motivation and Context

Failed CI check

💚 How did you test it?

CI (successful run one, successful run two)

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 403.53 ms 454.94 ms 51.41 ms
Size 43.94 MiB 48.90 MiB 4.96 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
77061ed+dirty 359.40 ms 424.10 ms 64.70 ms
652f785+dirty 367.80 ms 390.71 ms 22.91 ms
20daa0a+dirty 352.33 ms 424.30 ms 71.98 ms
8490686+dirty 344.38 ms 364.37 ms 19.98 ms
a941c72+dirty 381.92 ms 436.63 ms 54.71 ms
0d6e618+dirty 369.02 ms 387.69 ms 18.67 ms
d1bfbde+dirty 438.90 ms 494.82 ms 55.92 ms
8ece263+dirty 369.44 ms 414.65 ms 45.21 ms
534ba8c+dirty 472.35 ms 537.31 ms 64.96 ms
36841a6+dirty 404.22 ms 450.06 ms 45.84 ms

App size

Revision Plain With Sentry Diff
77061ed+dirty 7.15 MiB 8.41 MiB 1.26 MiB
652f785+dirty 43.94 MiB 48.82 MiB 4.88 MiB
20daa0a+dirty 7.15 MiB 8.42 MiB 1.27 MiB
8490686+dirty 7.15 MiB 8.43 MiB 1.28 MiB
a941c72+dirty 43.94 MiB 48.87 MiB 4.93 MiB
0d6e618+dirty 43.94 MiB 48.82 MiB 4.88 MiB
d1bfbde+dirty 43.94 MiB 48.82 MiB 4.88 MiB
8ece263+dirty 7.15 MiB 8.41 MiB 1.26 MiB
534ba8c+dirty 7.15 MiB 8.42 MiB 1.27 MiB
36841a6+dirty 43.94 MiB 48.90 MiB 4.96 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 296.47 ms 317.59 ms 21.12 ms
Size 43.75 MiB 48.07 MiB 4.32 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
652f785+dirty 401.02 ms 420.60 ms 19.58 ms
3bd3f0d+dirty 447.21 ms 472.31 ms 25.10 ms
a941c72+dirty 489.85 ms 549.17 ms 59.32 ms
0d6e618+dirty 414.00 ms 416.90 ms 2.90 ms
d1bfbde+dirty 478.88 ms 505.52 ms 26.64 ms
eb07ba3 470.04 ms 473.35 ms 3.31 ms
36841a6+dirty 502.96 ms 547.14 ms 44.18 ms
a2bb688+dirty 409.65 ms 410.45 ms 0.80 ms
e335046+dirty 473.74 ms 520.24 ms 46.50 ms
05bef0e+dirty 349.78 ms 334.04 ms -15.74 ms

App size

Revision Plain With Sentry Diff
652f785+dirty 43.75 MiB 47.99 MiB 4.24 MiB
3bd3f0d+dirty 17.75 MiB 19.70 MiB 1.95 MiB
a941c72+dirty 43.75 MiB 48.05 MiB 4.29 MiB
0d6e618+dirty 43.75 MiB 47.99 MiB 4.24 MiB
d1bfbde+dirty 43.75 MiB 47.99 MiB 4.24 MiB
eb07ba3 17.75 MiB 20.15 MiB 2.41 MiB
36841a6+dirty 43.75 MiB 48.07 MiB 4.32 MiB
a2bb688+dirty 17.75 MiB 19.70 MiB 1.95 MiB
e335046+dirty 43.75 MiB 48.05 MiB 4.29 MiB
05bef0e+dirty 17.75 MiB 19.70 MiB 1.95 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1199.67 ms 1198.56 ms -1.10 ms
Size 3.44 MiB 4.67 MiB 1.23 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
2b89ce9+dirty 1229.30 ms 1239.40 ms 10.10 ms
05bef0e+dirty 1221.02 ms 1237.04 ms 16.02 ms
11ded16+dirty 1230.71 ms 1235.52 ms 4.81 ms
4a17c8f+dirty 1226.36 ms 1219.28 ms -7.07 ms
20d5eaa+dirty 1231.12 ms 1226.00 ms -5.12 ms
1853710+dirty 1224.35 ms 1230.18 ms 5.84 ms
bc9680d+dirty 1221.41 ms 1241.47 ms 20.06 ms
5526494+dirty 1224.73 ms 1229.08 ms 4.36 ms
955f2eb+dirty 1235.06 ms 1253.88 ms 18.81 ms
1e7a472+dirty 1223.39 ms 1232.12 ms 8.73 ms

App size

Revision Plain With Sentry Diff
2b89ce9+dirty 2.63 MiB 3.91 MiB 1.28 MiB
05bef0e+dirty 2.63 MiB 3.99 MiB 1.36 MiB
11ded16+dirty 2.63 MiB 4.01 MiB 1.38 MiB
4a17c8f+dirty 3.41 MiB 4.58 MiB 1.17 MiB
20d5eaa+dirty 2.63 MiB 3.81 MiB 1.18 MiB
1853710+dirty 2.63 MiB 3.91 MiB 1.28 MiB
bc9680d+dirty 2.63 MiB 3.81 MiB 1.18 MiB
5526494+dirty 2.63 MiB 3.87 MiB 1.24 MiB
955f2eb+dirty 2.63 MiB 3.98 MiB 1.35 MiB
1e7a472+dirty 2.63 MiB 4.00 MiB 1.36 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1225.26 ms 1227.02 ms 1.77 ms
Size 3.44 MiB 4.67 MiB 1.23 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
2b89ce9+dirty 1241.19 ms 1254.20 ms 13.01 ms
05bef0e+dirty 1223.31 ms 1225.55 ms 2.24 ms
11ded16+dirty 1220.84 ms 1221.60 ms 0.76 ms
4a17c8f+dirty 1213.28 ms 1213.64 ms 0.36 ms
20d5eaa+dirty 1224.67 ms 1223.16 ms -1.51 ms
1853710+dirty 1213.67 ms 1226.35 ms 12.67 ms
bc9680d+dirty 1228.57 ms 1233.64 ms 5.07 ms
5526494+dirty 1217.06 ms 1222.26 ms 5.20 ms
955f2eb+dirty 1225.78 ms 1239.27 ms 13.49 ms
1e7a472+dirty 1237.44 ms 1231.14 ms -6.29 ms

App size

Revision Plain With Sentry Diff
2b89ce9+dirty 3.19 MiB 4.48 MiB 1.29 MiB
05bef0e+dirty 3.19 MiB 4.56 MiB 1.37 MiB
11ded16+dirty 3.19 MiB 4.58 MiB 1.39 MiB
4a17c8f+dirty 3.41 MiB 4.58 MiB 1.17 MiB
20d5eaa+dirty 3.19 MiB 4.38 MiB 1.19 MiB
1853710+dirty 3.19 MiB 4.48 MiB 1.29 MiB
bc9680d+dirty 3.19 MiB 4.38 MiB 1.19 MiB
5526494+dirty 3.19 MiB 4.44 MiB 1.25 MiB
955f2eb+dirty 3.19 MiB 4.55 MiB 1.36 MiB
1e7a472+dirty 3.19 MiB 4.56 MiB 1.38 MiB

@antonis antonis marked this pull request as ready for review December 16, 2025 13:44
@antonis antonis merged commit c821b02 into main Dec 16, 2025
150 of 154 checks passed
@antonis antonis deleted the antonis/ci-free-android-space branch December 16, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants