Skip to content

Conversation

@lobsterkatie
Copy link
Member

In #80935, we switched from calculating fingerprinting rule text in the expose_fingerprint_dict helper to reading it from the fingerprint info, since as of #79231 we store it there. This works fine for new events, but this code also runs when someone opens the grouping info section of the issue details page, and if they do that on an event from before we started storing the rule text, it results in a key error.

This fixes that by partially undoing the change made in #80935 - it doesn't switch back to always re-calculating the the rule text, but does fall back to doing so when it's not found in the stored data.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 20, 2024
@lobsterkatie lobsterkatie force-pushed the kmclb-add-default-value-for-fingerprint-rule-text branch from f1abb62 to d8ec996 Compare November 20, 2024 21:47
@lobsterkatie lobsterkatie marked this pull request as ready for review November 20, 2024 22:37
@lobsterkatie lobsterkatie requested a review from a team as a code owner November 20, 2024 22:37
@lobsterkatie lobsterkatie merged commit 4c82c8f into master Nov 20, 2024
50 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-add-default-value-for-fingerprint-rule-text branch November 20, 2024 22:38
harshithadurai pushed a commit that referenced this pull request Nov 25, 2024
In #80935, we switched from calculating fingerprinting rule text in the `expose_fingerprint_dict` helper to reading it from the fingerprint info, since as of #79231 we store it there. This works fine for new events, but this code also runs when someone opens the grouping info section of the issue details page, and if they do that on an event from before we started storing the rule text, it results in a key error.

This fixes that by partially undoing the change made in #80935 - it doesn't switch back to always re-calculating the the rule text, but does fall back to doing so when it's not found in the stored data.
evanh pushed a commit that referenced this pull request Nov 25, 2024
In #80935, we switched from calculating fingerprinting rule text in the `expose_fingerprint_dict` helper to reading it from the fingerprint info, since as of #79231 we store it there. This works fine for new events, but this code also runs when someone opens the grouping info section of the issue details page, and if they do that on an event from before we started storing the rule text, it results in a key error.

This fixes that by partially undoing the change made in #80935 - it doesn't switch back to always re-calculating the the rule text, but does fall back to doing so when it's not found in the stored data.
andrewshie-sentry pushed a commit that referenced this pull request Dec 2, 2024
In #80935, we switched from calculating fingerprinting rule text in the `expose_fingerprint_dict` helper to reading it from the fingerprint info, since as of #79231 we store it there. This works fine for new events, but this code also runs when someone opens the grouping info section of the issue details page, and if they do that on an event from before we started storing the rule text, it results in a key error.

This fixes that by partially undoing the change made in #80935 - it doesn't switch back to always re-calculating the the rule text, but does fall back to doing so when it's not found in the stored data.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2024
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.

3 participants