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
Avoid breaking changes in public interfaces: use apidiff as presubmit for client-go staging repo #124380
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig testing /help |
@aojea: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@dims this is about warning on these changes in general, not about that specific one, as it is easy some of these things slip during reviews, we can have a job that detects these changes on staging client-go |
@aojea Ack. we have |
didn't know that event existed :) , so we just need to make it available, at least in the client-go repo , we can start with informative to see how it goes, WDYT? |
yep! |
go APIs have always been out of scope for API review, we don't have the capacity to route everything that apidiff would flag as a go API change through that process I guess I don't object to running it as informative, but I think many more PRs than you expect change a public signature, and will turn the job red, to the point where it will just be ignored |
I'm thinking in client-go only , as use to be the most problematic since is vendored by controller runtime and all projects that build controllers |
FWIW, I had a PR for enabling apidiff with the intention to add it as an optional, on-demand job. Jordan raised the same concerns there, so I closed it. |
"Optional, on-demand" might have worked in #122069 (comment) if the folks involved had known and remembered to run it. The API break was caught during review, the scope of it was just underestimated. Perhaps seeing the apidiff output would have helped? 🤷 |
can you reopen so we can make it "Optional, on-demand" , at least I will selfishly use it :) |
Is there any pending action on this one or can we close it? |
/close |
@aojea: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Ideally we should have a linter or some presubmit that detects this breakages and block the PR waiting for API review, it just have to add the label
kind/api-change
/cc @liggitt
The text was updated successfully, but these errors were encountered: