Skip to content

Prune unused mise tool versions after successful updates - #205

Merged
jiminu merged 1 commit into
mainfrom
feat/default-mise-prune
Sep 14, 2026
Merged

jiminu merged 1 commit into
mainfrom
feat/default-mise-prune

Conversation

@jiminu

@jiminu jiminu commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Run scoped mise cleanup by default after successful tool, configuration, and Neovim plugin synchronization.
  • Preserve current and tracked project versions, but exclude rollback-only tool pins during cleanup without modifying the retained CLI release or tracking records.
  • Skip cleanup for failed or partial setup, configuration-only updates, unsafe paths, and failed retention checks. Dry-run does not invoke mise or write metadata.
  • Document the cleanup policy and add real-mise regression coverage to CI using the pinned mise installation.

Verification

  • Local: bash scripts/check.sh passed all 21 test suites, syntax checks, ShellCheck, and formatting checks.
  • Real mise in temporary HOME: unused and rollback-only versions removed; current and project-required versions retained; unrelated tools and CLI rollback preserved.
  • Regression checks cover tracking failures, ignored configuration settings, symlinked rollback configuration, unsafe path separators, and previous=current.
  • Code review completed with the reported deletion-safety issues fixed.
  • GitHub Actions results are separate from the local verification above.

Scope

PR only. No merge, release publication, or local installation.

@jiminu
jiminu merged commit bd6809e into main Sep 14, 2026
7 checks passed
@jiminu
jiminu deleted the feat/default-mise-prune branch September 14, 2026 15:09
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.

1 participant