Skip to content

ci(integration): bump docker api version to 1.40 - #757

Merged
thijmv merged 1 commit into
masterfrom
thijmv/docker-api-version
Nov 17, 2026
Merged

thijmv merged 1 commit into
masterfrom
thijmv/docker-api-version

Conversation

@thijmv

@thijmv thijmv commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

test_agent_preload fails in both integration jobs, including on master (example). The workflow installs the newest Docker (version: latest), and the daemon on CI (29.10.0) rejects API versions below 1.40. The agent test config requested 1.24, so the preload endpoint returned 500:

docker pull: error posting to /images/create: code 400, err: {"message":"client version 1.24 is too old. Minimum supported API version is 1.40, please upgrade your client to a newer version"}

This bumps docker_version in config/agent/test.template to 1.40.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 17, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the integration-test configuration update to Docker Engine API 1.40.

No open issues 🎉

What changed in this PR

Updates the integration-test agent configuration to use a newer Docker Engine API for Docker-backed image preload operations.

Changes:

  • Raises the test template’s docker_version from 1.24 to 1.40, without changing the runtime’s default version.
File Description
config/​agent/​test.template Sets Docker Engine API version 1.40 for integration-test agents.

Review effort: Balanced

@thijmv
thijmv merged commit a1ee299 into master Nov 17, 2026
18 checks passed
@thijmv
thijmv deleted the thijmv/docker-api-version branch November 17, 2026 13:05
PerryLink added a commit to PerryLink/kraken that referenced this pull request Nov 18, 2026
…rror

Poll stringified the per-origin error and the joined result, so the resolver
never saw the NetworkError and turned a transient failure into a permanent
one. Wrap both with %w, give errutil.MultiError an Unwrap() []error method,
and make httputil.IsNetworkError use errors.As. The rendered error text is
unchanged. Rebased on current master (keeps uber#737's httputil tests); replaces
uber#738, whose integration jobs predated the Docker API version bump in uber#757.
thijmv pushed a commit that referenced this pull request Nov 20, 2026
…rror (#759)

* fix(build-index): retry manifest downloads that fail with a network error

Poll stringified the per-origin error and the joined result, so the resolver
never saw the NetworkError and turned a transient failure into a permanent
one. Wrap both with %w, give errutil.MultiError an Unwrap() []error method,
and make httputil.IsNetworkError use errors.As. The rendered error text is
unchanged. Rebased on current master (keeps #737's httputil tests); replaces
#738, whose integration jobs predated the Docker API version bump in #757.

* test: move the Poll wrapped-error test to blobclient

Address the review nits: keep the Poll wrapped-error test next to the other
blobclient tests, drop the errors.As assertion that IsNetworkError already
covers, and make the IsNetworkError cases a table test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants