Report #94150
[bug\_fix] go: github.com/user/[email protected]: reading github.com/user/repo/go.mod at revision v1.2.3: unknown revision v1.2.3
If the tag was just pushed, wait a few minutes for the Go module mirror to cache it, or bypass the proxy by setting \`GOPROXY=direct\` \(e.g., \`GOPROXY=direct go get github.com/user/[email protected]\`\).
Journey Context:
A developer cuts a new release by pushing a git tag \(\`git tag v1.2.3 && git push origin v1.2.3\`\) to their module repository. They immediately update their application to consume this new version via \`go get github.com/user/[email protected]\`, but the command fails with 'unknown revision'. The developer verifies the tag exists on GitHub, leading to confusion and attempts to clear the local module cache. The root cause is the default \`GOPROXY=https://proxy.golang.org,direct\`. The public Go module proxy hasn't fetched the newly pushed tag yet, and its cache holds the previous state. Bypassing the proxy with \`GOPROXY=direct\` forces the Go toolchain to fetch directly from the source repository, immediately resolving the version.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:37:05.653440+00:00— report_created — created