-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(grouping): Delete old configurations and snapshots #79677
base: master
Are you sure you want to change the base?
Changes from 3 commits
c44c8f8
45dfa5c
29308d8
e0e7c38
d29e3f8
8b9ca5b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from sentry.grouping.strategies.base import ( | ||
RISK_LEVEL_HIGH, | ||
RISK_LEVEL_MEDIUM, | ||
StrategyConfiguration, | ||
create_strategy_configuration, | ||
) | ||
|
@@ -70,35 +69,9 @@ def register_strategy_config(id: str, **kwargs) -> type[StrategyConfiguration]: | |
return rv | ||
|
||
|
||
# Legacy groupings | ||
# | ||
# These we do not plan on changing much, but bugfixes here might still go | ||
# into new grouping versions. | ||
|
||
register_strategy_config( | ||
id="legacy:2019-03-12", | ||
strategies=[ | ||
"threads:legacy", | ||
"stacktrace:legacy", | ||
"chained-exception:legacy", | ||
], | ||
delegates=["frame:legacy", "stacktrace:legacy", "single-exception:legacy"], | ||
changelog=""" | ||
* Traditional grouping algorithm | ||
* Some known weaknesses with regards to grouping of native frames | ||
""", | ||
initial_context={ | ||
"normalize_message": False, | ||
}, | ||
enhancements_base="legacy:2019-03-12", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will remove the |
||
) | ||
|
||
# Simple newstyle grouping | ||
# | ||
# This is a grouping strategy that applies very simple rules and will | ||
# become the new default at one point. Optimized for native and | ||
# javascript but works for all platforms. | ||
# Configurations | ||
|
||
# This is left behind in order to have less changes happen in one pull request. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some tests depend on having a legacy configuration to update from. |
||
register_strategy_config( | ||
id="newstyle:2019-05-08", | ||
risk=RISK_LEVEL_HIGH, | ||
|
@@ -124,32 +97,23 @@ def register_strategy_config(id: str, **kwargs) -> type[StrategyConfiguration]: | |
enhancements_base="common:2019-03-23", | ||
) | ||
|
||
# This is the grouping strategy used for new projects. | ||
register_strategy_config( | ||
id="newstyle:2019-10-29", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping this configuration and all related snapshots. |
||
id="newstyle:2023-01-11", | ||
base="newstyle:2019-05-08", | ||
risk=RISK_LEVEL_MEDIUM, | ||
risk=RISK_LEVEL_HIGH, | ||
changelog=""" | ||
* Better rules for when to take context lines into account for | ||
JavaScript platforms for grouping purposes. | ||
* Better support for PHP7 anonymous classes. | ||
""", | ||
initial_context={ | ||
"php_detect_anonymous_classes": True, | ||
"with_context_line_file_origin_bug": False, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
}, | ||
) | ||
|
||
register_strategy_config( | ||
id="newstyle:2023-01-11", | ||
base="newstyle:2019-10-29", | ||
risk=RISK_LEVEL_MEDIUM, | ||
changelog=""" | ||
* Added new language/platform specific stack trace grouping enhancements rules | ||
that should make the default grouping experience better. | ||
This includes JavaScript, Python, PHP, Go, Java and Kotlin. | ||
* Added ChukloadErrors via new built-in fingerprinting support. | ||
""", | ||
initial_context={ | ||
"php_detect_anonymous_classes": True, | ||
"with_context_line_file_origin_bug": False, | ||
"java_cglib_hibernate_logic": True, | ||
}, | ||
enhancements_base="newstyle:2023-01-11", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this configuration and all related snapshots.