Files
magpie/internal
yetone 3173c4f41e gui test: a route the CLI's list doesn't name fails internal/gui too
TestEveryRouteHasACommandOrIsNamed (internal/cli) went red on main for a new GUI route six times in a week (#5946, #6162, #6677, #6724, #6786): GUI changes run internal/gui, not internal/cli. TestEveryRouteIsNamedForTheCLI reads the same HandleFunc routes and fails when one isn't a key in internal/cli/settings_parity_test.go, so the run a GUI change already does catches it. The CLI test still checks which command each route has. LESSONS: the 11-15 case and the rule that a check repeatedly missed goes where the work runs.

Run at origin/main ec5b96c44 plus this, on mica: go test -count=1 ./internal/gui ok (185s); TestEveryRouteIsNamedForTheCLI red with the quit/disconnect line taken out of notYet ("POST /api/quit/disconnect (api.go) isn't named ..."), green with it. gofmt -l clean. Not run: Linux and Windows vet (test-only file, os/filepath/regexp only).
2026-11-16 01:18:18 +08:00
..
…
…
…
…
…
…
…
…
…
…