chore(codeowners): clean up#115237
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 797c934. Configure here.
| /src/sentry/integrations/perforce/ @getsentry/product-owners-settings-integrations @getsentry/ecosystem @getsentry/scm @getsentry/gdx | ||
| /src/sentry/integrations/source_code_management/ @getsentry/coding-workflows-sentry-backend @getsentry/scm | ||
| /src/sentry/integrations/repository/ @getsentry/scm | ||
| /src/sentry/integrations/github_foundations/ @getsentry/scm |
There was a problem hiding this comment.
CODEOWNERS path references non-existent directory name
High Severity
The path /src/sentry/integrations/github_foundations/ does not exist — the actual directory is github_enterprise/. This appears to be an accidental rename of the directory path (possibly confusing the team name foundations with the directory name). The corresponding test path on line 895 correctly uses github_enterprise/. As a result, the @getsentry/scm team won't be assigned as code owners for files in src/sentry/integrations/github_enterprise/.
Reviewed by Cursor Bugbot for commit 797c934. Configure here.
| /src/sentry/integrations/discord/* @getsentry/messaging-integrations | ||
| /tests/sentry/integrations/slack/* @getsentry/messaging-integrations | ||
| /tests/sentry/integrations/msteams/* @getsentry/messaging-integrations | ||
| /tests/sentry/integrations/discord/* @getsentry/messaging-integrations |
There was a problem hiding this comment.
Glob pattern /* won't match subdirectory files
High Severity
The new messaging and project management integration rules use /* (e.g., /src/sentry/integrations/slack/*), which in CODEOWNERS only matches files directly in that directory, not files in subdirectories. These integration directories all contain nested subdirectories like webhooks/, actions/, handlers/, etc. Files in those subdirectories won't be matched, so the intended teams won't be requested for review. The trailing / (without *) or /** would match recursively.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 797c934. Configure here.


Part of https://linear.app/getsentry/issue/ISWF-2308/product-level-codeowners 🧼
Killing multiple non-existing old teams: ecosystem, enterprise, integrations, alert-notifications
Splitting integrations by type: project management, coding, messaging, others
Clarify unowned areas under "foundations" potentially to be reviewed by future product platform team