From 487a03b5a3ed9a354ea4f5572c5d509b01951566 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 13 May 2026 00:14:15 +0900 Subject: internal/pkg: deduplicate DCE by ident This eliminates edge cases where target artifacts do not compare equal. Signed-off-by: Ophestra --- internal/pkg/pkg_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pkg/pkg_test.go') diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index 4ce4ba6a..9d6757c7 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -1515,6 +1515,8 @@ func TestDependencyCureError(t *testing.T) { makeIdent := func(ident ...byte) pkg.Artifact { var a overrideIdent copy(a.id[:], ident) + // does not compare equal + a.TrivialArtifact = new(stubArtifact) return a } -- cgit v1.3.1