From 059fa5d4c414e161c93b1546e33c7286be4e2e39 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 5 Nov 2026 14:39:49 +0100 Subject: [PATCH] =?UTF-8?q?Seat=20fixtures=20of=20the=20claude-code=20and?= =?UTF-8?q?=20node-build=20tests=20carry=20their=20domain=20(ADR=200636=20?= =?UTF-8?q?=C2=A75;=20issue=201966)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/claude-code/cmd/claude-code/insteadof_test.go | 4 ++-- modules/mesh-build-node/cmd/mesh-build-node/check_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/claude-code/cmd/claude-code/insteadof_test.go b/modules/claude-code/cmd/claude-code/insteadof_test.go index ca03e95e3..c68ccfdec 100644 --- a/modules/claude-code/cmd/claude-code/insteadof_test.go +++ b/modules/claude-code/cmd/claude-code/insteadof_test.go @@ -41,10 +41,10 @@ func (b aBus) Get(read, key string) ([]byte, bool, error) { // someSeats are two seats as the seats' contract says them: one held once for the mesh, one on every machine. func someSeats() []seatdef.Definition { return []seatdef.Definition{ - {Seat: "mesh-module-assigner", Scope: "mesh", Verbs: []seatdef.Verb{ + {Seat: "mesh-module-assigner", Domain: "Placement", Scope: "mesh", Verbs: []seatdef.Verb{ {Name: "placement", Description: "Read placement: one node's key.", Replaces: []string{"hostnamectl", "uptime"}}, {Name: "propose", Description: "Propose a change."}}}, - {Seat: "node-service-manager", Scope: "node", Verbs: []seatdef.Verb{ + {Seat: "node-service-manager", Domain: "Placement", Scope: "node", Verbs: []seatdef.Verb{ {Name: "status", Description: "One unit as the service manager sees it now: its states, whether it starts at boot.", Replaces: []string{"systemctl status", "systemctl is-active"}}, {Name: "journal", Description: "The last lines of one unit's journal.", Replaces: []string{"journalctl"}}}}, } diff --git a/modules/mesh-build-node/cmd/mesh-build-node/check_test.go b/modules/mesh-build-node/cmd/mesh-build-node/check_test.go index 1238f950c..21528298d 100644 --- a/modules/mesh-build-node/cmd/mesh-build-node/check_test.go +++ b/modules/mesh-build-node/cmd/mesh-build-node/check_test.go @@ -85,7 +85,7 @@ func TestAPackageWithNeitherScriptNorTypeScriptHasNoTests(t *testing.T) { m, _, work = newMachine(t) workspaceWith(t, work, map[string]string{ "module.json": `{"module":"c","build":{"artifacts":[{"name":"ts","kind":"package","language":"typescript","paths":["ts"],"generated-from":"."}]}}`, - "seats/one-store/seat.json": `{"format":1,"seat":"one-store","scope":"mesh","grain":"seat-list","decision":"ADR 1","verbs":[{"name":"query","input":{"type":"object"}}]}`, + "seats/one-store/seat.json": `{"format":1,"seat":"one-store","scope":"mesh","grain":"seat-list","domain":"Module","decision":"ADR 1","verbs":[{"name":"query","input":{"type":"object"}}]}`, "go/go.mod": "module example.org/c/go\n", "go/stray.go": "package stray\n", "ts/package.json": `{"name":"@example/c"}`, "ts/stray.ts.txt": "not written by the generator\n", })