Repository navigation
Custom backend stopped installing after update #12744
|
Hi, We updated mise from 2026.05.09 to 2026.09.01 and it started failing to install our custom backend https://github.com/caido/mise-toolshed. This is coming from our backend_install.lua function PLUGIN:BackendInstall(ctx)
local tool = ctx.tool
if tool == "gh-aw" then
return process_gh_aw(ctx)
end
if tool == "get-skills" then
return process_get_skills(ctx)
end
error("unknown tool: " .. tostring(tool) .. " (only 'get-skills' or 'gh-aw' is supported)")
endconfig.toml [plugins]
toolshed = "https://github.com/caido/mise-toolshed"
[tools]
"toolshed:get-skills" = "latest"
[settings]
lockfile = trueLockfile: |
Replies: 1 comment
|
Confirmed this is caused by the legacy lockfile rather than your backend implementation. The easiest workaround is to regenerate it: rm mise.lock
mise lockThe existing lockfile stores I opened #12745 to keep legacy lockfiles working across the upgrade as well. It preserves the tool portion of an explicit Thanks for the clear report and reproducer. AI-assisted — Tool: Codex; model: openai/gpt-5; version: unavailable. |
Confirmed this is caused by the legacy lockfile rather than your backend implementation.
The easiest workaround is to regenerate it:
The existing lockfile stores
toolshed:get-skillswithbackend = "toolshed". Newer mise versions honor that stored backend during installation, but currently derivectx.toolfrom it too, changing the hook context fromget-skillstotoolshed. A regenerated lockfile should retain the complete backend/tool identity.I opened #12745 to keep legacy lockfiles working across the upgrade as well. It preserves the tool portion of an explicit
plugin:toolrequest and includes unit and end-to-end regression coverage.Thanks for the clear report and…