Skip to content

ci: use disk-space-reclaimer in build_docker workflow#5242

Merged
wanghan-iapcm merged 2 commits intomasterfrom
copilot/fix-disk-space-shortage
Feb 13, 2026
Merged

ci: use disk-space-reclaimer in build_docker workflow#5242
wanghan-iapcm merged 2 commits intomasterfrom
copilot/fix-disk-space-shortage

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

The build_docker job runs out of disk space with current manual cleanup (rm -rf /opt/hostedtoolcache).

Changes

  • Replace manual cleanup with insightsengineering/disk-space-reclaimer@v1 action in build_docker job
  • Configure comprehensive cleanup: tools-cache, Android SDK, .NET SDK, Haskell, large-packages, swap-storage, and docker-images

This 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

This section details on the original issue you should resolve

<issue_title>Fix disk space shortage in build_docker action</issue_title>
<issue_description>The build_docker action is running out of disk space. Although some pre-installed software is currently being removed, it is not enough.

Proposed Solution:
Use insightsengineering/disk-space-reclaimer@v1 to free up more space.

Configuration:

- name: Free Disk Space (Ubuntu)
  uses: insightsengineering/disk-space-reclaimer@v1
  with:
    tools-cache: true
    android: true
    dotnet: true
    haskell: true
    large-packages: true
    swap-storage: true
    docker-images: true

Generated by OpenClaw</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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
Copilot AI requested a review from njzjz February 13, 2026 08:59
@njzjz njzjz marked this pull request as ready for review February 13, 2026 09:32
Copilot AI review requested due to automatic review settings February 13, 2026 09:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/hostedtoolcache cleanup with insightsengineering/disk-space-reclaimer@v1 action
  • 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.

@dosubot dosubot bot added the build label Feb 13, 2026
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.07%. Comparing base (f6d5d95) to head (d04c558).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@njzjz njzjz requested a review from wanghan-iapcm February 13, 2026 10:26
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Feb 13, 2026
Merged via the queue into master with commit 4f182bc Feb 13, 2026
78 checks passed
@wanghan-iapcm wanghan-iapcm deleted the copilot/fix-disk-space-shortage branch February 13, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix disk space shortage in build_docker action

3 participants