Skip to content

Add test for dangling SOCI index v2 reference#1546

Merged
Kern-- merged 1 commit into
awslabs:mainfrom
Kern--:v2-stray-manifest
May 15, 2025
Merged

Add test for dangling SOCI index v2 reference#1546
Kern-- merged 1 commit into
awslabs:mainfrom
Kern--:v2-stray-manifest

Conversation

@Kern--
Copy link
Copy Markdown

@Kern-- Kern-- commented May 6, 2025

Issue #, if available:

Description of changes:
If an image manifest contains a reference to a SOCI index, but the SOCI index doesn't exist in the registry, the snapshotter should try to use that SOCI index, but then fallback to non-lazy loading when it can't find the SOCI index. This adds a test to verify that.

Testing performed:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Kern-- Kern-- requested a review from a team as a code owner May 6, 2025 16:35
@github-actions github-actions Bot added go Pull requests that update Go code testing Unit and/or integration tests labels May 6, 2025
@Kern-- Kern-- force-pushed the v2-stray-manifest branch from 6c1c88a to e6768a4 Compare May 6, 2025 16:52
If an image manifest contains a reference to a SOCI index, but the SOCI
index doesn't exist in the registry, the snapshotter should try to use
that SOCI index, but then fallback to non-lazy loading when it can't
find the SOCI index. This adds a test to verify that.

Signed-off-by: Kern Walster <walster@amazon.com>
@Kern-- Kern-- force-pushed the v2-stray-manifest branch from e6768a4 to fe46409 Compare May 12, 2025 21:24
Comment thread integration/pull_modes_test.go
@Kern-- Kern-- merged commit 926f17e into awslabs:main May 15, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code testing Unit and/or integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants