Skip to content

ci: fix profile overrides not observed by cache#2009

Merged
Mirko-von-Leipzig merged 2 commits intomainfrom
mirko/ci/caching
Apr 28, 2026
Merged

ci: fix profile overrides not observed by cache#2009
Mirko-von-Leipzig merged 2 commits intomainfrom
mirko/ci/caching

Conversation

@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

#2004 changed the optimisation levels in CI. Unfortunately rust-cache doesn't observe Cargo.toml as part of its hash key, so its not persisting the new builds (it keeps the old one).

This PR fixes this by moving the profile overrides into the root cargo config (which is observed). In addition we also now cache workspace crates.. we'll have to see if this is too much, or worth it.

@Mirko-von-Leipzig Mirko-von-Leipzig added no changelog This PR does not require an entry in the `CHANGELOG.md` file CI CI and devops labels Apr 28, 2026
@Mirko-von-Leipzig Mirko-von-Leipzig merged commit dd6556a into main Apr 28, 2026
20 of 21 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko/ci/caching branch April 28, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and devops no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants