Skip to content

contentutil: fix referrer blob ingest cleanup#6520

Merged
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:fix-blob-short-read-bug
Feb 17, 2026
Merged

contentutil: fix referrer blob ingest cleanup#6520
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:fix-blob-short-read-bug

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

Abort uncommitted ingest on ReaderAt failures and reset resumed writer offset before copy to avoid stale partial state for digest refs. Tests for canceled-read poisoning and resumed-ingest offset handling.

Fixes possible "ERROR: reading blob sha256:: failed to read expected number of bytes: unexpected EOF" error that has been showing up in buildx CI policy tests.

Abort uncommitted ingest on ReaderAt failures and reset resumed
writer offset before copy to avoid stale partial state for digest refs.
Tests for canceled-read poisoning and resumed-ingest
offset handling.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@crazy-max crazy-max added this to the v0.28.0 milestone Feb 16, 2026
@crazy-max crazy-max merged commit 78fc6dd into moby:master Feb 17, 2026
223 of 224 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants