Skip to content

[PR #12946/b9ef540d backport][3.15] Free up disk space for Android emulator in CI#12971

Merged
Dreamsorcerer merged 1 commit into
3.15from
patchback/backports/3.15/b9ef540d67accd5df0f0368fca42c8fc2304fced/pr-12946
Jun 21, 2026
Merged

[PR #12946/b9ef540d backport][3.15] Free up disk space for Android emulator in CI#12971
Dreamsorcerer merged 1 commit into
3.15from
patchback/backports/3.15/b9ef540d67accd5df0f0368fca42c8fc2304fced/pr-12946

Conversation

@patchback

@patchback patchback Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This is a backport of PR #12946 as merged into master (b9ef540).

What do these changes do?

Add a jlumbroso/free-disk-space step before the Android emulator install in the test-mobile CI 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-space action is widely used across open-source projects for exactly this purpose.

Related issue number

#12902 (bdraco's suggestion)

Checklist

  • I think the code is well written
  • N/A Unit tests for the changes exist (CI-only change, not testable in-repo)
  • N/A Documentation reflects the changes
  • N/A If you provide code modification, please add yourself to CONTRIBUTORS.txt
  • Add a new news fragment into the CHANGES/ folder
Agent run output
  • Added jlumbroso/free-disk-space@v1.3.1 (SHA-pinned) step guarded by platform == 'android'
  • android: false keeps the Android SDK intact; only unused toolchains are removed
  • large-packages: false skips the slow apt purge

Drafted 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

@patchback patchback Bot requested a review from webknjaz as a code owner June 21, 2026 00:10
@codecov

codecov Bot commented Jun 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.24%. Comparing base (eae0621) to head (613023d).
✅ All tests successful. No failed tests found.

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     
Flag Coverage Δ
CI-GHA 98.27% <ø> (+<0.01%) ⬆️
OS-Linux 98.04% <ø> (+<0.01%) ⬆️
OS-Windows 95.71% <ø> (ø)
OS-macOS 97.23% <ø> (-0.02%) ⬇️
Py-3.10 97.40% <ø> (-0.01%) ⬇️
Py-3.11 97.70% <ø> (+<0.01%) ⬆️
Py-3.12 97.78% <ø> (-0.01%) ⬇️
Py-3.13 97.76% <ø> (-0.02%) ⬇️
Py-3.14 97.87% <ø> (-0.01%) ⬇️
Py-3.14t 96.87% <ø> (ø)
Py-pypy-3.11 96.71% <ø> (+<0.01%) ⬆️
VM-macos 97.23% <ø> (-0.02%) ⬇️
VM-ubuntu 98.04% <ø> (+<0.01%) ⬆️
VM-windows 95.71% <ø> (ø)
cython-coverage 38.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@codspeed-hq

codspeed-hq Bot commented Jun 21, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 83 untouched benchmarks
⏩ 86 skipped benchmarks1


Comparing patchback/backports/3.15/b9ef540d67accd5df0f0368fca42c8fc2304fced/pr-12946 (613023d) with 3.15 (eae0621)

Open in CodSpeed

Footnotes

  1. 86 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Dreamsorcerer Dreamsorcerer merged commit ced30b9 into 3.15 Jun 21, 2026
46 checks passed
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.15/b9ef540d67accd5df0f0368fca42c8fc2304fced/pr-12946 branch June 21, 2026 00:57
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.

2 participants