From 634abead7d4669d060e69c45565b1594d8040aa7 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 5 Nov 2026 16:09:52 +0100 Subject: [PATCH] =?UTF-8?q?mesh-build-go,=20-image=20and=20-node=20declare?= =?UTF-8?q?=20the=20builder's=20published=20package=20builds,=20which=20th?= =?UTF-8?q?ey=20now=20read=20their=20forms=20and=20keys=20through=20(B5i;?= =?UTF-8?q?=20ADR=200634=20=C2=A71,=20=C2=A74;=20issue=201966)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i --- modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go | 4 ++++ modules/mesh-build-go/module.json | 1 + .../mesh-build-image/cmd/mesh-build-image/manifest_test.go | 4 ++++ modules/mesh-build-image/module.json | 1 + modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go | 4 ++++ modules/mesh-build-node/module.json | 1 + 6 files changed, 15 insertions(+) diff --git a/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go b/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go index 1fd98b495..80ae3f70f 100644 --- a/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go +++ b/modules/mesh-build-go/cmd/mesh-build-go/manifest_test.go @@ -52,6 +52,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any { func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) { m := readManifest(t) // The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1). + // The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1). + if m.Packages["builds"] != "0.1" { + t.Errorf("packages %v: want builds of series 0.1", m.Packages) + } if m.Packages["sshkeys"] != "0.1" { t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages) } diff --git a/modules/mesh-build-go/module.json b/modules/mesh-build-go/module.json index 799bf3c61..2530983d6 100644 --- a/modules/mesh-build-go/module.json +++ b/modules/mesh-build-go/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-go", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true, diff --git a/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go b/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go index 8e4f161ca..887c89869 100644 --- a/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go +++ b/modules/mesh-build-image/cmd/mesh-build-image/manifest_test.go @@ -54,6 +54,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any { func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) { m := readManifest(t) // The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1). + // The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1). + if m.Packages["builds"] != "0.1" { + t.Errorf("packages %v: want builds of series 0.1", m.Packages) + } if m.Packages["sshkeys"] != "0.1" { t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages) } diff --git a/modules/mesh-build-image/module.json b/modules/mesh-build-image/module.json index 737964a9b..a59828c11 100644 --- a/modules/mesh-build-image/module.json +++ b/modules/mesh-build-image/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-image", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true, diff --git a/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go b/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go index e829b2cc0..fbac8729f 100644 --- a/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go +++ b/modules/mesh-build-node/cmd/mesh-build-node/manifest_test.go @@ -47,6 +47,10 @@ func resource(t *testing.T, m catalogue.Manifest, id string) map[string]any { func TestManifestDeclaresTheAccountTheCapabilityAndThePackages(t *testing.T) { m := readManifest(t) // The key keeper is ssh-client's published package, taken by its series (ADR 0634 §1). + // The builder's step, answer and key forms are read through its published package, taken by its series (ADR 0634 §1). + if m.Packages["builds"] != "0.1" { + t.Errorf("packages %v: want builds of series 0.1", m.Packages) + } if m.Packages["sshkeys"] != "0.1" { t.Errorf("packages %v: want sshkeys of series 0.1", m.Packages) } diff --git a/modules/mesh-build-node/module.json b/modules/mesh-build-node/module.json index 574be27f8..c5b279ba2 100644 --- a/modules/mesh-build-node/module.json +++ b/modules/mesh-build-node/module.json @@ -2,6 +2,7 @@ "module": "mesh-build-node", "version": "1", "packages": { + "builds": "0.1", "sshkeys": "0.1" }, "moved": true,