-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci: improve ccache cache #7060
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: improve ccache cache #7060
Conversation
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
WalkthroughThe workflow Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📥 CommitsReviewing files that changed from the base of the PR and between e4a69ffc0f5f460d91b4b5042eeb14072bc49546 and 0f51d9c. 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1){guix-build*,releases,**/guix-build*,releases/**,.github/**,depends/**,ci/**,contrib/**,doc/**}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (3)
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 |
96ef9ab to
6e93ecb
Compare
6e93ecb to
e4a69ff
Compare
.github/workflows/build-src.yml
Outdated
| @@ -80,6 +80,7 @@ jobs: | |||
| shell: bash | |||
|
|
|||
| - name: Restore ccache cache | |||
| if: inputs.build-target != 'linux64_fuzz' | |||
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.
why does the fuzz build disable ccache?
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.
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.
Dropping --disable-clang and running it twice - 100% hit rate, don't see any issues (though we don't really test CI fuzz builds in any way).
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.
@UdjinM6 no objections to enabling ccache, it is enabled upstream (source).
it might have been due to local issues (i remember ccache being a bit finicky back when i used it so it's likely i had disabled it when working on the PR and then kept it in the final iteration as it was known-good) but since CI is happy, no reason not to use it.
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.
Dropped b8c95ee00ad10b40787bfab7cf02bbab6535db47 and added 0f51d9c
PastaPastaPasta
left a comment
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.
generally concept ACK
e4a69ff to
0f51d9c
Compare
kwvg
left a comment
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.
utACK 0f51d9c
Issue being fixed or feature implemented
linux64_fuzzWhat was done?
See individual commits
How Has This Been Tested?
Run CI for a feature branch in a forked repo with this branch merged into forked repo's develop. CI should use ccache caches created by develop, should not create its own ones anymore. CI for develop should not create tiny empty caches.
Breaking Changes
Not breaking but a tradeoff: no ccache cache if your feature branch has changes in 'contrib/containers/ci/ci.Dockerfile' or 'depends/packages/*'.
Checklist: