Skip to content
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

feat(grouping): Do not categorize these packages as in-app #88787

Merged
merged 5 commits into from
Apr 8, 2025

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Apr 4, 2025

Categorizing these frames will prevent deriving in-app stack trace rules for them.

A flaw with my system is that many Java packages can be forked, thus, the derivation system will categorize them as in-app.

@armenzg armenzg self-assigned this Apr 4, 2025
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 4, 2025
Marking these frames as system will prevent deriving in-app stack trace rules for them.

Using `-app` is not enough to skip the derivation system.

*NOTE*: Some of the modules are still just marked with `-app` and they will be handled in a following PR in order to keep the diff to a minimum
@@ -119,25 +119,53 @@ family:native package:libobjc* category=system
family:native package:libsystem* category=system
family:native package:/system/** category=system
family:native package:/vendor/** category=system
module:dalvik.system.* category=system
module:com.android.* category=system
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved these to the block below.

family:native package:libdispatch.dylib category=system
family:native package:WebKit category=system
family:native package:**/libart.so category=system
package:/apex/com.android.*/lib*/** category=system


## java
Copy link
Member Author

Choose a reason for hiding this comment

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

The new packages included come from conversations with @lcian


## java
# Having a category prevents deriving in_app stack trace rules
# XXX: Adjust all -app lines in the next PR
Copy link
Member Author

Choose a reason for hiding this comment

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

Some of these lines have -app instead of a category. I will handle them in the following PR. I prioritized keeping the diff to a minimum, and in some cases, I saw hash changes that I wanted to investigate.

module:feign.* category=system
module:dalvik.system.* category=system
module:io.opentelemetry.* category=system
module:io.sentry.* -app -group
Copy link
Member Author

Choose a reason for hiding this comment

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

Some of the lines here come from the bottom of this file:
image

@armenzg armenzg marked this pull request as ready for review April 4, 2025 14:19
@armenzg armenzg requested a review from a team as a code owner April 4, 2025 14:19
@armenzg armenzg requested a review from lobsterkatie April 4, 2025 14:20
Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

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

Looks good!

@armenzg armenzg merged commit cb602a0 into master Apr 8, 2025
46 checks passed
@armenzg armenzg deleted the system_frame/rules/armenzg branch April 8, 2025 11:28
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Categorizing these frames will prevent deriving in-app stack trace rules
for them.

A flaw with my system is that many Java packages can be forked, thus,
the derivation system will categorize them as in-app.
Christinarlong pushed a commit that referenced this pull request Apr 10, 2025
Categorizing these frames will prevent deriving in-app stack trace rules
for them.

A flaw with my system is that many Java packages can be forked, thus,
the derivation system will categorize them as in-app.
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