Skip to content

chore(deps): bump github.com/containerd/containerd/v2 v2.4.2 (security) - #14339

Merged
glours merged 2 commits into
docker:mainfrom
thaJeztah:bump_containerd_2.4.2
Oct 16, 2026
Merged

glours merged 2 commits into
docker:mainfrom
thaJeztah:bump_containerd_2.4.2

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

Security Updates:

containerd/containerd@v2.4.1...v2.4.2

What this PR does

Related issue

Fixes #

Changes made

Testing done

  • Unit tests pass: make test
  • E2E tests pass: make e2e-compose or make e2e-compose-standalone
  • Linting passes: make lint
  • Code formatted: make fmt
  • Manually tested (describe):

AI tool used (if applicable)

AI Tool:

Additional context

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@thaJeztah
thaJeztah requested review from a team as code owners October 13, 2026 22:55
@thaJeztah
thaJeztah requested review from glours and ndeloof October 13, 2026 22:55

@docker-agent docker-agent 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.

Assessment: 🟢 APPROVE

@thaJeztah

Copy link
Copy Markdown
Member Author

This failure may be genuine, or at least; due to a security fix, which now returns a different error;

#19 109.3 === Failed
#19 109.3 === FAIL: cmd/formatter TestRunHandlesKeysUntilContextIsDone (unknown)
#19 109.3 
#19 109.3 
#19 109.3 === FAIL: internal/oci TestGetBlob_RejectsSizeMismatch (0.00s)
#19 109.3     resolver_test.go:214: assertion failed: expected error to contain "size mismatch", got "reading blob sha256:536319e163bc3cc681d5ce1a5c88aab6e4afb4b7315ce62acfca619ad36717ee: httpReadSeeker: read past expected size 35: failed precondition"

Looks related to this fix;

The error message produced by containerd changed in [containerd@7f0c0b8];

    "reading blob sha256:536319e163bc3cc681d5ce1a5c88aab6e4afb4b7315ce62acfca619ad36717ee: httpReadSeeker: read past expected size 35: failed precondition

[containerd@7f0c0b8]: containerd/containerd@7f0c0b8

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah force-pushed the bump_containerd_2.4.2 branch from 1863c5f to 5e88b09 Compare October 13, 2026 23:48
Comment on lines -214 to +216
assert.ErrorContains(t, err, "size mismatch")
assert.ErrorType(t, err, errdefs.IsFailedPrecondition)
assert.ErrorContains(t, err, "read past expected size")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Adjusted the test

@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@glours
glours merged commit 3b95aab into docker:main Oct 16, 2026
62 checks passed
@thaJeztah
thaJeztah deleted the bump_containerd_2.4.2 branch October 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants