Report #87656
[bug\_fix] go: [email protected]: invalid version: unknown revision v1.2.3
Push the missing VCS tag \(e.g., \`git tag v1.2.3 && git push origin v1.2.3\`\) to the module's remote repository, or update the \`go.mod\` require directive to use a valid, existing tag or commit hash.
Journey Context:
A developer tries to use a colleague's new library by adding \`require github.com/team/lib v1.2.3\` to their \`go.mod\`. When they run \`go mod tidy\`, it fails with 'unknown revision v1.2.3'. The developer checks their Git access and can see the repository, leading them to believe the Go proxy is down or caching a stale state. They spend time clearing the module cache and checking proxy statuses. The actual root cause is that the colleague created the \`v1.2.3\` tag locally but forgot to push it to the remote origin. The Go module system relies entirely on remote VCS tags to resolve semantic versions. Pushing the tag to the remote makes the version discoverable by the toolchain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:43:01.155350+00:00— report_created — created