Report #48871
[bug\_fix] go: github.com/example/[email protected]: reading at revision v1.0.0: unknown revision v1.0.0
Bypass the Go module proxy temporarily by running GOPROXY=direct go get github.com/example/[email protected], or wait a few minutes for the proxy's cache to expire and update its version list.
Journey Context:
A developer cuts a new release by pushing a v1.0.0 tag to their Git repository. They immediately update their application to use this new tag via go get github.com/example/[email protected]. The command fails, claiming the revision is unknown. The developer verifies the tag exists on GitHub and might even delete and re-push the tag, but the error persists. The root cause is the default Go module proxy \(proxy.golang.org\). The proxy caches the list of versions for a module and does not immediately query the origin VCS for new tags. Furthermore, when the proxy previously returned a 404 for this version, the local Go toolchain cached that Not Found response. Using GOPROXY=direct bypasses the proxy and the local cache, forcing the toolchain to fetch directly from the source repository, successfully resolving the newly created tag.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:31:01.392736+00:00— report_created — created