-
由 Will Chen 提交于
## Summary - Update nightly-runner-cleanup.yml to add ci3 runner to the cleanup matrix - Enhance ci-cleanup-macos.sh with improved disk space management for host-level caches - Add support for nightly cleanup mode with better handling of Homebrew and Xcode caches ## Test plan - Manually trigger the nightly-runner-cleanup workflow to verify cleanup steps complete successfully - Verify that the ci3 runner is now included in the cleanup matrix - Confirm that old browser installations and npm cache are properly cleaned up
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2664" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Small CI-maintenance change limited to a scheduled workflow and cleanup script; main risk is masking unexpected deletion failures via non-fatal warnings. > > **Overview** > Extends the nightly self-hosted macOS runner cleanup workflow to also run on `ci3` via the job matrix. > > Hardens `scripts/ci-cleanup-macos.sh` by making npm cache (`~/.npm/_cacache`) and log (`~/.npm/_logs`) removal tolerate failures (e.g., files in use), emitting warnings instead of failing the cleanup run. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit c49b18aa7df6e6da179507d678c67cc5680505c5. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Include the ci3 runner in the nightly macOS cleanup and make npm cache/log removal more resilient to prevent flaky failures. - **Bug Fixes** - Added ci3 to the nightly-runner-cleanup matrix so all macOS hosts are cleaned. - Updated ci-cleanup-macos.sh to ignore permission/in-use errors when removing npm cache/logs and emit warnings instead. <sup>Written for commit c49b18aa7df6e6da179507d678c67cc5680505c5. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by:claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>