Skip to content

ref(grouping): Parameterize messages in custom fingerprints#107808

Open
lobsterkatie wants to merge 2 commits intomasterfrom
kmclb-parameterize-messages-in-custom-fingerprints
Open

ref(grouping): Parameterize messages in custom fingerprints#107808
lobsterkatie wants to merge 2 commits intomasterfrom
kmclb-parameterize-messages-in-custom-fingerprints

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Feb 6, 2026

When we group events based on either a log message (from captureMessage) or an error message, we first do our best to parameterize them, so that Error with user 1 and Error with user 2 don't create separate groups. The same is not true, however, if that message appears as part of a custom fingerprint. This PR fixes that, by using the same normalize_message_for_grouping helper that we use in the first two cases in the latter case.

Note: Since prior to this change messages in fingerprints haven't been getting trimmed, this change preserves that behavior by setting trim_message to False. This is different from what we do when we're grouping log or error message directly, but means that message-containing fingerprints unaffected by parameterization won't change as a result of this PR.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 6, 2026
@lobsterkatie lobsterkatie marked this pull request as ready for review February 7, 2026 00:19
@lobsterkatie lobsterkatie requested a review from a team as a code owner February 7, 2026 00:19
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