From 6bdf958cefce43d75884778123cfd2c2fe000cc0 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 2 Nov 2026 18:35:48 +0100 Subject: [PATCH] =?UTF-8?q?failurekit=20looks=20for=20the=20conformance=20?= =?UTF-8?q?kit=20at=20the=20build=20runner's=20package,=20where=20it=20mov?= =?UTF-8?q?ed=20(ADR=200593=20=C2=A71)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL --- checks/failurekit/failurekit.go | 8 ++++---- checks/failurekit/failurekit_test.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/checks/failurekit/failurekit.go b/checks/failurekit/failurekit.go index d95afa6a..9738d66a 100644 --- a/checks/failurekit/failurekit.go +++ b/checks/failurekit/failurekit.go @@ -1,4 +1,4 @@ -// Package failurekit refuses a build module whose tests do not run mesh-sdk's conformance kit (issue 1901, its thorough +// Package failurekit refuses a build module whose tests do not run the build runner's conformance kit (issue 1901, its thorough // fix): a module that claims a node-build-* seat and serves a test step must hold a test that calls conformance.Run, so // its parse of the test runner's output is held to the failure contract (a failing test named with its cause, never a // passing line in its place). A build module with no test step (mesh-build-image builds images and runs no tests) is @@ -71,7 +71,7 @@ func Judge(root string) ([]Judged, error) { } if !runs { refused = append(refused, fmt.Sprintf("it claims %s and serves the test step %s, and no test of it calls conformance.Run "+ - "(mesh-sdk go/buildstep/conformance): run the kit with the module's own parse path (issue 1901)", seat, test)) + "(mesh-build-go buildstep/conformance): run the kit with the module's own parse path (issue 1901)", seat, test)) } } // Every build module keeps steps, so every one runs the left-running case, test step or not (issue 1890). @@ -81,7 +81,7 @@ func Judge(root string) ([]Judged, error) { } if !sweeps { refused = append(refused, fmt.Sprintf("it claims %s, and no test of it calls conformance.LeftRunning "+ - "(mesh-sdk go/buildstep/conformance): run the kit's left-running case with the module's own start sweep (issue 1890)", seat)) + "(mesh-build-go buildstep/conformance): run the kit's left-running case with the module's own start sweep (issue 1890)", seat)) } j.Refused = strings.Join(refused, "; ") out = append(out, j) @@ -121,7 +121,7 @@ func runsTheKit(dir, call string) (bool, error) { return err } found = strings.Contains(string(raw), call) && - strings.Contains(string(raw), `"git.novox.be/novox/mesh-sdk/go/buildstep/conformance"`) + strings.Contains(string(raw), `"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/conformance"`) return nil }) return found, err diff --git a/checks/failurekit/failurekit_test.go b/checks/failurekit/failurekit_test.go index f08ecf7b..17f6fce4 100644 --- a/checks/failurekit/failurekit_test.go +++ b/checks/failurekit/failurekit_test.go @@ -11,7 +11,7 @@ import ( // cases is refused, and a module that claims no node-build-* seat is not judged. func TestABuildModuleWithATestStepMustRunTheKit(t *testing.T) { root := t.TempDir() - const imp = "package main\n\nimport \"git.novox.be/novox/mesh-sdk/go/buildstep/conformance\"\n\n" + const imp = "package main\n\nimport \"git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep/conformance\"\n\n" const sweep = "func TestSweep(t *testing.T) { conformance.LeftRunning(t, nil) }\n" kit := imp + "func TestKit(t *testing.T) { conformance.Run(t, conformance.GoTest, nil) }\n" + sweep for path, body := range map[string]string{