[PR #12946/b9ef540d backport][3.15] Free up disk space for Android emulator in CI#12971
Merged
Dreamsorcerer merged 1 commit intoJun 21, 2026
Conversation
(cherry picked from commit b9ef540)
2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.15 #12971 +/- ##
=======================================
Coverage 98.23% 98.24%
=======================================
Files 135 135
Lines 48741 48741
Branches 2622 2622
=======================================
+ Hits 47883 47884 +1
Misses 678 678
+ Partials 180 179 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Merging this PR will not alter performance
Comparing Footnotes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #12946 as merged into master (b9ef540).
What do these changes do?
Add a
jlumbroso/free-disk-spacestep before the Android emulator install in thetest-mobileCI job. The default GitHub Actions runner image may run out of disk space when installing the Android emulator, causing sporadic failures. Reclaiming space from unused toolchains (dotnet, haskell, etc.) gives the emulator install room to succeed.Closes #12902
Are there changes in behavior for the user?
No user-facing changes.
Is it a substantial burden for the maintainers to support this?
No — it's a single pinned-SHA action invocation with minimal options. The
jlumbroso/free-disk-spaceaction is widely used across open-source projects for exactly this purpose.Related issue number
#12902 (bdraco's suggestion)
Checklist
CONTRIBUTORS.txtCHANGES/folderAgent run output
jlumbroso/free-disk-space@v1.3.1(SHA-pinned) step guarded byplatform == 'android'android: falsekeeps the Android SDK intact; only unused toolchains are removedlarge-packages: falseskips the slow apt purgeDrafted with Kōan (claude-opus-4-8[1m]).
Quality Report
Changes: 2 files changed, 14 insertions(+)
Code scan: clean
Tests: failed (FAILED)
Branch hygiene: clean
Generated by Kōan