Skip to content

compat: remove deprecated VirtualSize #26213

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

inknos
Copy link
Collaborator

@inknos inknos commented May 27, 2025

Since compat version 1.43 the VirtualSize field in the GET /images/{name}/json, GET /images/json, and
GET /system/df responses is deprecated and will no longer be included in API v1.44. Use the Size field instead, which contains the same information.

Does this PR introduce a user-facing change?


Since compat version 1.43 the VirtualSize field in the
GET /images/{name}/json, GET /images/json, and
GET /system/df responses is deprecated and will no
longer be included in API v1.44. Use the Size field
instead, which contains the same information.

Signed-off-by: Nicola Sella <[email protected]>
Copy link
Contributor

openshift-ci bot commented May 27, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci openshift-ci bot added the do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None label May 27, 2025
Copy link
Contributor

openshift-ci bot commented May 27, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: inknos
Once this PR has been reviewed and has the lgtm label, please assign baude for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label May 27, 2025
@inknos
Copy link
Collaborator Author

inknos commented May 27, 2025

@mheon @Luap99 this is probably the most trivial PR for all docker api changes, and was not tested. should we add tests for this endpoint or mark it to be skipped?

@Luap99
Copy link
Member

Luap99 commented May 27, 2025

What happens if a client talks in an older API version? Should there be some version check around this instead?

@inknos
Copy link
Collaborator Author

inknos commented May 27, 2025

I think the answer depends on our policy for deprecations. What is it? And is the libpod deprecation policy the same as for compat?

@Luap99
Copy link
Member

Luap99 commented May 27, 2025

I think the policy for compat is match whatever docker is doing. If you can run the latest docker and use API v1.40 (or anything below the removal) and it still returns that field then we need to do as well.

For libpod we have a strict semver commitment so any breaking changes such as remove response field should wait for the next major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None kind/api-change Change to remote API; merits scrutiny
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants