Report #10358
[bug\_fix] go: github.com/foo/[email protected]: reading github.com/foo/bar/go.mod at revision v1.0.0: unknown revision v1.0.0
Push the \`v1.0.0\` tag to the remote repository. If the tag exists locally but wasn't pushed, the Go module proxy cannot see it.
Journey Context:
A developer creates a new shared library, tags it \`v1.0.0\` locally with \`git tag v1.0.0\`, and then tries to use it in another project via \`go get github.com/foo/[email protected]\`. The command fails with 'unknown revision v1.0.0'. They double-check their local repository and the tag is definitely there. They try \`go mod tidy\` and clearing the cache, but nothing works. The realization hits: Go modules resolve dependencies via the remote repository and the Go module proxy, not the local filesystem \(unless using \`replace\` directives\). Because the developer only created the tag locally and forgot to run \`git push origin v1.0.0\`, the remote repository has no knowledge of the tag. The proxy queries the remote, finds no matching tag, and returns an error. The fix is to push the tag to the origin repository so the module proxy can resolve the version.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T10:24:42.829406+00:00— report_created — created