-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
approve
plugin makes assumptions about OWNERS file implementation
#7690
approve
plugin makes assumptions about OWNERS file implementation
#7690
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/lifecycle frozen |
Is there clear enough direction here for this to be |
Definitely not. It is unclear how approver suggestions and the list of files that still need approval should work with regexp filtering. |
This reverts commit a3e9a3f (openshift#1279). Using filters for approvers and reviewers is the long-term goal, but the approve plugin can't handle this yet [1,2]. [1]: kubernetes/test-infra#7690 [2]: https://github.com/kubernetes/community/blame/19dc4bed5b05c23a69e631f96573f8ed2e0774cb/contributors/guide/owners.md#L86-L87
/sig testing |
suggestion kubernetes/kubernetes#76162 (comment) |
That suggestion SGTM and seems clear enough. |
/assign I really want this functionality :) |
What is the status of this? We’d like to use this for k/website as well :) |
I looked into the plugin and realized that it needs a lot of work (like @cjwagner mentioned), just haven't had the time to implement it yet. |
What is the status of this issue? |
@dudicoco looks like nobody's currently working on it... |
@ykakarap and I are working on it. We have a POC that works already! We are writing up more tests and will create a KEP soon. 😄 |
Awesome! |
🎉 thanks! |
@nikhita Just wanted to ask if there is an update to the status of this issue. |
Hi @sbueringer , |
I implemented a fixing in #29970. PTAL 😄 |
#32) ## What Fixed: kubernetes#7690 Ref: - PingCAP-QE/ee-ops#621 ## How - Make it be fixed without massive refactoring, and not change the behavior and approve notifies. --------- Signed-off-by: wuhuizuo <wuhuizuo@126.com>
#32) Fixed: kubernetes#7690 Ref: - PingCAP-QE/ee-ops#621 - Make it be fixed without massive refactoring, and not change the behavior and approve notifies. --------- Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Warning message about filters on OWNERS files not working for the approve plugin links to <kubernetes/test-infra#7690>, which appears to be resolved.
Can someone confirm that #29970 is available in production? |
Something merged that long ago is definitely in production unless it was reverted. 7051401 put v20240517-ea10bd814 into prod (note this will be a commit in the kubernetes-sigs/prow repo now) and we can see at prow.k8s.io in the sidebar menu at the bottom that |
The
approve
plugin is not working with regex filtering because it makes a bunch of undocumented assumptions about the implementation of therepoowners
package which aren't necessarily true for regex filtered OWNERS files (thats what I get for copying code from mungegithub...)Some invalid assumptions that are not provided by the interface:
The
approve
plugin will need a pretty significant rewrite to support regex filtering. It was due for one anyways; it is very inefficient and excessively complex, but I don't think I'll have the cycles to do this in the near future.Other OWNERS file based plugins (
blunderbuss
,owners-label
) are unaffected by this problem and should work properly with regexp filtering.Sorry for the trouble Jeff☹️
/kind bug
/area prow
cc @ixdy @rmmh
The text was updated successfully, but these errors were encountered: