-
Notifications
You must be signed in to change notification settings - Fork 18k
x/exp/cmd/gorelease: unexpected go.sum complaint #70354
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
More information would really help for progress on this. Like a minimized reproducer or an anonymized go.sum file could really help. The contents of the variables in the gorelease.go line:
would also be useful. |
@timothy-king How to produce the info you need, anonymized go.sum? |
I would just printf those values when the diagnostic is being created. But debugger also works. Hopefully those lines will tell us something interesting about what the failure is and hint at the next steps to take. Right now all we really know is that this line is being reached. I am hoping to try to work backwards from that. |
@timothy-king Looks like this is related to the go.mod having a directive like this: for this requirement: The diff in the go.sum file is: It's pulling in the unwanted jwt version in the go replace case. Added this to gorelease.go to make easy to debug, in case you want to add something like that for future debugging.
|
@seankhliao What other info are you waiting for, seems like obvious bug in the code related to the |
I don't think that's sufficient information for us to reproduce or identify the issue. |
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.) |
Go version
go 1.22.9 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
gorelease
using latest version v0.0.0-20241009180824-f66d83c29e7c
What did you see happen?
diagnostics
go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.
What did you expect to see?
No issues with go.sum, as running go mod tidy makes NO difference here.
This was reported before with #64051
Seems like a good bug to me.
This is against a private internal repo, so can share anything about that.
The text was updated successfully, but these errors were encountered: