Skip to content

fix(codeowners): move AI conversation rules after endpoints catch-all#107664

Merged
vgrozdanic merged 1 commit intomasterfrom
fix/codeowners-ai-conversation-precedence
Feb 5, 2026
Merged

fix(codeowners): move AI conversation rules after endpoints catch-all#107664
vgrozdanic merged 1 commit intomasterfrom
fix/codeowners-ai-conversation-precedence

Conversation

@vgrozdanic
Copy link
Member

@vgrozdanic vgrozdanic commented Feb 5, 2026

Summary

  • Fix CODEOWNERS precedence for AI conversation endpoints
  • Move rules to a dedicated section after the /src/sentry/api/endpoints/ catch-all
  • PRs touching organization_ai_conversation*.py will now correctly tag @getsentry/telemetry-experience

Problem

GitHub CODEOWNERS uses last matching pattern wins precedence. The AI conversation endpoint rules were at line 507-509, but the catch-all /src/sentry/api/endpoints/ rule at line 554 was overriding them, incorrectly assigning @getsentry/issue-workflow.

GitHub CODEOWNERS uses last-matching-pattern-wins precedence. The AI
conversation endpoint rules were being overridden by the catch-all
`/src/sentry/api/endpoints/` rule that came later in the file.

Move the AI conversation rules to a dedicated section after the Issues
block, ensuring they come after the endpoints catch-all and correctly
assign @getsentry/telemetry-experience as the owner.
@vgrozdanic vgrozdanic requested a review from a team as a code owner February 5, 2026 12:07
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 5, 2026
@vgrozdanic vgrozdanic requested a review from a team February 5, 2026 12:08
@vgrozdanic vgrozdanic enabled auto-merge (squash) February 5, 2026 12:17
@vgrozdanic vgrozdanic merged commit f35af6f into master Feb 5, 2026
92 checks passed
@vgrozdanic vgrozdanic deleted the fix/codeowners-ai-conversation-precedence branch February 5, 2026 12:29
jaydgoss pushed a commit that referenced this pull request Feb 12, 2026
…#107664)

## Summary
- Fix CODEOWNERS precedence for AI conversation endpoints
- Move rules to a dedicated section after the
`/src/sentry/api/endpoints/` catch-all
- PRs touching `organization_ai_conversation*.py` will now correctly tag
`@getsentry/telemetry-experience`

## Problem
GitHub CODEOWNERS uses **last matching pattern wins** precedence. The AI
conversation endpoint rules were at line 507-509, but the catch-all
`/src/sentry/api/endpoints/` rule at line 554 was overriding them,
incorrectly assigning `@getsentry/issue-workflow`.
dcramer pushed a commit that referenced this pull request Feb 17, 2026
…#107664)

## Summary
- Fix CODEOWNERS precedence for AI conversation endpoints
- Move rules to a dedicated section after the
`/src/sentry/api/endpoints/` catch-all
- PRs touching `organization_ai_conversation*.py` will now correctly tag
`@getsentry/telemetry-experience`

## Problem
GitHub CODEOWNERS uses **last matching pattern wins** precedence. The AI
conversation endpoint rules were at line 507-509, but the catch-all
`/src/sentry/api/endpoints/` rule at line 554 was overriding them,
incorrectly assigning `@getsentry/issue-workflow`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants