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(eap-api): Sentry distinguishes floats and doubles #83629

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

xurui-c
Copy link
Member

@xurui-c xurui-c commented Jan 17, 2025

Follow up on #83566

Even when Snuba sends back doubles, Sentry uses TYPE_MAP to resolve them into floats. This is unintended behavior. This PR makes it so that Sentry looks at Snuba's response to determine if the values are doubles, instead of looking at TYPE_MAP to determine that.

@xurui-c xurui-c mentioned this pull request Jan 17, 2025
Closed
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

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   #83629      +/-   ##
==========================================
+ Coverage   87.57%   87.58%   +0.01%     
==========================================
  Files        9492     9491       -1     
  Lines      539110   539306     +196     
  Branches    21218    21218              
==========================================
+ Hits       472116   472345     +229     
+ Misses      66645    66612      -33     
  Partials      349      349              

@xurui-c xurui-c marked this pull request as ready for review January 17, 2025 20:04
@xurui-c xurui-c force-pushed the rachel/alternative branch from 5d10e2a to f125fc9 Compare January 17, 2025 20:13
@xurui-c xurui-c merged commit f945f96 into master Jan 17, 2025
49 checks passed
@xurui-c xurui-c deleted the rachel/alternative branch January 17, 2025 20:43
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