From eb67e5e0a8821058fed782bf9c90b45c793036a5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 27 Jan 2026 01:16:21 +0900 Subject: internal/pkg: exclusive artifacts This alleviates scheduler overhead when curing many artifacts. Signed-off-by: Ophestra --- internal/pkg/tar.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/pkg/tar.go') diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go index c56176b1..474df034 100644 --- a/internal/pkg/tar.go +++ b/internal/pkg/tar.go @@ -80,6 +80,9 @@ func (a *tarArtifact) Dependencies() []Artifact { return []Artifact{a.f} } +// IsExclusive returns false: decompressor and tar reader are fully sequential. +func (a *tarArtifact) IsExclusive() bool { return false } + // A DisallowedTypeflagError describes a disallowed typeflag encountered while // unpacking a tarball. type DisallowedTypeflagError byte -- cgit v1.3.1