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

fix(similarity): Limit > 30 system frame check to Java #81385

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jangjodi
Copy link
Member

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
@@ -280,7 +293,7 @@ def _process_frames(frames: list[dict[str, Any]]) -> list[str]:
exc_value = _get_value_if_exists(exception_value)
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
Member 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
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
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