cli: name /api/memory/status with the Memory tab's routes

6a253f8af added POST /api/memory/status without a line in
settings_parity_test.go, so TestEveryRouteHasACommandOrIsNamed has been
red on ubuntu and macOS CI since (run 42779311609). It joins its
siblings under the library stage of #4745, as 71fbb33a7 did for
/api/memory/distill/stop.

Run (wsl-run, magpie-desktop; mote's ssh was resetting):
go test -tags nogui -count=1 -run TestEveryRouteHasACommandOrIsNamed
./internal/cli: red on origin/main without the line (the CI message),
ok with it.
This commit is contained in:
yetone
2026-11-10 17:00:10 +08:00
parent ece12b370d
commit 488d0f9fc2
+1
View File
@@ -376,6 +376,7 @@ var notYet = map[string]string{
"POST /api/memory": L, // memory.go
"POST /api/memory/digest": L, // memory.go
"POST /api/memory/remove": L, // memory.go
"POST /api/memory/status": L, // memory.go
"GET /api/memory/distill": L, // memory_distill.go
"POST /api/memory/distill": L, // memory_distill.go
"POST /api/memory/distill/run": L, // memory_distill.go