cmd/go: 'go list -mod=readonly -m all' spuriously fails with "cannot query module due to -mod=readonly #36478
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
An issue reported by @robpike. Apparently something about
go list -m
is causing it to query modules, which fails when-mod=readonly
is set.go list -m all
should never need to query modules, since it is only asking to list the modules that are already present in the dependency graph.CC @heschik @jayconrod @matloob
The text was updated successfully, but these errors were encountered: