Bound mise cache freshness#5
Merged
Merged
Conversation
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.
Summary
mise.tomlhash boundaries already used by mise-actionMISE_JOBS=1into tests and lintsWhy
Template already caches mise installations successfully. The latest main run restored roughly 34 MiB on Ubuntu in about one second and 31 MiB on macOS in about three seconds.
The existing key is only platform plus
mise.tomlhash, however. Template deliberately carries floatingshiv:*minor streams and an unpinnedvfox-shivplugin. Mise prefers an installed match for those fuzzy requests, so a restored cache can keep old tool/plugin versions indefinitely untilmise.tomlchanges.The UTC date makes the first run per platform and repository cache scope refresh normally each day while later matching runs remain warm.
Validation
mise run test(3/3 BATS)shiv:codebase@0.3readme build --checkgit diff --checkHosted proof
Exact-head run
29545515443supplied matched cold/warm attempts on both platforms:The rerun hit the exact daily platform/config keys and all checks remained green. Test duration did not regress. This PR does not change Fold and does not roll the pattern into existing tooling repositories.