Skip to content

chore(llm issue detection): use group for fingerprint for llm detected issues fingerprint#108244

Merged
shayna-ch merged 6 commits intomasterfrom
shayna-ch/llm-detected-issues-group-for-fingerprint
Feb 13, 2026
Merged

chore(llm issue detection): use group for fingerprint for llm detected issues fingerprint#108244
shayna-ch merged 6 commits intomasterfrom
shayna-ch/llm-detected-issues-group-for-fingerprint

Conversation

@shayna-ch
Copy link
Member

@shayna-ch shayna-ch commented Feb 13, 2026

use group_for_fingerprint

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 13, 2026
@shayna-ch shayna-ch marked this pull request as ready for review February 13, 2026 22:36
@shayna-ch shayna-ch requested a review from a team as a code owner February 13, 2026 22:36
category: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
subcategory: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
verification_reason: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
group_for_fingerprint: str | None = Field(None, max_length=MAX_LLM_FIELD_LENGTH)
Copy link
Member

Choose a reason for hiding this comment

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

should be non-nullable

fingerprint = [f"llm-detected-{title}-{transaction_name}"]
fingerprint = (
[f"llm-detected-{group_for_fingerprint.lower().replace(' ', '-')}-{transaction_name}"]
if group_for_fingerprint is not None
Copy link
Member

Choose a reason for hiding this comment

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

is there a valid case for this being none?

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought some issue types didn't have the verification stage yet. Will any issue that gets to this function have gone through that stage?

Copy link
Member

Choose a reason for hiding this comment

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

ah I see. Yes all of them go through verification - some of them go through additional custom verification that gets added to the base verification

@shayna-ch shayna-ch requested a review from a team as a code owner February 13, 2026 22:49
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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

category: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
subcategory: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
verification_reason: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
group_for_fingerprint: str = Field(..., max_length=MAX_LLM_FIELD_LENGTH)
Copy link
Contributor

Choose a reason for hiding this comment

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

Required field breaks older detection payloads

Medium Severity

DetectedIssue now requires group_for_fingerprint, so create_issue_occurrence rejects payloads that were valid before this change. Any in-flight or lagging Seer responses without this key will raise ValidationError and skip issue creation.

Fix in Cursor Fix in Web

@shayna-ch shayna-ch merged commit fdd1f40 into master Feb 13, 2026
74 checks passed
@shayna-ch shayna-ch deleted the shayna-ch/llm-detected-issues-group-for-fingerprint branch February 13, 2026 23:37
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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