-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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 get of nested module picks version from outer module #56974
Comments
What does "quickly followed" mean? |
Yes, the nested module was pushed immediately before. The screenshot above is a small indication of the timing -- I pushed franz-go@v1.10.1, waited about 30s, and then in then in franz-go/pkg/kadm, I just tried again and was still unable to
Screenshot attached showing this was still problematic after 9 hours: Since things are now "fixed" locally, I don't know what extra debugging I'll be able to do (until the next release...). Let me know if there's anything more I can look into / provide that can help. |
Update: actually I was able to do one more bit of investigating. The same thing was happening on my other laptop. I was able to resolve this locally by running:
My completely uninformed guess is that if |
Without the output from With the default proxy settings, this may be a duplicate of #38065. |
(other laptop is Linux [Ubuntu] but has similar defaults) |
I think it's slightly different -- I don't think |
If this happens again, you could check that by adding the Barring that, I don't think we have enough information to investigate further. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
This is happening on v1.20.5. I released a new module, github.com/twmb/franz-go/pkg/kmsg@v1.6.0.
The Go command does not issue any http requests. I suspect it's because I have old franz-go versions in my mod cache:
So go sees franz-go@v1.6.0 exists, but because kmsg is a separate module, the pkg is not in that top-level module:
|
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/twmb/franz-go/pkg/kadm@v1.6.0
Screenshot
What did you do?
I have a repo, github.com/twmb/franz-go with a module at the top-level repo root and other modules at subdirectories. Whenever I release the repo root (push a tag), I can
go get -u
the new version of the project within seconds. When I release a sub-module, it takes more time -- and if I release the main module quickly followed by a submodule, it takes tens of minutes (I'm not sure when / if the cache will purge).Repo structure:
I've managed tags like this for over a year now, and the wait for submodules has never been this long.
What did you expect to see?
go get github.com/twmb/franz-go/pkg/kadm@v1.6.0
to not fail for 30 minutes.What did you see instead?
for 30 minutes
The text was updated successfully, but these errors were encountered: