-
Notifications
You must be signed in to change notification settings - Fork 18k
x/exp/cmd/gorelease: gets stuck in "Run go mod tidy" loop with cyclic module dependencies #44133
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
Comments
Hi everyone, Just updated gopls and same here, my projects are red with the message err: exit status 1: stderr: go: updates to go.sum needed, disabled by -mod=readonly no matter if i run go mod tidy or delete go.sum and go install, nothing helps Can't help because i have no idea what happens here, good luck guys |
@ThomasP1988 Your errors don't seem related to this bug (not related to gorelease). Please open a new issue or ask in #gopls or #modules on Gopher Slack. |
This an interesting one. It looks like at this commit, cue transitively depends on When gorelease loads packages, it creates a module zip file as the
This lets the We're running into a problem here with that fake I think cc @jadekler |
I investigated this today. I was able to repro it with the (excellent!) repro steps above:
But, when I ran it on the latest version of gorelease, the problem seems to go away:
I suspect this has inadvertently been fixed in one of the other recent changes we've made. @myitcv could you confirm that you no longer see this issue? |
Looks good to me, thanks! I'll close on that basis, but please reopen if I grabbed the wrong end of the stick there. |
Thanks Paul! :) |
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?
If you will excuse the large reproducer:
What did you expect to see?
Success.
What did you see instead?
cc @jayconrod
The text was updated successfully, but these errors were encountered: