Pack the checker's settings template as its files archive, or the indexer's judge refuses the manifest
mesh/delivery merged: source.main moved to novox/mesh-delivery@073e3fab65db
mesh/delivery-group group feat/sdk1 merged: every member is merged
mesh/check checking 2b5a7fe831c1 on 511e4b741497 | novox/mesh-delivery#141 in group feat/sdk1

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
2026-11-02 21:19:38 +01:00
parent 3b3b096be8
commit 2b5a7fe831
2 changed files with 11 additions and 2 deletions
@@ -187,8 +187,12 @@ func TestManifestProcess(t *testing.T) { // 1678/AC1
if _, bus := p["bus"]; bus { if _, bus := p["bus"]; bus {
t.Errorf("the process declares a bus: it runs on its own broker credential") t.Errorf("the process declares a bus: it runs on its own broker credential")
} }
if len(m.Build.Artifacts) != 2 { // The settings template is packed as the files archive (novox/hq ADR 0349 §2), or the indexer's judge refuses it.
t.Fatalf("artifacts = %+v, want the program and the tools", m.Build.Artifacts) if len(m.Build.Artifacts) != 3 {
t.Fatalf("artifacts = %+v, want the program, the tools and the files archive", m.Build.Artifacts)
}
if a := m.Build.Artifacts[2]; a.Name != "files" || a.Kind != "archive" || a.From != "files" {
t.Errorf("files artifact = %+v, want an archive from files/", a)
} }
if a := m.Build.Artifacts[1]; a.Name != "tools" || a.Kind != "bundle" || a.Language != "go" || a.Binary != "mesh-delivery-checker-tools" || if a := m.Build.Artifacts[1]; a.Name != "tools" || a.Kind != "bundle" || a.Language != "go" || a.Binary != "mesh-delivery-checker-tools" ||
!reflect.DeepEqual(a.Loads, []string{"mesh-delivery-checker-tools"}) { !reflect.DeepEqual(a.Loads, []string{"mesh-delivery-checker-tools"}) {
@@ -149,6 +149,11 @@
"loads": [ "loads": [
"mesh-delivery-checker-tools" "mesh-delivery-checker-tools"
] ]
},
{
"name": "files",
"kind": "archive",
"from": "files"
} }
] ]
} }