-
Notifications
You must be signed in to change notification settings - Fork 115
Do not send telemetry data if failure in collection #1731
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1731 +/- ##
==========================================
+ Coverage 85.93% 86.16% +0.22%
==========================================
Files 87 87
Lines 5511 5515 +4
Branches 52 52
==========================================
+ Hits 4736 4752 +16
+ Misses 723 717 -6
+ Partials 52 46 -6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure the commit message and PR message adequately represent its content.
Since we're fixing two problems, we can say:
"Fix error handling in telemetry and usage reporting"
and describe both problems in the problem section.
Also, I'd recommend creating a separate issue for the problem with usage reporting. So that this commit/PR closes 2 issues.
For unexpected linting fixing, for future, better to have a separate PR -- it can be approved and merged much quicker and thus unblock other PRs and merging to main.
I think it'd be fine just fixing the other issue without creating an issue as its so small and related.
Yea this sounds better I'll make sure to do this in the future! |
@bjee19 PR message is still not updated |
04a0e83
to
2cc1f28
Compare
Fix error handling in telemetry and usage reporting Problem: We send empty telemetry data if there is any failure in collection of data. We also do the same for NIM usage reporting. Solution: Don't send telemetry data in case of failure of collection. Also does not send data for NIM usage reporting if there was any failure. Refactored some tests to comply with code coverage.
Fix error handling in telemetry and usage reporting Problem: We send empty telemetry data if there is any failure in collection of data. We also do the same for NIM usage reporting. Solution: Don't send telemetry data in case of failure of collection. Also does not send data for NIM usage reporting if there was any failure. Refactored some tests to comply with code coverage.
Fix error handling in telemetry and usage reporting
Problem: We send empty telemetry data if there is any failure in collection of data. We also do the same for NIM usage reporting.
Solution: Don't send telemetry data in case of failure of collection. Also does not send data for NIM usage reporting if there was any failure. Refactored some tests to comply with code coverage.
Testing: Manually verified bug described in #1729 no longer occurs.
Closes #1729
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.