From 4eeee52158ddf0ce286220cce6a5538eea06ba22 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 10 Nov 2026 19:56:57 +0800 Subject: [PATCH] lessons: the route guard a fourth time, and a row found by a word in it (11-10) --- LESSONS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/LESSONS.md b/LESSONS.md index 5c90d3d85..188d25a11 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -880,6 +880,12 @@ each one. A guard test lives where the rule is kept, not where the change is. A new agent, route or package-level value runs `go test . ./internal/library ./internal/cli ./internal/gui` before the push. + - And in the evening: e8fbee60e's /api/gateway/pause made the route + guard red a fourth time (db9f0652a), and 07af9f86a's "billing pay + as you go" row turned TestProvidersShowVertexCredentials red, whose + lineWith(out, " as ") found the billing row before the "as" row + (ea310a8c9). A test that finds a row by a word in it breaks when + another row says the word; find a labelled row by its label. - **Done right on 10-17.** The retire stack (0f1666b38 to de671719a) diffed staticcheck's U1000 against its base for dead code, b98f906b1 was red on the old code for an own-account gap, and 8 subscriptions