Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
be8d592
Move image references to shared content storage
chruffins Aug 26, 2026
a878f23
Wire legacy image promotion into shared content storage
chruffins Aug 26, 2026
e48f0f1
Fix image tests and helpers for content-addressed layout
chruffins Aug 26, 2026
3c0a142
Seed snapshot test images from the content layout
chruffins Aug 26, 2026
23b6d90
Preserve image tags during replacement
chruffins Aug 26, 2026
035f1b0
Simplify existing image reuse
chruffins Aug 26, 2026
521133f
Simplify image readiness waiting
chruffins Aug 26, 2026
3e20e73
Centralize legacy image promotion
chruffins Aug 26, 2026
c8543ca
Track image tag mutations
chruffins Aug 26, 2026
fd53483
Reject unsupported Firecracker versions
chruffins Aug 26, 2026
e3cab9b
Restore tag generations after restart
chruffins Aug 26, 2026
411ff56
Add local image tagging API
chruffins Aug 26, 2026
273a4ba
Add route-level URL decoding test and builds mock TagImage
chruffins Aug 26, 2026
69350af
Simplify local tag creation
chruffins Aug 26, 2026
32b6564
Track tag API mutations
chruffins Aug 26, 2026
3781c05
Persist OCI manifest content model per image digest
chruffins Aug 26, 2026
e2a0744
Validate persisted image manifests
chruffins Aug 26, 2026
ac5b6e1
Simplify manifest model validation
chruffins Aug 26, 2026
62de9d9
Extract OCI metadata once
chruffins Aug 26, 2026
cc7944c
Use unique manifest temp files
chruffins Aug 26, 2026
d255a6b
Return OCI image extraction in a struct and revert env parsing rewrite
chruffins Aug 31, 2026
40d2ff7
Fix tag generation stranding and consolidate image storage
chruffins Aug 31, 2026
8ede854
Merge origin/hypeship/image-tag-api into hypeship/manifest-layer-model
chruffins Aug 31, 2026
a99eff9
Restore tag resolution for recovered interrupted builds
chruffins Aug 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/images/disk_usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
)

func TestTotalReadyImageBytesFromMetadata_UsesRootfsFallbackForMalformedMetadata(t *testing.T) {
t.Parallel()

imagesDir := t.TempDir()
digestDir := filepath.Join(imagesDir, "docker.io", "library", "alpine", "sha256deadbeef")
require.NoError(t, os.MkdirAll(digestDir, 0o755))
Expand All @@ -21,6 +23,8 @@ func TestTotalReadyImageBytesFromMetadata_UsesRootfsFallbackForMalformedMetadata
}

func TestTotalReadyImageBytesFromMetadata_DeduplicatesHardLinkedAliases(t *testing.T) {
t.Parallel()

imagesDir := t.TempDir()
sourceDir := filepath.Join(imagesDir, "source", "digest")
targetDir := filepath.Join(imagesDir, "target", "digest")
Expand All @@ -41,6 +45,8 @@ func TestTotalReadyImageBytesFromMetadata_DeduplicatesHardLinkedAliases(t *testi
}

func TestTotalReadyImageBytesFromMetadata_DeduplicatesMalformedAliases(t *testing.T) {
t.Parallel()

imagesDir := t.TempDir()
malformedDir := filepath.Join(imagesDir, "a-malformed", "digest")
validDir := filepath.Join(imagesDir, "b-valid", "digest")
Expand All @@ -59,6 +65,8 @@ func TestTotalReadyImageBytesFromMetadata_DeduplicatesMalformedAliases(t *testin
}

func TestTotalReadyImageBytesFromMetadata_UsesRootfsFallbackForReadyImageWithoutSize(t *testing.T) {
t.Parallel()

imagesDir := t.TempDir()
digestDir := filepath.Join(imagesDir, "docker.io", "library", "alpine", "sha256deadbeef")
require.NoError(t, os.MkdirAll(digestDir, 0o755))
Expand Down
Loading
Loading