From dcb0f3dcd1bf75511dd22723f1cfc3ba8d19b557 Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 15 Nov 2026 06:00:05 +0800 Subject: [PATCH] lessons: a red filed as "red on main" is bisected before anyone ships past it 2bb201162 saved a pasted curl key unseen over a keyed provider's own; key-box-once said so, was filed as a main red (#6424, #6709) with no cause, and the review bisected and fixed it (a2a49c204). Docs only. --- LESSONS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/LESSONS.md b/LESSONS.md index 5040a3414..a0dc51208 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -1510,6 +1510,19 @@ each one. and run each package that has one. The review's own first run of it was piped through tail and lost which package failed; the rerun went to a log file. +- **11-15, criteria still missed.** + - A red filed as "red on main" is bisected before anyone ships past + it. 2bb201162 (11-12) dropped `&& key.isConnected` from the + editor's paste reader, so a curl pasted into a keyed provider's + Base URL saved its key unseen over the provider's own. It ran 92 + provider-* GUI files; key-box-once, which says exactly that, isn't + named provider-*, and went red. #6424 then filed it as "red on + origin/main", and #6709 lists it among 111 red files, both with no + cause. The review bisected it in two runs (10/10 at the parent, + 0/10 at 2bb201162) and fixed it in a2a49c204. Choose GUI files by + what the change touches (grep the tests for its selectors and + words), not by name; and a red on main has a first bad commit, + which `git bisect` finds faster than a list grows. - **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