D4 judge-foundation-list: the pipeline runner keeps its old sections before G too
The lead's A-349 names the pipeline runner beside the forge module, the image registry module and the node-engine's module: its old `objects` section and its findings stream are accepted before G puts it on the foundation list. It is new in G, so no trunk verdict moves. Builds: design 47 G §529, A-345, A-349 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
@@ -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)}
|
||||
|
||||
@@ -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 `<module>-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 `<module>-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.
|
||||
|
||||
Reference in New Issue
Block a user