Skip to content

Conversation

@roggenkemper
Copy link
Member

@roggenkemper roggenkemper commented Nov 11, 2025

pr adds a new config for the ai detected issue category which allows more control over what we show on the issue details page

fixes https://linear.app/getsentry/issue/ID-1084/add-new-issue-type-config-for-new-issue-category

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 11, 2025
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: AI Issues Misclassified as Performance

The eventOccurrenceTypeToIssueCategory function incorrectly categorizes AI detected issues (occurrence type 3501) as IssueCategory.PERFORMANCE instead of IssueCategory.AI_DETECTED. Since 3501 is >= 1000, it matches the performance condition. This prevents aiDetectedConfig from ever being applied, causing AI detected issues to use performance configuration instead.

static/app/utils/issueTypeConfig/index.tsx#L124-L129

hasTitle &&
!!getErrorHelpResource({title: params.title!, project})
);
}
const eventOccurrenceTypeToIssueCategory = (eventOccurrenceType: number) => {

Fix in Cursor Fix in Web


@linear
Copy link

linear bot commented Nov 11, 2025

@roggenkemper roggenkemper marked this pull request as ready for review November 11, 2025 16:50
@roggenkemper roggenkemper requested a review from a team as a code owner November 11, 2025 16:50
[IssueType.PROFILE_FUNCTION_REGRESSION]: RegressionEvidence,
[IssueType.QUERY_INJECTION_VULNERABILITY]: DBQueryInjectionVulnerabilityEvidence,
[IssueType.WEB_VITALS]: WebVitalsEvidence,
[IssueType.LLM_DETECTED_EXPERIMENTAL]: AIDetectedSpanEvidence,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we generally be consistent with AI detected vs LLM detected?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion - AI Detected is what we are calling the issue category,LLM detected so far is what we are calling the type. so for now if we can stay consistent with that, i think we are fine (changing these later isn't too difficult)

@roggenkemper roggenkemper merged commit d605d42 into master Nov 11, 2025
46 checks passed
@roggenkemper roggenkemper deleted the roggenkemper/llmspanevidence branch November 11, 2025 17:57
Jesse-Box pushed a commit that referenced this pull request Nov 12, 2025
pr adds a new config for the ai detected issue category which allows
more control over what we show on the issue details page

fixes
https://linear.app/getsentry/issue/ID-1084/add-new-issue-type-config-for-new-issue-category
andrewshie-sentry pushed a commit that referenced this pull request Nov 13, 2025
pr adds a new config for the ai detected issue category which allows
more control over what we show on the issue details page

fixes
https://linear.app/getsentry/issue/ID-1084/add-new-issue-type-config-for-new-issue-category
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants