Skip to content

[release/2.4] remotes: revert closing fetch readers at EOF - #14197

Merged
samuelkarp merged 2 commits into
containerd:release/2.4from
k8s-infra-cherrypick-robot:cherry-pick-14194-to-release/2.4
Sep 19, 2026
Merged

samuelkarp merged 2 commits into
containerd:release/2.4from
k8s-infra-cherrypick-robot:cherry-pick-14194-to-release/2.4

Conversation

@k8s-infra-cherrypick-robot

@k8s-infra-cherrypick-robot k8s-infra-cherrypick-robot commented Sep 19, 2026 •

Copy link
Copy Markdown

This is an automated cherry-pick of #14194

/assign thaJeztah

Fix content upload failures when retrying fetch content after reaching EOF

Verify that small and large layer uploads can be replayed after the registry consumes the body and returns HTTP 408.
This covers the fetch-to-pusher path used by BuildKit registry cache exports.

Check that HTTP readers close their response bodies at EOF while remaining seekable, and that the body is closed
exactly once before the destination writer commits.

Signed-off-by: CrazyMax <[email protected]>

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 19, 2026
@samuelkarp
samuelkarp merged commit 7700362 into containerd:release/2.4 Sep 19, 2026
55 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants