Skip to content

fix(grouping): Fix int parameterization bugs#111870

Merged
lobsterkatie merged 6 commits intomasterfrom
kmclb-fix-int-parameterization-bugs
Mar 31, 2026
Merged

fix(grouping): Fix int parameterization bugs#111870
lobsterkatie merged 6 commits intomasterfrom
kmclb-fix-int-parameterization-bugs

Conversation

@lobsterkatie
Copy link
Copy Markdown
Member

This fixes two bugs with our integer parameterization:

  • Only count a dash as a minus sign if it doesn't come in between two sets of alphanumeric characters (so 1121-1231 comes out as <int>-<int> rather than <int><int> and maisey-908 comes out as maisey-<int> rather than maisey<int>, but difference:-4 and difference: -4 both are correctly parameterized as difference:<int> and difference: <int>, respectively).

  • Fix the fact that positive integers count as hex values if they have at least 8 digits, but negative integers still count as integers (no matter how long they are) by restricting the int pattern to 7 characters.

Note that the combination of these fixes (making sure that dashes count as minus signs for negative hex values if they're not part of a dashed string) will require changes to the hex pattern, and so isn't included here. (It will be addressed in an upcoming PR making other hex changes.)

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 31, 2026
@lobsterkatie lobsterkatie force-pushed the kmclb-fix-int-parameterization-bugs branch from e6e76c2 to 46d3f62 Compare March 31, 2026 17:54
@getsentry getsentry deleted a comment from github-actions bot Mar 31, 2026
@lobsterkatie lobsterkatie marked this pull request as ready for review March 31, 2026 19:05
@lobsterkatie lobsterkatie requested a review from a team as a code owner March 31, 2026 19:05
@lobsterkatie lobsterkatie merged commit 8ecaf1c into master Mar 31, 2026
130 of 131 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-fix-int-parameterization-bugs branch March 31, 2026 20:09
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