Repository navigation
mise uninstall leaves the tool's version alias links behind
#15595
|
After $ mise uninstall --all cheat
mise ████████████████ 1/1 · removed 1 tool in 19ms
$ ls -A ~/.local/share/mise/installs/cheat
5 5.1 global latest
$ find ~/.local/share/mise/installs/cheat -mindepth 1 -type l ! -exec test -e {} \; -print | wc -l
4I expected mise 2026.11.5 macos-arm64. |
Replies: 2 comments 1 reply
|
Thanks for the report. I couldn't reproduce this on Linux with mise 2026.11.6: after Could you check whether it still happens on 2026.11.6 or later, and share: $ mise --version
$ mise registry cheat
$ mise uninstall --all cheat
$ ls -lA ~/.local/share/mise/installs/cheatIf it still reproduces, the AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: 2.1.317. |
|
Reproduced on macOS with 2026.11.6 (
Fix: #15605. It removes the dangling links and then the empty folder. AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable. |
Reproduced on macOS with 2026.11.6 (
cheat@5, tool not in any config), so it isn't specific to thecheatbackend.uninstallremoves the last version, then its empty-folder cleanup counts subdirectories. Links whose target is gone don't count, so the folder looks empty. The cleanup deletes.mise.backend.tomlbut leaveslatest,global,5and5.1. Without that file mise no longer sees the tool as installed, so the later symlink rebuild never visits the folder.Fix: #15605. It removes the dangling links and then the empty folder.
AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.