From 69946f43c4577e4cbd6cc010b71866a5d96c1f06 Mon Sep 17 00:00:00 2001 From: yetone Date: Sat, 14 Nov 2026 17:48:48 +0800 Subject: [PATCH] cli: POST /api/page-away is named as the window's own, so the route parity test is green 80a315a70 added POST /api/page-away, the page saying it went from view so its Sessions and Usage caches can go. It has no CLI meaning, and TestEveryRouteHasACommandOrIsNamed was red on main for it. It is now in notYet as a window route. Run: go test -run TestEveryRouteHasACommandOrIsNamed ./internal/cli on mote at origin/main 75f872ef1: red before, ok after. --- 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 e26761f2e..c70966866 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -253,6 +253,7 @@ var notYet = map[string]string{ "GET /api/appearance/wallpaper": W, // appearance.go "POST /api/appearance/wallpaper": W, // appearance.go: the picture comes from the window's file picker "GET /api/quit": W, // api.go: the window's Quit question + "POST /api/page-away": W, // api.go: the page says it went from view, so its caches can go "GET /api/remote": W, // remote.go: another magpie opened in a window of the app "POST /api/remote": W, // remote.go "POST /api/remote/forget": W, // remote.go