diff --git a/LESSONS.md b/LESSONS.md index 4f86142f0..818ee370a 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -647,6 +647,21 @@ Two habits from them: (a36319d60), and TestCursorEditorCopiedOncePerChange's 100ms linger (2efb71ea0). +**A helper that gives a test a new HOME also stops what an earlier test +started under the old one.** +- #6761 (11-15): TestRemoveListedAccountLeavesHiddenNamesake was red in + full runs and green alone. TestPluginEmptyKeyKeyAsked, 1779 tests + earlier, started a real plugin host and left it up; plugin.SignOut + asks a running host, whose files were the earlier test's HOME, so the + remove landed there. A bisect on mote found it. 248edad80 has + claudeHome stop a running host before and after each test. +- The same class as the second half of #2449 (10-15) and #2702 (10-17): + "plugin hosts outliving their test's HOME". It was fixed per test + then, not in the helper every test goes through. +- When a test is red only in a full run, bisect the tests that run + before it (`-run '^(first half|Target)$'`) instead of rerunning. +- Seen 2× (2026-10-17, 2026-11-15). + **A test that breaks a shared file puts its bytes back, and its cleanup checks the write.** - ea3dee96a (10-16) had TestFetchPrivateEntries write "{not json" to the @@ -836,6 +851,13 @@ cause: - A cancelled run tests nothing. On 10-14 nine pushes in ten minutes cancelled each other's runs, and 3c4b4dc97 never had a run of its own; its red showed first at 84f14e555. + - 11-15: main's colour is the Test workflow's. The review loop read + the Docker workflow's green runs and called main green while Test + was red at 923cc8747 (macOS step cap at 75m, nothing printed after + internal/routes, #5451) and e99307fb8 (#6761). Use + `gh run list -w Test`. Of the 12 Test runs before 9bcdcfb7d, 7 were + cancelled by the next push, and #6764 was filed for the same test + as #6761 the same hour: search the test's name before filing. - 11-13: 459d668b3 (#6428) edited docs/sync.html and did not run `node llms-full.mjs`. site's "llms-full.txt is current" test went red at 21:05. Every Test run after it was cancelled by the next @@ -876,7 +898,12 @@ review listed.** (Merging only the reviewed head, and writing what was run before the merge, are in the code standards.) - #885 and #826 merged with their own new test failing. #846 merged with four known-wrong translations. Fix or file the problems first. -- Seen 1× (2026-10-05). +- plugins#1183 (11-15): the harm scan asked for a test of the tool-loop + case, where a dropped signed thought could be refused. The PR merged + 38 minutes later. The merge comment argued the case away and added no + such test. A case a review asks to test gets a test, or an issue that + says it is untested. +- Seen 2× (2026-10-05, 2026-11-15). **An issue that names two problems is closed when both are fixed.** - #2449's title named a lost tail and plugin hosts outliving their