-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[CI] Add workflow to cleanup L2 ccache weekly #77250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Add workflow to cleanup L2 ccache weekly #77250
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this 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 implements automated weekly cleanup of L2 ccache by adding a GitHub Actions workflow. The workflow runs on a schedule (weekly on Sundays) to evict ccache entries older than 15 days, helping to manage disk space on CI infrastructure.
- Adds a scheduled GitHub Actions workflow that runs weekly on Sundays
- Uses a Docker container to install ccache and perform cleanup operations
- Evicts ccache entries older than 15 days from the L2 cache directory
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/cleanup-ccache.yml
Outdated
| pull_request: | ||
| branches: [develop] # Remove before merge, just for testing |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be removed before merging to production as indicated by the inline comment. The pull_request trigger on the develop branch appears to be for testing purposes only and should not be present in the final merged version.
| pull_request: | |
| branches: [develop] # Remove before merge, just for testing |
PR Category
Execute Infrastructure
PR Types
Devs
Description
完成 #77174 的 TODO,实现 weekly L2 ccache 自动清理到 200G,限制到 57G 时的清理效果如下: