Skip to content

fix(profiling): keep frame-level platform information when available in mixed stack traces #68694

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

Merged
merged 9 commits into from
Apr 11, 2024

Conversation

viglia
Copy link
Contributor

@viglia viglia commented Apr 11, 2024

Way back we added frame-level platform information in vroom, but we're not passing this information down from sentry.

This will help us to distinguish between js and cocoa frames in mixed stack traces scenarios (such as for react-native).

@viglia viglia requested a review from a team as a code owner April 11, 2024 13:39
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 11, 2024
so we should only set it explicitly when we're dealing with symbolicated
frames
Copy link

codecov bot commented Apr 11, 2024

Bundle Report

Changes will increase total bundle size by 2.87kB ⬆️

Bundle name Size Change
sentry-webpack-bundle-array-push 26.29MB 2.87kB ⬆️

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.73%. Comparing base (8fb3591) to head (fe9a4ec).
Report is 2 commits behind head on master.

❗ Current head fe9a4ec differs from pull request most recent head b6360f1. Consider uploading reports for the commit b6360f1 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #68694       +/-   ##
===========================================
+ Coverage   68.78%   79.73%   +10.95%     
===========================================
  Files        6414     6415        +1     
  Lines      283991   284078       +87     
  Branches    48934    48936        +2     
===========================================
+ Hits       195339   226506    +31167     
+ Misses      88259    57185    -31074     
+ Partials      393      387        -6     
Files Coverage Δ
src/sentry/profiles/task.py 57.48% <100.00%> (+20.18%) ⬆️

... and 1446 files with indirect coverage changes

viglia added 2 commits April 11, 2024 17:02
since at this point we're dealing with platforms that didn't set it in
previous steps
@viglia viglia merged commit d7a32bb into master Apr 11, 2024
48 of 49 checks passed
@viglia viglia deleted the viglia/fix/pass-down-frame-platform branch April 11, 2024 15:54
Copy link

sentry-io bot commented Apr 11, 2024

Suspect Issues

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

  • ‼️ TypeError: list indices must be integers or slices, not str sentry.profiles.task.process_profile View Issue

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

Copy link

sentry-io bot commented Apr 11, 2024

Suspect Issues

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

  • ‼️ TypeError: list indices must be integers or slices, not str sentry.profiles.task.process_profile View Issue

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

@wedamija wedamija added the Trigger: Revert Add to a merged PR to revert it (skips CI) label Apr 11, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: 6accd3f

getsentry-bot added a commit that referenced this pull request Apr 11, 2024
…ailable in mixed stack traces (#68694)"

This reverts commit d7a32bb.

Co-authored-by: wedamija <6288560+wedamija@users.noreply.github.com>
c298lee pushed a commit that referenced this pull request Apr 12, 2024
…in mixed stack traces (#68694)

Way back we added
[frame-level](https://github.com/getsentry/vroom/blob/main/internal/frame/frame.go#L42)
platform information in `vroom`, but we're not passing this information
down from `sentry`.

This will help us to distinguish between `js` and `cocoa` frames in
mixed stack traces scenarios (such as for react-native).
c298lee pushed a commit that referenced this pull request Apr 12, 2024
…ailable in mixed stack traces (#68694)"

This reverts commit d7a32bb.

Co-authored-by: wedamija <6288560+wedamija@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 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 Trigger: Revert Add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants