Repository navigation
packslip: resolving latest fetches the release list on every invocation and warns when offline; please honor fetch_remote_versions_cache or fall back to the last verified list
#13948
Replies: 3 comments 3 replies
|
I couldn't reproduce this with a packslip tool that is actually installed. With I only see your exact message when nothing is installed for that tool, because Could you share:
AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: 2.1.288. |
|
Thanks for checking. I can no longer reproduce it either. Details from my machine:
So this matches your finding: once the tool is installed, |
|
Implemented in #14338: fix(packslip): let a workflow list carry the signer pin across a workflow move |
Uh oh!
There was an error while loading. Please reload this page.
Summary
With a
packslip:tool pinned tolatest, every mise invocation that resolves tool versions (includingmise hook-envon each interactive shell start) fetches the vendor's release list from GitHub again. When the network is unavailable the resolution fails and mise prints a warning, even though the same tool was resolved and installed minutes earlier. Other backends (github:,aqua:,npm:,cargo:) withlatestuse theremote_versions-*.msgpack.zcache governed byfetch_remote_versions_cache(default 1h) and stay silent offline.Steps to reproduce
Global config:
Observed (every shell start while offline):
The
github:tool withlatestin the same config produces no warning; its version list comes from~/.cache/mise/remote_versions-*.msgpack.z.~/.cache/mise/packslip-github-com-aubepkg-aube/exists but is empty afterls-remote.Online, the cost is negligible (
mise hook-env≈ 50 ms), so this is only a noise / offline-robustness issue.Environment
fetch_remote_versions_cache = "1h"(default),use_versions_host = falseContext
#12805 made packslip
latestresolve from the vendor's signed release-list pointer and states that "version listings re-check policy instead of using a cached admission result" and that "list freshness failures stop resolution". I understand the security intent (never serve alatestthat the vendor has since withdrawn). The request is only about the behavior when the list cannot be fetched at all.Proposal
Any of these would remove the noise without weakening verification:
latestresolution of an already-installed version, and warn once rather than on every invocation.fetch_remote_versions_cachefor the packslip release list the way other backends do, re-verifying signatures on the cached document instead of refetching it.latestalready resolves to an installed version.Happy to test a build.
All reactions