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(derive_code_mapping): Pass platform around the code base #86026

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Feb 27, 2025

This is in preparation for the Java in-app work.

@armenzg armenzg self-assigned this Feb 27, 2025
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 27, 2025
def __init__(self, frame: Mapping[str, Any]) -> None:
# XXX: In the next PR, we will use more than just the filename
def __init__(self, frame: Mapping[str, Any], platform: str | None = None) -> None:
# XXX: platform will be used in a following 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.

Soon 😄

@@ -37,9 +37,6 @@ def get_stacktraces(data: NodeData | dict[str, Any]) -> list[dict[str, Any]]:
if exceptions:
return [e["stacktrace"] for e in exceptions if get_path(e, "stacktrace", "frames")]

stacktrace = data.get("stacktrace")
if stacktrace and stacktrace.get("frames"):
logger.warning("Investigate if we use this code path in production.")
Copy link
Member Author

Choose a reason for hiding this comment

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

This warning is nowhere to be found in Sentry, thus, simplifying this.

@armenzg armenzg marked this pull request as ready for review February 27, 2025 15:15
@armenzg armenzg requested a review from a team as a code owner February 27, 2025 15:15
@armenzg armenzg merged commit 48d82cc into master Feb 28, 2025
50 checks passed
@armenzg armenzg deleted the ref/frame_info/improvements/grouping/armenzg branch February 28, 2025 13:25
Copy link

sentry-io bot commented Feb 28, 2025

Suspect Issues

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

  • ‼️ KeyError: 'stacktrace' sentry.tasks.post_process.post_process_group View Issue

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

armenzg added a commit that referenced this pull request Feb 28, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2025
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.

2 participants