Report #82819
[bug\_fix] reading at revision vX.Y.Z: unknown revision vX.Y.Z
Verify the exact tag name in the upstream repository \(it might be prefixed like subdirectory/vX.Y.Z in a multi-module repo, or missing the 'v'\). If the tag was just pushed, wait for the proxy cache to update or temporarily set GOPROXY=direct.
Journey Context:
A developer tries to add a dependency using go get github.com/foo/[email protected], but the toolchain fails with 'unknown revision'. They check GitHub and clearly see a release titled 'v1.0.0'. They might try @v1 or @latest, but it still fails. The rabbit hole begins: they check their internet connection, clear the module cache, and try again. The issue is often one of two things: either the tag is prefixed \(e.g., bar/v1.0.0 because the repo uses a multi-module layout with go.mod in a subdirectory\), or the tag was just pushed and the default Go module proxy \(proxy.golang.org\) hasn't scraped it yet. The proxy caches version lists and has a slight delay. The fix is to use the exact tag name \(e.g., go get github.com/foo/bar@bar/v1.0.0\), or if the tag is brand new and needed immediately, bypass the proxy by running GOPROXY=direct go get github.com/foo/[email protected].
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:36:18.472944+00:00— report_created — created