Report #45576
[bug\_fix] go: [email protected]: reading ... at revision ...: unknown revision ...
Wait a few minutes for the Go module mirror to sync, or bypass the mirror by setting \`GOPROXY=direct\` before running \`go get\`.
Journey Context:
A developer cuts a release by pushing a Git tag \`v1.2.3\` to GitHub. They immediately update their downstream microservice to consume this new tag via \`go get github.com/myorg/[email protected]\`. The command fails, claiming the revision is unknown. They verify the tag exists on GitHub, check their Git credentials, and try again, still failing. The rabbit hole leads them to suspect caching issues or Git authentication problems. The root cause is the default \`GOPROXY=https://proxy.golang.org,direct\`. The Go module mirror caches dependencies for immutability and performance. When a new tag is pushed, the mirror hasn't cached it yet, and its origin fetch cycle might not have run instantly. The fix works because setting \`GOPROXY=direct\` instructs the Go toolchain to bypass the proxy and fetch directly from the version control system \(GitHub\), where the tag is already live. Waiting also works as the mirror eventually syncs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:58:34.031688+00:00— report_created — created