diff --git a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/integration_test.go b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/integration_test.go index efedb921..ca9ba149 100644 --- a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/integration_test.go +++ b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/integration_test.go @@ -1147,7 +1147,6 @@ func (b *bed) registry(t *testing.T, node string, seatVersions ...string) *regis for subject, answer := range map[string]any{ "mesh.seat." + ociartifactregistry.Seat + ".call.versions.>": map[string]any{"versions": listed}, "mesh.seat.git.call.tags.>": map[string]any{"tags": []string{}}, - "mesh.mod." + indexerModule + ".call.indexer_requirements.>": map[string]any{"requirements": []string{}}, } { reply, _ := json.Marshal(map[string]any{"result": answer, "node": "ctl"}) s, err := nc.Subscribe(subject, func(m *nats.Msg) { _ = m.Respond(reply) }) diff --git a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names.go b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names.go index 1a97f7e0..69d32b26 100644 --- a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names.go +++ b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names.go @@ -4,18 +4,6 @@ import ( "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/seats/meshcatalog" ) -// The holders and buckets the builder names, taken from its own manifest (module.json: its `reads`) and from the holders' -// seats' state names; a unit row checks them against the manifest (TestTheNamesAreTheManifests). No contract names a holder -// (novox/hq ADR 0625 §4, ADR 0634 §1), except the clients of the indexer's and the assigner's states, whose holder names -// are used from there. -const ( - gateModule = "mesh-delivery-gate" - checkerModule = "mesh-delivery-checker" - - // indexerModule is the holder of the states modules, manifests, candidates and packages the builder follows. - indexerModule = "mesh-delivery-indexer" -) - // namedTreePrefix opens the tree input of a module whose every artifact names its paths. const namedTreePrefix = "named:" diff --git a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names_test.go b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names_test.go index 7e51d0a6..8a3e6a0d 100644 --- a/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names_test.go +++ b/modules/mesh-delivery-builder/cmd/mesh-delivery-builder/names_test.go @@ -34,7 +34,7 @@ func TestTheNamesAreTheManifests(t *testing.T) { } // The catalog half (design 47 G §348, §614) is followed through the seat, and no state of the indexer is. for _, c := range m.Consumes { - if strings.HasPrefix(c, indexerModule+".") { + if strings.HasPrefix(c, "mesh-delivery-indexer.") { t.Errorf("the builder follows %s, an indexer state, its manifest consumes it", c) } }