LESSONS: a host outliving its test's HOME, a review's case argued away, Test's colour

- A helper that gives a test a new HOME also stops what an earlier
  test started under the old one (#6761, 248edad80; same class as
  #2449/#2702 on 10-17). Seen 2×.
- Never merge with a review's problem open: plugins#1183 merged with
  the tool-loop test the review asked for argued away. Seen 2×.
- Under "A cancelled run tests nothing": main's colour is the Test
  workflow's, not Docker's (923cc8747, e99307fb8), 7 of 12 Test runs
  cancelled, and #6764 filed as a duplicate of #6761.

Docs only; nothing run.
This commit is contained in:
yetone
2026-11-15 22:39:30 +08:00
parent 75ab21af4d
commit 2a8e1b4448
+28 -1
View File
@@ -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