Skip to content

Conversation

@jangjodi
Copy link
Contributor

Limit > 30 system frame check to Java platform due to bug in grouping info

@jangjodi jangjodi requested a review from a team as a code owner November 27, 2024 20:05
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 27, 2024
elif exception_value.get("id") == "stacktrace" and frame_count < MAX_FRAME_COUNT:
frame_strings = _process_frames(exception_value["values"])
if is_frames_truncated and not app_hash:
if platform in SYSTEM_FRAME_CHECK_PLATFORMS and is_frames_truncated and not app_hash:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

only raise this exception if the platform is in SYSTEM_FRAME_CHECK_PLATFORMS

Copy link
Member

@armenzg armenzg left a comment

Choose a reason for hiding this comment

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

Amazing! 🎉

@jangjodi jangjodi enabled auto-merge (squash) November 27, 2024 20:33
@codecov
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #81385   +/-   ##
=======================================
  Coverage   80.37%   80.37%           
=======================================
  Files        7231     7231           
  Lines      319927   319928    +1     
  Branches    20810    20810           
=======================================
+ Hits       257156   257158    +2     
+ Misses      62378    62377    -1     
  Partials      393      393           

@jangjodi jangjodi merged commit d04a824 into master Nov 27, 2024
51 checks passed
@jangjodi jangjodi deleted the jodi/similarity-fix-limit-system-frame-check branch November 27, 2024 21:35
jan-auer added a commit that referenced this pull request Nov 28, 2024
* master: (219 commits)
  fix: flatten searchable os distribution fields (#81297)
  chore(profiling): Remvoe unused profile functions metrics hook (#81396)
  fix(prompts): Properly return false instead of undefined when prompt data is null (#81404)
  fix(insights): broken screen rendering doc link (#81257)
  fix(rpc): Only groupby when needed (#81403)
  feat(grouping): Tally frame types while building exception grouping components (#81341)
  fix(similarity): Limit > 30 system frame check to Java (#81385)
  feat(alerts): Adds EAP spans results consumer configs (#81365)
  ref(insights): simplify domain view header by using tab links (#81324)
  fix(issues): Add projectId for flag onboarding on click (#81387)
  chore(flamegraphs): Remove unused legacy flamegraph code path (#81381)
  fix(performance): No table overflow + glitchy behaviour (#81378)
  feat(widget-builder): Add feature flag for redesign (#81377)
  feat(profiling): Clean up continuous profiling ui and compat flags (#81260)
  feat(visibility): Clamp date range for `TagStore` queries (#81363)
  test(taskbroker): Add CLI command for sending taskbroker tasks (#81319)
  feat(dashboards): Add ff for favouriting dashboards (#81368)
  fix(trace) match event_id by error (#81370)
  fix(insights): add missing slash on performance moving banner (#81364)
  ref(models): Include event id in `Event` repr (#81345)
  ...
armenzg added a commit that referenced this pull request Dec 2, 2024
In #81385, we whitelisted a list of platforms that would be prevented from sending seer more than 30 system contributing frames.

Changing it to a blacklist allows adding new platforms without requirying to opt them in to the new behaviour.

Over time, we should move more platforms from the blacklist to the whitelist.
andrewshie-sentry pushed a commit that referenced this pull request Dec 2, 2024
Limit > 30 system frame check to Java platform due to bug in grouping
info
armenzg added a commit that referenced this pull request Dec 3, 2024
… it (#81520)

In #81385, we whitelisted a list of platforms that would be prevented
from sending seer more than 30 system contributing frames.

Changing it to a blacklist allows adding new platforms without requiring
them to opt into the new behaviour.

Over time, we should move more platforms from the blacklist to the
whitelist.
armenzg added a commit that referenced this pull request Dec 12, 2024
…frames

This is a follow-up to #81385.

This prevents both *in-app* and *system* frames from being sent to seer when over 30 frames since we can't guarantee that we're not overgrouping.
armenzg added a commit that referenced this pull request Dec 12, 2024
This is a follow-up to #81385.

This prevents both *in-app* and *system* frames from being sent to Seer
when we have more than 30 frames since we can't guarantee that we're not
overgrouping.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 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