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: Indication range from int -> float #800

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

ajay-sentry
Copy link
Contributor

@ajay-sentry ajay-sentry commented Sep 5, 2024

Purpose/Motivation

Fixes these sentry issues:

https://codecov.sentry.io/issues/5416346385
https://codecov.sentry.io/issues/5416346358

I can't really tell why we would only want indication range to be an integer, we should also accept float values too for individuals who want a finer level of precision. My understanding is something else (either client or different server code) bounds the range to be between 0 and 100 so this shouldn't affect anything really.

This PR just swaps the type from an int to a float in GQL and changes the python types to match

Links to relevant tickets

Closes codecov/engineering-team#2475

Gazebo might be slightly updated now:

Screenshot 2024-09-05 at 10 35 19 AM

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@ajay-sentry ajay-sentry requested a review from a team as a code owner September 5, 2024 17:15
@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.14%. Comparing base (6a7b595) to head (f7eb2de).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##               main       #800   +/-   ##
===========================================
  Coverage   96.14000   96.14000           
===========================================
  Files           812        812           
  Lines         18503      18503           
===========================================
  Hits          17790      17790           
  Misses          713        713           
Flag Coverage Δ
unit 91.99% <100.00%> (ø)
unit-latest-uploader 91.99% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ajay-sentry ajay-sentry added this pull request to the merge queue Sep 6, 2024
Merged via the queue into main with commit f840fed Sep 6, 2024
18 of 19 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/indication-range-float branch September 6, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change Indication Range from int to float
2 participants