ci: use disk-space-reclaimer in build_docker workflow#5242
Merged
wanghan-iapcm merged 2 commits intomasterfrom Feb 13, 2026
Merged
ci: use disk-space-reclaimer in build_docker workflow#5242wanghan-iapcm merged 2 commits intomasterfrom
wanghan-iapcm merged 2 commits intomasterfrom
Conversation
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix disk space shortage in build_docker action
ci: use disk-space-reclaimer in build_docker workflow
Feb 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses disk space issues in the build_docker job by replacing manual cleanup with a more comprehensive automated solution. The build_docker job was running out of disk space despite removing /opt/hostedtoolcache, and this change adopts a proven action that frees up significantly more space.
Changes:
- Replace manual
rm -rf /opt/hostedtoolcachecleanup withinsightsengineering/disk-space-reclaimer@v1action - Configure comprehensive cleanup of tools-cache, Android SDK, .NET SDK, Haskell, large-packages, swap-storage, and docker-images
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5242 +/- ##
=======================================
Coverage 82.06% 82.07%
=======================================
Files 732 732
Lines 73974 73974
Branches 3615 3615
=======================================
+ Hits 60710 60711 +1
Misses 12100 12100
+ Partials 1164 1163 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
njzjz
approved these changes
Feb 13, 2026
wanghan-iapcm
approved these changes
Feb 13, 2026
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.
The
build_dockerjob runs out of disk space with current manual cleanup (rm -rf /opt/hostedtoolcache).Changes
insightsengineering/disk-space-reclaimer@v1action inbuild_dockerjobThis frees up significantly more space than the previous manual approach by removing multiple pre-installed components that consume disk space on GitHub Actions runners.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.