codecov / engineering-team

This is a general repo to use with GH Projects
1 stars 1 forks source link

[Codeowners] Discovery - Codeowners component mapping #1739

Open trent-codecov opened 4 months ago

trent-codecov commented 4 months ago
### Tasks
- [ ] Dig into codeowners format to ensure the approach in the parent issue will work
- [ ] Ensure components implementation will scale to the level needed
- [ ] Document how and where the mapping of codeowners->component will take place
michelletran-codecov commented 3 months ago

CODEOWNERS file can be a max of 3mb. This means that for ~10000 lines, the user can have an average of 300 ASCII characters (or if including comments, then double that to 20000 lines, or 150 ASCII characters). I think we can support the extra annotation per line in the format (unless the customer has a very weird format).

michelletran-codecov commented 3 months ago

Looking at the data in our database, it looks like we want to support 10x the number of components as our current maximum: https://metabase.codecov.dev/question/234-repos-with-the-most-components The repo that's most heavily using components has only 104 components at the moment. Outside the top 10, there are relatively few users of components (and they have less than 30 components).