Skip to content

fix(build-index): include sub-manifest blobs for multi-arch replication#637

Draft
thijmv wants to merge 2 commits into
masterfrom
thijmv/replication-sub-blobs
Draft

fix(build-index): include sub-manifest blobs for multi-arch replication#637
thijmv wants to merge 2 commits into
masterfrom
thijmv/replication-sub-blobs

Conversation

@thijmv

@thijmv thijmv commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR fixes #619 by adding recursion to dependency resolution in the tag replication executor only, ensuring multi-arch images are replicated completely, while leaving the validation path untouched.

Context

Currently, the dependency resolver does not traverse more than one layer, meaning that for multi-arch images, their nested dependencies are not considered for tag uploads or replication.

Therefore, the dependency validation on tag uploads became stricter in #620, by making Resolve() recurse into sub-manifests for both validation and replication. However, this was reverted, as uBuild can push images to different zones, meaning nested blob validation started failing.

The decision has been made to not validate the nested dependencies when the tag of a multi-arch image is uploaded, because it is already done indirectly. That is, when the sub-manifests are uploaded, their dependencies are validated. This means that when the multi-arch manifest is uploaded, only the top-level sub-manifests are considered for indirect validation.

@thijmv thijmv force-pushed the thijmv/replication-sub-blobs branch from 1a9dbfe to b4ab7f7 Compare June 19, 2026 16:34
Base automatically changed from thijmv/revert-pr-620 to master June 22, 2026 10:29
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.

Build-index does not recursively resolve multi-arch image dependencies

1 participant