Repository navigation
ci(cache): key the Rust caches by the native dependencies - #1202
Merged
CassOnMars merged 1 commit intoNov 4, 2026
Merged
Conversation
rust-cache v2 ignores the key input when shared-key is set, so a native-deps change never invalidated the Rust caches. Fold the native cache key and the setup action hash into each shared-key and drop the dead key lines. The test and lattice-native jobs keep identical keys.
blacks1ne
marked this pull request as ready for review
November 4, 2026 08:59
Merged
via the queue into
QuilibriumNetwork:v2.1.0.25
with commit Nov 4, 2026
674ec0b
12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rust-cache v2 ignores
keywhenshared-keyis set (src/config.ts: the shared key replaces the input key and the job key), so thenative-…key on our Rust cache steps never took effect: a change to the native dependencies did not invalidate the Rust caches.Fold the native cache key and the setup-native-deps hash into each
shared-keyand drop the deadkey:lines. The test and lattice-native jobs keep identical keys, so they still share one cache.Tests: workflow YAML parses; actionlint is clean. The new keys match no saved cache, so the first runs after merge build cold and the first push run saves fresh caches.