-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 missing /sdk/<dir>
rules
#33597
Add missing /sdk/<dir>
rules
#33597
Conversation
# Note there are some sub-rules for this directory, defined below | ||
/sdk/applicationinsights/ @pallavit @jsquire | ||
# Note there are some sub-rules for this directory, defined below | ||
/sdk/cognitiveservices/ @pallavit @jsquire |
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.
Things with sub-rules will supersede this, right? For example, I won't be pinged every time there's something from Text Analytics or Form Recognizer that comes through?
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.
I think these are a set of directories that currently don't have owners and were covered by the /sdk/ pattern before. We should find the correct owners for these paths.
To answer your question exactly any patterns further down would override these but currently there aren't any for these paths.
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.
I'm not concerned with the paths themselves, but the sub-rules with owners below. For my example:
/sdk/cognitiveservices/textanalytics @someone @another
I just want to be sure that would override the top-level rule.
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.
Those would definitely override these rules however there currently isn't an /sdk/cognitiveservices/ rule so things like /sdk/cognitiveservices/ci.yml would match against this pattern and that is the path used for pipeline notifications. So we should try to add the correct owners for that so they get notified of pipeline failures.
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.
What is the guidance if we have multiple partners in the same directory? Do we separate the ci pipelines? Do the service team work with the engsys team to separate them?
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.
I think it depends on the teams. If we have multiple teams that we should consider the following:
- Should they be in the same service directory?
- Can they all be owners of a shared pipeline for the service directory if they should be together?
- If they should be in the same service directory but don't want to share ownership then we would need to split up the pipelines further perhaps to the package level. I would say this is the last resort, but it is possible.
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.
For a lot of these directories we only have track1 SDKs with minimal to 0 activity. So, I am not sure we have clear answers to these questions.
Also, last I heard we were trying to use a central db to keep ownerships current - is that still the plan? Is it happening along with these updates?
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.
Yes we are planning to try and move to a central db that would sync owners but we are still a long way from getting that all figured out.
/check-enforcer override |
This PR adds missing
/sdk/<dir>/
rules to CODEOWNERS. These dirs need assignment of appropriate owners. @pallavit @jsquire FYI.This change was proposed here:
Related work:
/**/ci.yml
and/**/tests.yml
#33595