-
Notifications
You must be signed in to change notification settings - Fork 535
[Feature] Investigate dependabot package upgrade failure #3445
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
In #3396, the protobuf version for the apiserver was v1.36.5 whereas v1.36.6 in #3443. While PR #3396 was for bumping protobuf version for The version bump wasn't required in #3443, the breakage was avoided. Repro steps:
run
The difference was that protobuf version wasn't updated correctly in the go.mod I think using |
Thanks for the thorough investigation and experiment! Do you think it's possible to add |
The behavior is configured in the kuberay/.github/workflows/test-job.yaml Lines 56 to 62 in 89e980f
|
Update: By default, dependabot performs However, this isssue occurred when the sub-project was being checked was different from the sub-project that the PR targeted at, leading to a mismatch in the library version in the go.sum after running -- Another solution is adding grouping configuration such as:
The related updates will be grouped into one PR which avoids inconsistency across sub-projects. |
Re-open this issue, because I've seen a few more upgrade failure cases. |
@kenmcheng Are you willing to put out a PR? Currently I think manually resolve dependency issue is too labor intensive. |
Hi @dentiny, I have to take a deeper look into this issue since PRs came with different fail reasons. For instance, there was a codegen issue in #3472 which may not have a simple fix of modifying dependabot config file. (maybe adjusting github action workflow would help) |
Thank you @kenmcheng for the help! I really appreciate and admire your technical skill to reduce upgrade PR, and the methodology to approach the problem! My personal opinion is as long as we're going towards the right direction we're good, so no need to propose a perfect solution. |
#3509 another codegen fail. The following reference from the k8s-sigs may solve the codegen issue from the dependabot PRs. |
Search before asking
Description
A detailed failure case:
The only difference lies in golang and golang toolchain upgrade.
It would be nice (and somehow necessary) to investigate how to configure dependabot properly, otherwise we have to manually fix all the upgrade breakage ourselves.
Use case
No response
Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: