Skip to content

Client reports download status and download details #341

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

Conversation

michel-laterman
Copy link
Contributor

Add implementation of downloading status along with download details details as described in open-telemetry/opamp-spec#206

When the client is downloading a package it will report the download status, and report download details (bytes per second and percent download) periodically.

@michel-laterman michel-laterman requested a review from a team as a code owner January 10, 2025 22:54
@michel-laterman michel-laterman changed the title Client reports download status and download detials Client reports download status and download details Jan 11, 2025
@tigrannajaryan
Copy link
Member

@michel-laterman are you still working on this? I left some comments above and the build is failing.

@michel-laterman
Copy link
Contributor Author

@tigrannajaryan yes I'm working on it, but my time for this is very limited

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM. Please resolve the conflicts.

When the client is downloading a package it will report the download
status, and report download details (bytes per second and percent
download) periodically.
Add feedback from review, not expected to pass until spec changes are
made
@michel-laterman michel-laterman force-pushed the feat/package-download-details branch from 649c07d to 5b65daa Compare February 24, 2025 17:01
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

Attention: Patch coverage is 84.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 80.20%. Comparing base (2229085) to head (02071eb).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
client/internal/clientcommon.go 0.00% 3 Missing and 2 partials ⚠️
client/internal/packagessyncer.go 77.27% 4 Missing and 1 partial ⚠️
...ient/internal/package_download_details_reporter.go 94.73% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #341      +/-   ##
==========================================
+ Coverage   80.10%   80.20%   +0.09%     
==========================================
  Files          25       26       +1     
  Lines        2423     2495      +72     
==========================================
+ Hits         1941     2001      +60     
- Misses        374      383       +9     
- Partials      108      111       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@michel-laterman
Copy link
Contributor Author

There's currently a race condition in a test I have yet to debug

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

@tigrannajaryan tigrannajaryan merged commit db41fd7 into open-telemetry:main Apr 10, 2025
11 checks passed
@michel-laterman michel-laterman deleted the feat/package-download-details branch April 10, 2025 19:46
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.

3 participants