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
Add deepcopy generator checker #11165
Conversation
test-me-please |
9ba4d30
to
6200951
Compare
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good beside one potential typo
k8s deepcopy generator can have multiple groups for the same version passed as a parameter. To speed up the code generation we can merge all of them together. The amount of time decreased from 50s to 16s. Signed-off-by: André Martins <andre@cilium.io>
6200951
to
cd62ba8
Compare
The parent `StatusResponse` struct requires it to perform a deep copy. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
Signed-off-by: André Martins <andre@cilium.io>
To avoid code from being merged without being regenerated, this commit adds a checker, that will only run in the CI, to verify if there is code ungenerated. Signed-off-by: André Martins <andre@cilium.io>
cd62ba8
to
98728bb
Compare
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, the checker will be great.
Does any of the fix commits need a fixes:
tag? I think the code missing deepcopy was added recently and no backport is necessary here, right? (Just double-checking)
@qmonnet that is correct. I didn't had a fixes because it because of multiple commits and this is always happening. |
Multiple GKE failures, all looking like known flakes:
test-gke |
@qmonnet GKE is not marked as "Required" for a PR to be merged. |
|
To avoid code from being merged without being regenerated, this commit adds a checker, that will only run in the CI, to verify if there is code ungenerated.