Files
devvm/testdata/script
w3cjandClaude Opus 5.5 8e04b1c86d fix(scripts): bump.sh moves a Go tool's pseudo-version from the module proxy
mise latest prints nothing for go:go.uber.org/nilaway/cmd/nilaway, which
has no releases and is pinned to a pseudo-version, and exits 0, so
bump.sh --check reported "nilaway: X -> (change)" and the run listed it in
its summary without moving it.

dev-tools now reads a go: tool pinned to a pseudo-version from the Go
module proxy's @latest, for the longest prefix of its package's path that
the proxy has as a module (go.uber.org/nilaway). Only the proxy's 404 or
410 moves on to a shorter prefix; any other failure is an error, so a
failed request never takes another module's version. An empty newest
version, from the proxy or from mise latest, stops the run with an error,
never a change, before anything is edited. A pseudo-version has no
"newest within" for a hold to fall back on. proxy_url is the proxy's
escaped path, which mod_versions now shares.

bump.txtar's mise stub prints nothing for nilaway, as mise does, and its
curl stub answers the proxy's @latest with -w's status; it checks the
bump, the errors for an empty @latest, for no module at any prefix, for a
503 at a longer prefix and for an empty mise latest, each with mise.toml
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 12:57:34 -07:00
..