Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v29.7.1
Choose a base ref
...
head repository: docker/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v29.7.2
Choose a head ref
  • 8 commits
  • 17 files changed
  • 4 contributors

Commits on Aug 2, 2026

  1. 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]>
    winklemad committed Aug 2, 2026
    Configuration menu
    Copy the full SHA
    8717af7 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2026

  1. VERSION: 29.7.2

    Signed-off-by: Paweł Gronowski <[email protected]>
    vvoland committed Aug 3, 2026
    Configuration menu
    Copy the full SHA
    519eb45 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7149 from vvoland/update-docker

    VERSION: 29.7.2
    vvoland authored Aug 3, 2026
    Configuration menu
    Copy the full SHA
    abfd891 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2026

  1. 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]>
    dependabot[bot] authored Aug 4, 2026
    Configuration menu
    Copy the full SHA
    f08e60e View commit details
    Browse the repository at this point in the history
  2. 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
    thaJeztah authored Aug 4, 2026
    Configuration menu
    Copy the full SHA
    904aef7 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2026

  1. Merge pull request #7145 from winklemad/fix-service-duplicate-removal…

    …-panic
    
    cli/command/service: fix panic when removing duplicate values
    thaJeztah authored Aug 5, 2026
    Configuration menu
    Copy the full SHA
    38887ec View commit details
    Browse the repository at this point in the history
  2. 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]>
    vvoland committed Aug 5, 2026
    Configuration menu
    Copy the full SHA
    400b45f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #7151 from vvoland/update-archive

    vendor: github.com/moby/go-archive v0.3.3
    vvoland authored Aug 5, 2026
    Configuration menu
    Copy the full SHA
    a7dcaa6 View commit details
    Browse the repository at this point in the history
Loading