ci: prune macOS coverage artifacts#3667
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates CI runner disk management across two workflow jobs. The macOS test job replaces simple cleanup logic with enhanced disk pruning that removes stale artifacts and conditionally deletes the target directory based on size and available disk thresholds, plus adds end-of-run reporting. The Ubuntu lint job's bash script closure is adjusted for consistency. ChangesWorkflow Enhancements
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review GateCommit:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3.1-dev #3667 +/- ##
============================================
- Coverage 88.06% 88.05% -0.01%
============================================
Files 2521 2521
Lines 308995 308781 -214
============================================
- Hits 272122 271908 -214
Misses 36873 36873
🚀 New features to boost your workflow:
|
Summary
target/llvm-cov-targetand oldtarget-backup-before-*-clean-*folderstarget/cleanup threshold and also clean when free disk drops below 60GBcargo llvm-covbuild artifacts after coverage upload so they do not accumulate between self-hosted runner jobsValidation
git diff --check -- .github/workflows/tests-rs-workspace.ymlpython3 -c 'import pathlib, yaml; yaml.safe_load(pathlib.Path(".github/workflows/tests-rs-workspace.yml").read_text()); print("yaml ok")'Summary by CodeRabbit
Release Notes