mesh-cli: nox checks goes; the seat mesh-delivery no longer serves checks

Builds: design 47 H §764 (the checker and its verbs retire)

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
2026-11-20 06:20:40 +01:00
parent 959e8d6d30
commit 04eda6130d
2 changed files with 1 additions and 10 deletions
@@ -167,15 +167,6 @@ var commands = []command{
}},
{words: []string{"delivery"}, usage: "<id>", 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: "<owner/repo> [--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 <RFC 3339 time>]", does: "every build that ended since (the last day by default)",
allowed: []string{"since"}, build: func(l line) (call, error) {
since := l.flags["since"]
+1 -1
View File
@@ -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)