chore: use directory patterns in CODEOWNERS#7726
Merged
Conversation
Replace individual file entries with directory patterns for directories where all files share the same owner. This ensures new files added to these directories will automatically inherit the correct team ownership instead of being unowned. Fixes 15 fragile coverage directories reported by codeowners-audit.
Contributor
Overall package sizeSelf size: 4.95 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.0 | 81.15 kB | 815.98 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7726 +/- ##
==========================================
- Coverage 80.47% 80.39% -0.09%
==========================================
Files 740 741 +1
Lines 32023 32064 +41
==========================================
+ Hits 25770 25777 +7
- Misses 6253 6287 +34 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BridgeAR
previously approved these changes
Mar 10, 2026
Member
|
LGTM with conflicts resolved |
BridgeAR
approved these changes
Mar 10, 2026
dd-octo-sts bot
pushed a commit
that referenced
this pull request
Mar 11, 2026
Replace individual file entries with directory patterns for directories where all files share the same owner. This ensures new files added to these directories will automatically inherit the correct team ownership instead of being unowned.
Merged
CarlesDD
pushed a commit
that referenced
this pull request
Mar 16, 2026
Replace individual file entries with directory patterns for directories where all files share the same owner. This ensures new files added to these directories will automatically inherit the correct team ownership instead of being unowned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Replaces individual file entries in
.github/CODEOWNERSwith directory patterns for directories where all files share the same owner. This fixes fragile coverage — directories where existing files had owners but any new files added would be unowned.Motivation
codeowners-auditreported 17 directories with fragile coverage. These were directories where every file was individually listed inCODEOWNERS, but there was no directory-level pattern to catch newly added files. Converting to directory patterns ensures new files automatically inherit the correct team ownership.Additional Notes
No ownership changes for existing files — this is purely about closing gaps for future files. Affected teams:
@DataDog/apm-idm-js,@DataDog/ci-app-libraries,@DataDog/lang-platform-js.