diff --git a/modules/mesh-delivery-indexer/judge/judge_test.go b/modules/mesh-delivery-indexer/judge/judge_test.go index 5cecb643..93457894 100644 --- a/modules/mesh-delivery-indexer/judge/judge_test.go +++ b/modules/mesh-delivery-indexer/judge/judge_test.go @@ -124,6 +124,8 @@ func TestTheJudge(t *testing.T) { `"requires":[{"name":"idle","storage":"key-value","template":"state"}]}`)}, "mesh-host": {Raw: json.RawMessage(`{"module":"mesh-host","version":"1","streams":[` + `{"name":"mesh-host-findings","events":["finding-written.*"],"max-age-days":7,"max-mib":16}]}`)}, + "mesh-delivery-pipeline": {Raw: json.RawMessage(`{"module":"mesh-delivery-pipeline","version":"1",` + + `"objects":[{"name":"step-outputs","max-mib":64}]}`)}, // and the pipeline runner (§529, A-349) "keeper": {Raw: json.RawMessage(`{"module":"keeper","version":"1","objects":[{"name":"incoming","max-mib":64}]}`)}}}, {Name: "trunk", Manifests: map[string]composer.Manifest{ "user": {Raw: json.RawMessage(`{"module":"user","version":"1","state":["x"]}`)}, @@ -135,7 +137,7 @@ func TestTheJudge(t *testing.T) { got := ov.Cases[0].Manifests if got["late"].Accepted || !strings.Contains(got["late"].Refused, "late uses the old section logs") || !got["newer"].Accepted || !got["user"].Accepted || !got["mesh-grants"].Accepted || !got["gitea"].Accepted || - !got["mesh-host"].Accepted || got["keeper"].Accepted || !strings.Contains(got["keeper"].Refused, "keeper uses the old section objects") { + !got["mesh-host"].Accepted || !got["mesh-delivery-pipeline"].Accepted || got["keeper"].Accepted || !strings.Contains(got["keeper"].Refused, "keeper uses the old section objects") { t.Errorf("the change's old sections: %+v", got) } r.Cases[0].Manifests["c"] = composer.Manifest{Digest: strings.Repeat("a", 64)} diff --git a/modules/mesh-delivery-indexer/judge/oldsections.go b/modules/mesh-delivery-indexer/judge/oldsections.go index d4e28eb8..a7beaa35 100644 --- a/modules/mesh-delivery-indexer/judge/oldsections.go +++ b/modules/mesh-delivery-indexer/judge/oldsections.go @@ -24,10 +24,10 @@ var Foundation = []string{"nats", "mesh-grants", "mesh-delivery-indexer", "mesh- "mesh-delivery-builder", "mesh-delivery-checker", "mesh-config", "mesh-vault"} // foundationAtG are the parts design 47 G puts on the foundation list in its own change: the forge module and the image -// registry module (G §584) and the node-engine's module (§627). Until then their old sections are accepted as a foundation -// part's, its old `objects` section and its stream `-findings` among them, and their bus state in `requires` as -// today (A-343, A-345); they are counted as today, so no other module's verdict moves. -var foundationAtG = []string{"gitea", "distribution", "mesh-host"} +// registry module (G §584), the node-engine's module (§627) and the pipeline runner (§529, A-349). Until then their old +// sections are accepted as a foundation part's, its old `objects` section and its stream `-findings` among them, +// and their bus state in `requires` as today (A-343, A-345); they are counted as today, so no other module's verdict moves. +var foundationAtG = []string{"gitea", "distribution", "mesh-host", "mesh-delivery-pipeline"} // ViewOwners are the two owners whose state every reader reads through their first views and read tools, never by a // `reads` entry (novox/hq ADR 0615 §1): CountOwnerReads counts what is left of those entries.