From 11b0a1fb29b987bed10adeebaa6878c41c780eca Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 23 Oct 2026 18:35:32 +0200 Subject: [PATCH] Skip aloud the controller's step-nine check where the running checker places no controller (issue 1295, R4g) --- internal/bootstrap/genesis_form_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/internal/bootstrap/genesis_form_test.go b/internal/bootstrap/genesis_form_test.go index b22da3a..3aceee0 100644 --- a/internal/bootstrap/genesis_form_test.go +++ b/internal/bootstrap/genesis_form_test.go @@ -241,9 +241,18 @@ func TestAFileNothingOfTheControllerWritesIsStillRefused(t *testing.T) { // The controller's own manifest, as the mesh runs it, passes step 9 (issue 597): in a merge check the // node-engine's check has the controller cloned beside it (MESH_CHECK_BESIDE), where it must be; else a // checkout beside this one; else it skips aloud. +// +// **The checker running today places no controller beside this repository** (issue 1295, R4g): its rules put only the +// catalogue and mesh-sdk beside mesh-host, and until R4g deleted this repository's merge-check.sh nothing here was judged +// by it. A MESH_CHECK_BESIDE without a mesh-controller directory therefore skips aloud; mesh-delivery #27 places the +// controller from R4g's delivery on, and this is a failure again then. A directory without its module.json still fails. func TestTheControllersOwnManifestPassesStepNine(t *testing.T) { var manifest []byte if root := os.Getenv("MESH_CHECK_BESIDE"); root != "" { + if info, err := os.Stat(filepath.Join(root, "mesh-controller")); err != nil || !info.IsDir() { + t.Skip("NOT JUDGED: the checker running today places no mesh-controller beside mesh-host's check; " + + "mesh-delivery #27 places it from R4g's delivery on, and this is a failure again then (issue 1295)") + } raw, err := os.ReadFile(filepath.Join(root, "mesh-controller", "module.json")) if err != nil { t.Fatalf("the controller is not beside this check in MESH_CHECK_BESIDE=%s: %v", root, err)