From 76c1fb84c87ba12a22b64f7c471a92603365837f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Jun 2026 18:12:03 +0900 Subject: internal/pkg: stream decompress artifact The tarArtifact predates FileArtifact pipelining. This migrates decompression and buffering into a standalone artifact implementation. Signed-off-by: Ophestra --- internal/pkg/ir_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pkg/ir_test.go') diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index 9a465e55..d49d2c56 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -104,6 +104,8 @@ func TestIRRoundtrip(t *testing.T) { {"file anonymous", pkg.NewFile("", []byte{0})}, {"file", pkg.NewFile("stub", []byte("stub"))}, + + {"decompress", pkg.NewDecompress(pkg.NewFile("", []byte{0}), pkg.Bzip2)}, } testCasesCache := make([]cacheTestCase, len(testCases)) for i, tc := range testCases { -- cgit v1.3.1