Skip to content

Conversation

@thaJeztah
Copy link
Member

backports:

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

austinvazquez and others added 2 commits September 24, 2025 13:37
This change updates the builder prune command to send the `ReservedSpace` parameter in preparation of `KeepStorage` deprecation in API v1.52.

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
(cherry picked from commit 7d85d8f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The Apply method was added when CLI options for constructing the CLI were
rewritten into functional options in [cli@7f207f3]. There was no mention
in the pull request of this method specifically, and this may have been
related to work being done elsewhere on compose-on-kubernetes or the
compose-cli plugin that may have needed options to modify the CLI config
after it was already initialized.

We should try to remove functions that mutate the CLI configuration after
initialization if possible (and likely remove the `Apply` method); currently
this function is used in docker compose, but as part of a hack that can
probably be avoided.

[cli@7f207f3]: docker@7f207f3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 133279f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 28.4.1 milestone Sep 24, 2025
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Sep 24, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 10.00000% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/builder/prune.go 0.00% 6 Missing ⚠️
cli/command/cli.go 25.00% 2 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah requested a review from vvoland September 24, 2025 11:51
@vvoland vvoland merged commit b9e3346 into docker:28.x Sep 24, 2025
109 of 110 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_deprecation_preparations branch September 24, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants