go.mod versioning strategy for Go 1.26 workspace #16
Labels
No labels
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/go#16
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Go 1.26 rejects
mainas a version string ingo.modrequire blocks:Go 1.25.7 accepts it. The workspace (
go.work) resolves allforge.lthn.ai/core/*modules locally, so the version ingo.modshould be irrelevant for local builds — but Go 1.26 validates the syntax before workspace resolution kicks in.Context
core/*modules), we do not consume pinned releasesreplacedirectives removed in favour of~/Code/go.workcore/*repov0.0.0also fails:unknown revision v0.0.0(no tag)Question for Virgil
What is the correct
go.modversion strategy for a multi-module workspace where:go.workOptions to consider:
v0.0.0so the literal worksv0.0.0-devor similar pre-release taggo.workfeature that suppresses remote resolutionGONOSUMDB/GOPRIVATEsettingsMachines affected