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

Add downloading state and download_details to PackageStatus #206

Conversation

michel-laterman
Copy link
Contributor

@michel-laterman michel-laterman commented Oct 16, 2024

Add a separate Downloading PackageStatusEnum so an agent can use a distinguish between downloading and installing a new package.
Add a download_details attribute that may optionally be used with the new Downloading status to give a user additional details about the package download: download rate, and percentage download.

proto/opamp.proto Outdated Show resolved Hide resolved
proto/opamp.proto Show resolved Hide resolved
@michel-laterman michel-laterman changed the title Add downloading state and metadata to PackageStatus Add downloading state and download_details to PackageStatus Oct 22, 2024
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

proto/opamp.proto Show resolved Hide resolved
proto/opamp.proto Outdated Show resolved Hide resolved
specification.md Show resolved Hide resolved
@tigrannajaryan
Copy link
Member

@michel-laterman I think this is good to go. It is still shows as a "Draft", but I assume you are done and we can merge?

@michel-laterman michel-laterman marked this pull request as ready for review October 23, 2024 18:01
@michel-laterman michel-laterman requested a review from a team as a code owner October 23, 2024 18:01
@michel-laterman
Copy link
Contributor Author

Yes, we can merge at-will. However I'm unable to run make gen-proto locally.

@tigrannajaryan
Copy link
Member

Yes, we can merge at-will. However I'm unable to run make gen-proto locally.

Github actions verified it, we are good: https://github.com/open-telemetry/opamp-spec/actions/runs/11483570522/job/31960049021?pr=206

@tigrannajaryan tigrannajaryan merged commit 8d4b1f5 into open-telemetry:main Oct 23, 2024
5 checks passed
@tigrannajaryan
Copy link
Member

Thanks @michel-laterman !

@michel-laterman michel-laterman deleted the feat/packagestatus-downloading branch October 23, 2024 18:59
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.

PackageStatus message should define a downloading state and include additional metadata
3 participants