Repository navigation
Comparing changes
Open a pull request
base repository: docker/cli
base: v29.7.1
head repository: docker/cli
compare: v29.7.2
- 8 commits
- 17 files changed
- 4 contributors
Commits on Aug 2, 2026
-
cli/command/service: fix panic when removing duplicate values
Both makeEnv and updateHosts removed elements from a slice while ranging over that same slice. The range expression is evaluated once, so after a removal the loop keeps using the original length: it reads stale elements that shifted down, skips a live element, and can slice past the end of the shrunken slice, which panics. In makeEnv, the "no update required" continue also applied to the inner loop instead of skipping the re-append, so an env-var passed twice with the same value was stored twice. A third occurrence with a different value then tried to remove both entries and panicked: docker service create --env A=1 --env A=1 --env A=2 --name repro nginx panic: runtime error: slice bounds out of range [2:1] The same happens with an env-file that lists a variable twice, and the panic occurs before any API call, so no daemon is needed to hit it. updateHosts has the same problem when a hostname is listed more than once in a single entry: --host-rm either leaves a copy behind or panics with "slice bounds out of range". That needs a spec written through the API or swarmkit directly, as the CLI does not produce such entries itself, so it is less likely to be hit in practice. Use slices.DeleteFunc for both, which removes every match in one pass, and add tests for makeEnv, which had no coverage. Signed-off-by: Madan Kumar <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 8717af7 - Browse repository at this point
Copy the full SHA 8717af7View commit details
Commits on Aug 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 519eb45 - Browse repository at this point
Copy the full SHA 519eb45View commit details -
Configuration menu - View commit details
-
Copy full SHA for abfd891 - Browse repository at this point
Copy the full SHA abfd891View commit details
Commits on Aug 4, 2026
-
build(deps): bump docker/docker-agent-action/.github/workflows/review…
…-pr.yml Bumps the docker-actions group with 1 update in the / directory: [docker/docker-agent-action/.github/workflows/review-pr.yml](https://github.com/docker/docker-agent-action). Updates `docker/docker-agent-action/.github/workflows/review-pr.yml` from 2.0.2 to 2.0.3 - [Release notes](https://github.com/docker/docker-agent-action/releases) - [Commits](docker/docker-agent-action@774b6e0...baf9054) --- updated-dependencies: - dependency-name: docker/docker-agent-action/.github/workflows/review-pr.yml dependency-version: 2.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f08e60e - Browse repository at this point
Copy the full SHA f08e60eView commit details -
Merge pull request #7147 from docker/dependabot/github_actions/docker…
…-actions-269857e486 build(deps): bump docker/docker-agent-action/.github/workflows/review-pr.yml from 2.0.2 to 2.0.3 in the docker-actions group across 1 directory
Configuration menu - View commit details
-
Copy full SHA for 904aef7 - Browse repository at this point
Copy the full SHA 904aef7View commit details
Commits on Aug 5, 2026
-
Merge pull request #7145 from winklemad/fix-service-duplicate-removal…
…-panic cli/command/service: fix panic when removing duplicate values
Configuration menu - View commit details
-
Copy full SHA for 38887ec - Browse repository at this point
Copy the full SHA 38887ecView commit details -
vendor: github.com/moby/go-archive v0.3.3
full diff: moby/go-archive@v0.3.2...v0.3.3 Signed-off-by: Paweł Gronowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 400b45f - Browse repository at this point
Copy the full SHA 400b45fView commit details -
Merge pull request #7151 from vvoland/update-archive
vendor: github.com/moby/go-archive v0.3.3
Configuration menu - View commit details
-
Copy full SHA for a7dcaa6 - Browse repository at this point
Copy the full SHA a7dcaa6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v29.7.1...v29.7.2