-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: go list -m all
stuck forever
#60395
Comments
go list -m all
stucks forever.go list -m all
stuck forever
I'm not able to reproduce a hang on linux/amd64 with default
|
Ah, now I see that you are experiencing the problem in the Changing to that directory and setting I also see that it is using a lot of older dependencies, with I suggest switching to the default |
As far as I can tell this is an unfortunate situation where the dependency graph has become extremely large and direct fetching takes an inordinately long time. The former problem is mitigated by graph pruning, which still needs to be enabled in certain large projects. Beyond that, I don't think there is much we can do. |
For reference, here is the list of dependencies of that module that do not yet have graph pruning enabled:
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Initially, it happens on our private project, but I realized that, it can be reproducable on one of the public module I'm using.
From this repo (at
cmd/atlas
directory),https://github.com/ariga/atlas/tree/master/cmd/atlas
when I put
go list -m all
,it hangs forever.
What did you expect to see?
list of modules.
What did you see instead?
nothing. stuck forever.
The text was updated successfully, but these errors were encountered: