cmd/go: print an incomplete go mod graph even if an error occurs #32932
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go mod graph
is an invaluable tool for debugging module problems. It allows us to see problems deep into our transitive dependencies. However, it completely falls over if there is a single issue somewhere in the graph, and if that issue is not at the root module it's quite hard to debug transitive dependency problems.Consider, for example:
It would be ideal if the
go mod graph
command traversed and printed as much of the graph as possible, and indicated which nodes were problematic. For example:(last two lines are STDERR, first three are STDOUT)
The text was updated successfully, but these errors were encountered: