-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove CODEOWNERS rules /**/ci.yml
and /**/tests.yml
#33595
Conversation
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.
FYI @benbp
/check-enforcer override |
Sorry I guess had missed some of the context from Azure/azure-sdk-tools#5088 (comment), does this mean we won't get notified on ci/tests yml file changes, or that we are replacing that with a new codeowner or other config entry? |
@benbp see the Excel diff I linked to in this comment: The tab with
|
@konrad-jamrozik I see. I haven't been involved in these discussions so I don't want to block anything, but I did rely on being able to monitor pipeline yaml changes across all azure sdk pull requests. Is the plan to get rid of Wes and I as codeowners for those files permanently? |
@benbp I believe so, but I am not sure if Wes was aware you rely on these rules. @weshaggard can you chip-in? |
@benbp we have a conflict of interest here when it comes to supporting wildcards and using the ci/test.yml file to identify pipeline notification owners. Once we add the wildcard support these patterns will make us the owners for all pipelines and get notified as opposed to the area owners. I agree it is somewhat nice to be notified when folks change those files but I also think at this point most folks simply copy/paste those and not really a lot for us to review and give it gives us lots of noise. We will of course still get notified for anything under /eng/ but not necessarily for every ci/test.yml file. If you feel strongly about still getting notified we can try to come up with another mechanism to make that work. |
@weshaggard I don't think my minority case is important enough to get in the way of the larger goal here. I'll figure out some automation for my own review workflows just wanted to clarify whether this functionality was going away. |
@benbp we can talk about other workflow options next week in our 1:1. |
@weshaggard @benbp we do own the |
@konrad-jamrozik is my understanding correct that codeowners determines both who GitHub assigns as reviewers and that we use it for setting up build notifications? In this case it's the former functionality that I relied on, which I don't think we get in the middle of. Maybe there's some sort of comment syntax we could parse to exclude certain codeowners directives from the notification parser? I don't know how strict the syntax is. |
@benbp Yes. It works like that:
We could do that; we already have support for interpreting comments, which are ignored by GitHub. We were using it for FabricBot labelling logic, albeit right now it is unused. But in such case we will have to keep |
@konrad-jamrozik I'm happy to be marked as owner for those files. I wouldn't say block the current work on that but if we could add a notification parser ignore comment in the future (and it doesn't complicate things) it would be helpful! |
Another option I was thinking is we could fake this by asking for the owner of a non-existent file like |
@weshaggard I am not sure I understand how this would help. To my understanding we have following requirements:
Because of 1. we must keep the If we would add a "fake" path, as you suggest, it would not change any of the above - we still would have to keep the Adding such "fake" path would help separate the build failure notification recipients from reviewers of the path that will eventually match. Consider:
With your proposal, when a build from and it would work. This is because the Additional notes on path unrollingStrictly speaking we do not need |
@konrad-jamrozik I wasn't suggesting we would add |
@weshaggard ah, I see, thx. So basically in this line, i.e.:
replace this:
with something like:
With this, we can keep the and also submitted a PR: |
Yes that was the proposal. However @benbp and I just got done chatting and for now we don't want to do anything special to support this we will just remove |
Per these comments:
Related work: