Skip to content

Revert "Implement io.ReaderAt on docker fetch reader"#12529

Merged
mxpv merged 1 commit intocontainerd:mainfrom
cpuguy83:revert_reader_at
Nov 18, 2025
Merged

Revert "Implement io.ReaderAt on docker fetch reader"#12529
mxpv merged 1 commit intocontainerd:mainfrom
cpuguy83:revert_reader_at

Conversation

@cpuguy83
Copy link
Copy Markdown
Member

@cpuguy83 cpuguy83 commented Nov 17, 2025

This reverts commit 4bf1705.

This caused issues for downstream clients who were wrapping the type contingent on it implementing io.ReaderAt.
Consequently this is causing headaches due to increased round trips with the remote.

Meanwhile I only added this as a convenience for implementing content.Provider in the remote which can done even without the original change, just... less conveniently.

In hindsight, this was just a bad change as it has a rather wide impact and the actual implementation isn't an optimized ReaderAt.

Related to moby/buildkit#6366, moby/buildkit#6359

@thaJeztah
Copy link
Copy Markdown
Member

DCO check is failing @cpuguy83

This reverts commit 4bf1705.

This caused issues for downstream clients who were wrapping the type
contingent on it implementing io.ReaderAt.
Consequently this is causing headaches due to increased round trips with
the remote.

Meanwhile I only added this as a convenience for implementing
content.Provider in the remote which can done even without the original
change, just... less conveniently.

In hindsight, this was just a bad change as it has a rather wide impact
and the actual implementation isn't an optimized ReaderAt.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83
Copy link
Copy Markdown
Member Author

Fixed.

@dmcgowan dmcgowan added the cherry-pick/2.2.x Change to be cherry picked to release/2.2 branch label Nov 18, 2025
@mxpv mxpv added this pull request to the merge queue Nov 18, 2025
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Nov 18, 2025
Merged via the queue into containerd:main with commit c073fea Nov 18, 2025
89 of 92 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Nov 18, 2025
@thaJeztah
Copy link
Copy Markdown
Member

/cherry-pick release/2.2

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@thaJeztah: new pull request created: #12542

Details

In response to this:

/cherry-pick release/2.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@austinvazquez austinvazquez added cherry-picked/2.2.x PR commits are cherry-picked into release/2.2 branch and removed cherry-pick/2.2.x Change to be cherry picked to release/2.2 branch labels Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/2.2.x PR commits are cherry-picked into release/2.2 branch kind/bug size/M

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants