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

[containerz]: make image_size required #230

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

brianneville
Copy link
Contributor

This will allow the server to end the RPC gracefully if there is not enough space to receive the incoming image.

This will allow the server to end the RPC gracefully if there is not enough space
to receive the incoming image.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12276497170

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 1.142%

Totals Coverage Status
Change from base Build 12267172196: 0.0%
Covered Lines: 166
Relevant Lines: 14542

💛 - Coveralls

@brianneville
Copy link
Contributor Author

staticcheck is failing for unrelated reasons:
https://github.com/openconfig/gnoi/actions/runs/12276497170/job/34253831879?pr=230

All generated .pb.go files have issues like

.Exporter is deprecated: Exporter will be removed the next time we bump protoimpl.GenVersion. See https://github.com/golang/protobuf/issues/1640  (SA1019)

Can this staticcheck job be overridden?

@robshakir
Copy link
Contributor

Hi @brianneville -- can you pull main into the branch? staticcheck should be fixed.

@robshakir robshakir requested a review from alshabib December 14, 2024 04:27
@robshakir
Copy link
Contributor

Assigning review to @alshabib -- thanks Ali :-)

@@ -140,7 +140,9 @@ message ImageTransfer {
// container image.
string tag = 2;

// Optional. Indicates the size (in bytes) of the container image.
// Indicates the size (in bytes) of the container image.
// Required to allow the server should validate that there
Copy link
Contributor

Choose a reason for hiding this comment

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

Replace server with target for consistency with the rest of this doc.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you sync and re-kick the tests?

@marcushines marcushines merged commit 243cd44 into openconfig:main Jan 13, 2025
6 of 7 checks passed
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.

5 participants