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(auto_source_config): Do not process categorized frames #88440

Merged

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Apr 1, 2025

A developer may clone an Android sample app, thus, we can end up creating a code mapping and stack trace rule for it.

This change prevents attempting to create code mappings and stack trace rules for frames we have already categorized with our internal rules.

In other words, only non-categorized frames will be attempted.

A developer may clone an Android sample app, thus, we can end up creating a code mapping and stack trace rule for it.

This change prevents attempting to create code mappings and stack trace rules for frames we have already categorized with our internal rules.

In other words, only non-categorized frames will be attempted.
@armenzg armenzg requested a review from a team as a code owner April 1, 2025 14:45
@armenzg armenzg self-assigned this Apr 1, 2025
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 1, 2025
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

Attention: Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...sues/auto_source_code_config/test_process_event.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #88440       +/-   ##
===========================================
+ Coverage   71.28%   87.72%   +16.43%     
===========================================
  Files       10000    10002        +2     
  Lines      566438   566609      +171     
  Branches    22257    22257               
===========================================
+ Hits       403800   497069    +93269     
+ Misses     162220    69122    -93098     
  Partials      418      418               

@armenzg armenzg requested a review from MichaelSun48 April 1, 2025 18:54
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.

LGTM!

@armenzg armenzg merged commit 78f6981 into master Apr 2, 2025
49 checks passed
@armenzg armenzg deleted the feat/exclude_categorized_frames/auto_source/armenzg branch April 2, 2025 12:05
Copy link

sentry-io bot commented Apr 2, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ AttributeError: 'NoneType' object has no attribute 'get' sentry.tasks.post_process.post_process_group View Issue

Did you find this useful? React with a 👍 or 👎

andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
A developer may clone an Android sample app, thus, we can end up
creating a code mapping and stack trace rule for it.

This change prevents attempting to create code mappings and stack trace
rules for frames we have already categorized with our internal rules.

In other words, only non-categorized frames will be attempted.
@armenzg armenzg requested a review from Copilot April 9, 2025 13:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

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