From 5f3410cd24fa4212f8672beea00ec364f91d7f37 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 12 Nov 2026 02:19:06 +0100 Subject: [PATCH] Fix 10: the node-build-image acting-rule test lives beside the other hand-written tests; the pipeline's go.mod drops an unused require MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Item 3: seatgen -check no longer names go/seats/nodebuildimage/acts_test.go (not written by the generator); the test moves to the domain SDK's buildstep, which already reads the build seats' definitions. mesh-delivery-pipeline no longer imports meshmoduleassigner. Builds: design 47 G §324, §397 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h --- modules/mesh-delivery-pipeline/go.mod | 1 - .../acts_test.go => sdk/buildstep/seat_acts_test.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) rename contracts/go/seats/nodebuildimage/acts_test.go => sdk/buildstep/seat_acts_test.go (85%) diff --git a/modules/mesh-delivery-pipeline/go.mod b/modules/mesh-delivery-pipeline/go.mod index ca25c2c2..50178e66 100644 --- a/modules/mesh-delivery-pipeline/go.mod +++ b/modules/mesh-delivery-pipeline/go.mod @@ -9,7 +9,6 @@ require ( ) require ( - git.novox.be/novox/mesh-contracts/go/seats/meshmoduleassigner v0.0.0-00010101000000-000000000000 git.novox.be/novox/mesh-contracts/health-and-repair/go/clients/meshhandactsclient v0.0.0-00010101000000-000000000000 git.novox.be/novox/mesh-contracts/health-and-repair/go/seats/meshconditions v0.0.0-00010101000000-000000000000 git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient v0.0.0-00010101000000-000000000000 diff --git a/contracts/go/seats/nodebuildimage/acts_test.go b/sdk/buildstep/seat_acts_test.go similarity index 85% rename from contracts/go/seats/nodebuildimage/acts_test.go rename to sdk/buildstep/seat_acts_test.go index 7fc457f0..848bdd93 100644 --- a/contracts/go/seats/nodebuildimage/acts_test.go +++ b/sdk/buildstep/seat_acts_test.go @@ -1,4 +1,4 @@ -package nodebuildimage +package buildstep import ( "encoding/json" @@ -8,7 +8,7 @@ import ( // The seat's `build` acting rule matches an artifact by its kind, an image having no language (design 47 G §324, §397). func TestTheSeatsBuildRuleActsOnTheKindImage(t *testing.T) { - raw, err := os.ReadFile("../../../seats/node-build-image/seat.json") + raw, err := os.ReadFile("../../contracts/seats/node-build-image/seat.json") if err != nil { t.Fatal(err) }