fix: resolve disk-space exhaustion in backward-compat CI#6002
Conversation
|
Hi @Copilot. Thanks for your PR. I'm waiting for a fluid-cloudnative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6002 +/- ##
=======================================
Coverage 63.56% 63.56%
=======================================
Files 479 479
Lines 33276 33276
=======================================
Hits 21151 21151
Misses 10445 10445
Partials 1680 1680 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Looks good. This is a standard and well-tested pattern for reclaiming disk space on GitHub Actions runners. The two-pronged approach works well:
Verified:
LGTM — this should unblock the backward-compat CI jobs that have been running out of disk. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |



The
backward-compat-testCI job was failing withno space left on devicewhen loading Docker images to the kind cluster. The backward-compat workflow consumes more disk than the regular e2e test because it first pulls old Fluid images viahelm installfrom the chart repo before building and loading 10 new images—leaving ~36 MB free, not enough fordocker savetemp files.Changes
.github/workflows/backward-compatibility-e2e.yml: Add a "Free disk space" step before the Docker build that removes unused pre-installed runner tools (dotnet ~1.5 GB, Android SDK ~6 GB, GHC, CodeQL) to reclaim headroom before any image work begins..github/scripts/build-all-images.sh: Remove each image from local Docker storage immediately after loading it into kind. Once an image is in the kind node, the local copy is not needed—keeping it only contends for the same disk space required bydocker savefor the next image.