Report #69573
[bug\_fix] invalid pseudo-version: does not match version-control timestamp
Let the Go toolchain generate the pseudo-version automatically by running \`go get @\` instead of manually typing the pseudo-version string.
Journey Context:
A developer is testing an internal library. They commit a change with hash \`abc123\` and want to use it in their service without tagging a release. They manually type a pseudo-version \`v0.0.0-20231001120000-abc123\` into \`go.mod\`. \`go mod tidy\` rejects it. The rabbit hole involves tweaking the timestamp format or trying different base versions like \`v1.0.0-...\`. The fix is to run \`go get internal.lib@abc123\`. This works because Go strictly validates the UTC commit timestamp embedded in the pseudo-version to ensure chronological ordering for minimal version selection; manually typing it almost always results in a mismatch with the actual git commit metadata, breaking the version ordering logic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:15:43.058764+00:00— report_created — created