From a5b874a2a02b0b11d892c15ff904fd1d91c01c3c Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 24 Oct 2026 06:01:52 +0200 Subject: [PATCH] Hold the replay of issue 614 to the plan since R4g: a new SDK plans itself and what stands on its package, no toolchain edge to the bundles (issue 1938) --- cmd/mesh-controller/replay614_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/mesh-controller/replay614_test.go b/cmd/mesh-controller/replay614_test.go index ffb8015f..4c2f9d9a 100644 --- a/cmd/mesh-controller/replay614_test.go +++ b/cmd/mesh-controller/replay614_test.go @@ -63,11 +63,14 @@ func TestReplay614ANewSDKPlansTheToolchainAndThenItsBundles(t *testing.T) { m := orderMember{ID: "novox/mesh-sdk@new", Repository: "novox/mesh-sdk", Head: "new", Paths: []string{"src/provisioner/index.ts", "package.json"}} s := pullScope(m.pull(), entries, read, edges) - want := [][]string{{"mesh-sdk"}, {"mesh-tools"}, {"minio", "umami"}} + // Since R4g no bundle is compiled in a toolchain image (526eed99, issue 1851 C1b: the toolchain edge is gone), so a + // new SDK plans itself and what stands on its package; the TypeScript bundles move by their own build keys, whose + // fingerprints name what they are built from (issue 1938: this test was kept from older runs until then). + want := [][]string{{"mesh-sdk"}, {"mesh-tools"}} if !reflect.DeepEqual(s.Reach.Plan.Tiers, want) { t.Fatalf("a new SDK plans %v, want %v (edges %v)", s.Reach.Plan.Tiers, want, edges) } - if !reflect.DeepEqual(s.Dependents, []string{"mesh-tools", "minio", "umami"}) { + if !reflect.DeepEqual(s.Dependents, []string{"mesh-tools"}) { t.Errorf("dependents %v", s.Dependents) } }