Skip to content

Conversation

@nikobockerman
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 30, 2025 22:19
Copy link

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 improves Conan package caching in CI by implementing custom cache management instead of relying on the conan-io/setup-conan action. The changes introduce manual cache restoration and saving with intelligent cleanup of unused packages to optimize cache size and efficiency.

Key Changes:

  • Replaced conan-io/setup-conan with custom cache management using GitHub Actions cache
  • Added cache cleanup step to remove unused Conan recipes and binaries based on LRU (1 hour)
  • Reorganized workflow to set up mise tools earlier and added finalization step for cache saving

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/cpp-build-test-run.yaml Reorganized workflow steps to set up mise earlier, added conan-cache-key-prefix input, and introduced cmake-project-finalize step
.github/actions/cmake-project-setup/action.yaml Replaced conan-io/setup-conan action with manual cache restoration, added Conan profile detection, and exposed cache-matched-key output
.github/actions/cmake-project-setup/init.sh New script to initialize CONAN_HOME environment variable and output cache path
.github/actions/cmake-project-finalize/action.yaml New action to finalize and save Conan cache with conditional logic based on package hash changes
.github/actions/cmake-project-finalize/init.sh New script to clean up unused Conan packages, generate package hash, and determine if cache should be saved

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 30, 2025 22:27
Copy link

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 30, 2025 23:40
Copy link

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nikobockerman nikobockerman force-pushed the improve-conan-caching branch 2 times, most recently from 8a85afb to 8572ff6 Compare January 1, 2026 20:29
Copilot AI review requested due to automatic review settings January 1, 2026 20:29
Copy link

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nikobockerman nikobockerman force-pushed the improve-conan-caching branch from 8572ff6 to 6197569 Compare January 1, 2026 20:43
@nikobockerman nikobockerman merged commit 0d76da8 into main Jan 1, 2026
51 checks passed
@nikobockerman nikobockerman deleted the improve-conan-caching branch January 1, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants