Skip to content

Tolerate sparse OCI images on import. - #961

Open
jglogan wants to merge 1 commit into
apple:mainfrom
jglogan:fix/tolerate-sparse-index-on-load
Open

jglogan wants to merge 1 commit into
apple:mainfrom
jglogan:fix/tolerate-sparse-index-on-load

Conversation

@jglogan

@jglogan jglogan commented Oct 9, 2026

Copy link
Copy Markdown
Contributor
  • Closes [Request]: Tolerate sparse OCI images on import. #959.
  • When importing from an OCI layout, tolerate manifests listed by an index that are not in the archive. Import the platforms that are present, and keep the original index so the stored image looks like a container image pull of the native platform only.
  • Keep failing when a platform whose manifest is present is missing its config or layers.
  • If none of the platforms listed by the index are present, fail with an error that names the missing platforms and manifest digests instead of a bare missingContent(<digest>).

- Closes apple#959.
- When importing from an OCI layout, tolerate manifests
  listed by an index that are not in the archive.
  Import the platforms that are present, and keep the
  original index so the stored image looks like
  a `container image pull` of the native platform only.
- Keep failing when a platform whose manifest is present
  is missing its config or layers.
- If none of the platforms listed by the index are
  present, fail with an error that names the missing
  platforms and manifest digests instead of a bare
  `missingContent(<digest>)`.

This branch has not been deployed

No deployments
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.

[Request]: Tolerate sparse OCI images on import.

1 participant