From 91d4eaa70ac51cd50e9212e8044e459a9f370f3e Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 11 Nov 2026 04:28:21 +0800 Subject: [PATCH] cli tests: plugins/probe and Bark's two routes are named in notYet TestEveryRouteHasACommandOrIsNamed was red on origin/main: 6af54dc9a added POST /api/library/plugins/probe and 71c4ef2d0 added POST /api/settings/bark and POST /api/bark/test, none with a command or a notYet line. plugins/probe goes with skills/probe (stage 3, the library); Bark's server, key, daily time and test push are a setting with its own route (stage 2). Run on mote (macOS 27, Go 1.26.8): go test -count=1 ./internal/cli/ ok at 6fa02550a plus this. Without it, the test fails naming the three routes. --- internal/cli/settings_parity_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/cli/settings_parity_test.go b/internal/cli/settings_parity_test.go index 8d758fd66..881f7ccae 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -266,6 +266,8 @@ var notYet = map[string]string{ "POST /api/proxy/check": S2, // api.go "POST /api/set": S2, // api.go "POST /api/settings/agent-telemetry": A, // api.go + "POST /api/settings/bark": S2, // api.go: Bark server, key and daily time + "POST /api/bark/test": S2, // api.go: a test push to Bark "POST /api/settings/allowips": S2, // api.go "POST /api/settings/bare-ids": S2, // api.go "POST /api/settings/busy-load": S2, // api.go @@ -390,6 +392,7 @@ var notYet = map[string]string{ "POST /api/library/rtk/upgrade": L, // library.go "POST /api/library/skills/check": L, // library.go "POST /api/library/skills/probe": L, // library.go + "POST /api/library/plugins/probe": L, // library.go "GET /api/memory": L, // memory.go "POST /api/memory": L, // memory.go "POST /api/memory/digest": L, // memory.go