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
gomod major update checksum failure #9761
Comments
Thank you for providing a reproduction! 🎉 🚀 The Renovate team will take a look at the reproduction repository. Once we confirm the provided repository reproduces the problem, the label will be changed to |
I could reproduce this locally when Renovate ran go 1.15.1, and then it was fixed when Renovate ran go 1.16.3: https://github.com/renovate-tests/test-1/pull/1/files I'll submit a PR today so that Renovate always runs the latest go version and not the minimum which satisfies the project, because it seems bugs are not aggressively backported. |
But what about breaking changed in the latest go version related to module naming/update/include logic? Wouldn't it cause issues if the project is intended to work with go 1.15 and 1.16 introduces changes related to modules? |
Copy/paste part of the discussion that happened on #9748 between @rarkins and @bcmills
|
Let's try this approach. I will add docs for how to force an older version using config and we may have to roll back this behavior change if it causes too many problems, but for now I think it will fix a lot of things. |
🎉 This issue has been resolved in version 24.119.14 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
I still have the same problem v-byte-cpu/sx#67 |
Looks like just the backport PR was merged, but the merge to the main branch is still missing. |
Enabled automerge, should be done in ~15min 🤗 |
🎉 This issue has been resolved in version 25.7.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@viceice @rarkins While this should be fixed in 24.119.14 the PR in the test repo is still not working with this renovate version :( xoxys/test#6 |
And to make it even worse, now non-major version updates seem to be broken as well (but were working before):
Maybe that's the wrong part from the log, but I could not find anything else that indicates and error... There is no error in the PR anymore, so it fails "silently" somehow. |
Please create a new issue and locate the logs for when the commit was made. Within that locate the "docker run" command and log output. |
Related to #9748 |
When with the v25 release of renovate be available via the GitHub application? It is currently reporting v24 as the version and my go projects are no longer patching due to failure to update modules hosted via gopkg.io. It has been reported that v25 resolves this issue. |
Both v24 and v25 have the same capabilities here and should both now be selecting 1.16 to run. I think what is still needed is to add the gomodrw flag so that the cache is not written as read-only. However I still have some suspicions that gopkg.in caching is particularly buggy in go - it's not impacting other sources. |
Appreciate the response @rarkins. Is an active thread somewhere with regards to setting the |
I got the option name wrong but it's in #9748 |
What Renovate type, platform and version are you using?
Hosted app
Describe the bug
A major update fails to update the checksum
Relevant debug logs
In the PR
Click me to see logs
Have you created a minimal reproduction repository?
Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
Additional context
Reported by @xoxys in #9713
The text was updated successfully, but these errors were encountered: