[shared] fix(setup-mise): scope the tools cache fallback to the unit's own config #71
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!71
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/setup-mise-cache-per-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
library's weekly Quality
wsunit restored a tools cache built from the repo's rootmise.toml. Therestore-keysprefix matched any config's entry, so mise found a binstalled cargo-mutants "already installed" and the unit'scargo.binstall = falsenever applied.On the release carrying this, every caller of
setup-misestarts each config once with a cold cache.Verified: the new
find-mise-config.batstests fail on the old script;just lint testpasses (444 tests).Run: https://git.journois.com/cjournois/library/actions/runs/1435
8c4c81249cb91c01bee0Addressed:
b91c01b: the body claim now matches (three tests fail on the old script).WIP: [shared] fix(setup-mise): scope the tools cache fallback to the unit's own configto [shared] fix(setup-mise): scope the tools cache fallback to the unit's own configVerdict: pass
The cache key and the restore-keys prefix carry a 12-hex hash of the config path, so one config can never restore another config's installs, and a bumped config still warms from its own previous entry. All three new bats tests fail on main's script, and
just lint testpasses (444).