Names N1: the builder fixes no module name of the gate, the checker or the indexer
The three constants named modules the builder no longer calls or reads: the gate and the checker by nothing, the indexer only by a test's stand-in of a tool the builder stopped calling when the catalog half named the requirements (A-119). A deletion: nothing reads them. Builds: design 47 G §7, §428, A-210 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
@@ -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) })
|
||||
|
||||
@@ -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:"
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user