From 04eda6130d595e7d346f39be7c01b1868eef57d0 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 20 Nov 2026 06:20:40 +0100 Subject: [PATCH] mesh-cli: nox checks goes; the seat mesh-delivery no longer serves checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds: design 47 H §764 (the checker and its verbs retire) Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy --- modules/mesh-cli/cmd/mesh-cli/commands.go | 9 --------- modules/mesh-cli/cmd/mesh-cli/main_test.go | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/mesh-cli/cmd/mesh-cli/commands.go b/modules/mesh-cli/cmd/mesh-cli/commands.go index 968bcbc6e..d28149b3a 100644 --- a/modules/mesh-cli/cmd/mesh-cli/commands.go +++ b/modules/mesh-cli/cmd/mesh-cli/commands.go @@ -167,15 +167,6 @@ var commands = []command{ }}, {words: []string{"delivery"}, usage: "", does: "one delivery or group whole", build: needArg("mesh-delivery.show", "id")}, {words: []string{"stalled"}, does: "every delivery held past its state's bound", build: fixed("mesh-delivery.stalled")}, - {words: []string{"checks"}, usage: " [--number n | --commit c]", does: "what the mesh's checks said of a head", - allowed: []string{"number", "commit"}, build: func(l line) (call, error) { - if len(l.pos) != 1 { - return call{}, usageErr("give the repository, owner/repo") - } - a := pick(l, "number", "commit") - a["repository"] = l.pos[0] - return call{"mesh-delivery.checks", a}, nil - }}, {words: []string{"builds"}, usage: "[--since ]", does: "every build that ended since (the last day by default)", allowed: []string{"since"}, build: func(l line) (call, error) { since := l.flags["since"] diff --git a/modules/mesh-cli/cmd/mesh-cli/main_test.go b/modules/mesh-cli/cmd/mesh-cli/main_test.go index 155f7ec87..df8821545 100644 --- a/modules/mesh-cli/cmd/mesh-cli/main_test.go +++ b/modules/mesh-cli/cmd/mesh-cli/main_test.go @@ -102,7 +102,6 @@ func TestEachLineCallsItsOwner(t *testing.T) { {"unpin ace postgres-database --why back", "mesh-module-assigner.propose", `{"changes":[{"node":"ace","op":"unpin","provision":"postgres-database"}],"why":"back"}`}, {"deliveries --state merged --json", "mesh-delivery.deliveries", `{"state":"merged"}`}, {"delivery novox/mesh-sdk@dff0ce2abb21", "mesh-delivery.show", `{"id":"novox/mesh-sdk@dff0ce2abb21"}`}, - {"checks novox/mesh-catalog --number 591", "mesh-delivery.checks", `{"number":"591","repository":"novox/mesh-catalog"}`}, {"builds", "mesh-delivery-builder.builder_builds_since", `{"since":"2026-11-01T10:00:00Z"}`}, {"upgrade nats --policy record --why bus", "mesh-wants.upgrade", `{"module":"nats","policy":"record","why":"bus"}`}, {"bus", "mesh-wants.bus", `{}`}, @@ -179,6 +178,7 @@ func TestALineWithNoOwnerOrNotReadCallsNothingAndSaysWhy(t *testing.T) { // The checker and the groups go whole (design 47 H §764): nox calls neither. {"try novox/mesh-catalog abc123 --level unit", 2, "is not a command"}, {"groups", 2, "is not a command"}, + {"checks novox/mesh-catalog --number 591", 2, "is not a command"}, } { got := console(t, nil) args := strings.Fields(c.line)