Repository navigation
versions: Validate, Newest and Resolve are this module's own - #16
Merged
Merged
Conversation
No repository that takes go-tools calls them - spin, spin-ami, spin-machine, shipset and spin-pr-gotools vet against this tree through a go.work - and each export is a promise to all five that nobody holds. Parse and Set still validate, Bump and Check still resolve, and Status.Newest stays: cmd/versions prints it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
aledbf
force-pushed
the
versions/unexport-unused
branch
from
September 29, 2026 12:53
06e0971 to
578d20f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Entry.Validate,upstream.Newestandupstream.Resolvehave no caller outside this module: spin, spin-ami, spin-machine, shipset and spin-pr-gotools were vetted (go vet ./...with-tags=integration,e2e) against this tree through a go.work, all clean (spin-pr-gotools stops only on its unbuiltweb/distembed). Each export was a promise to five repositories that nobody held.Status.Neweststays:cmd/versionsprints it.The rename puts
newest,resolve,validate,CheckandSetwhole in the mutation gate, and 27 of their edits had no test that refused them. The second commit holds them, with no network: a local git repository (lightweight and annotated tags, a branch), adockerstand-in on PATH, and httptest servers.resolve: a git pin is the commit (an annotated tag peeled, a branch's head), a download's is the sum at the version asked, an image's is docker's digest; each failure is an error.newest: tags, branch, commit, the github-release track's own repository, a pypi name that is no URL, an unknown track.Check: 11 entries covering current, behind by version, behind at the same version, a commit-tracked file at head / moved / unreadable, a git entry by commit, follows, unknown.validate: a download's https +{version}source, a module's package path.Set's[2]string→[3]stringis exempt: nothing reads pastkv[1].task test(coverage 62.8% → 66.7%),task lint: greentask mutate: 71 refused, 0 survived🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.