Report #15990
[bug\_fix] go: module : reading at revision : unknown revision
Ensure the tag is pushed to the remote repository. If just pushed, wait for the Go module proxy to cache it, or set \`GOPROXY=direct\` to bypass the proxy. The root cause is either a forgotten git push of the tag, or the default Go module proxy \(proxy.golang.org\) has not yet synced the newly published tag.
Journey Context:
A developer cuts a release by creating a git tag \`v1.5.0\` and pushing it with \`git push origin v1.5.0\`. They immediately update a downstream service to use this new tag via \`go get github.com/myorg/[email protected]\`. The command fails with an unknown revision error. Confused, they check GitHub and confirm the tag exists. They realize their \`GOPROXY\` is set to the default \`https://proxy.golang.org,direct\`. The public Go module proxy hasn't fetched the new tag yet due to caching delays. To unblock their CI pipeline, they set \`GOPROXY=direct\` to bypass the proxy and fetch directly from GitHub, which succeeds. They revert \`GOPROXY\` for future builds, knowing the proxy will eventually sync, and understand that the proxy layer introduces eventual consistency for newly published tags.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:28:33.545726+00:00— report_created — created