From 6fc8fdae41fee3d2b209595220f1f98ca0f765d6 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 13 Nov 2026 19:04:48 +0800 Subject: [PATCH] cli: the Usage page's switched-off check-ins route is named (wxkwxk666 on X) 5d54a990d added GET /api/usage/checkins/off and left it out of the CLI parity list, so TestEveryRouteHasACommandOrIsNamed went red on main (seen in that commit's full suite on mote). It is named in notYet as a Usage page read; `magpie accounts checkin` already checks in every account, as for POST /api/usage/checkin-account. Run, on mote: go test -run TestEveryRouteHasACommandOrIsNamed ./internal/cli, red at 5d54a990d's full suite, ok with this line. --- internal/cli/settings_parity_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/settings_parity_test.go b/internal/cli/settings_parity_test.go index 1c7241d67..f38e15deb 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -512,6 +512,7 @@ var notYet = map[string]string{ "POST /api/tune/apply": U, // tune.go "POST /api/tune/undo": U, // tune.go "POST /api/uninstall/finish": A, // uninstall.go + "GET /api/usage/checkins/off": U, // usage.go: the Usage page's switched-off check-ins; `magpie accounts checkin` does every account "GET /api/usage/deleted/into": U, // usage.go "GET /api/usage/heatmap": U, // usage.go "GET /api/usage/quotas/history/holds": U, // usage.go