LESSONS: a red only CI's OS shows is probed there with the suspect toggled

EBADF on macOS CI (#6368, #6785) sat four days; local macOS 27 never
showed it, and one probe run on CI's runners named WatchRoot (0522bf84f).
Docs only; nothing run.
This commit is contained in:
yetone
2026-11-16 08:24:24 +08:00
parent d46af794b1
commit 28236ad2d5
+14
View File
@@ -466,6 +466,20 @@ back every line after it, and the log moves in bursts.
runs every GUI file that wheels the page (`reach`, `wheelTo`).
- Seen 2× (2026-10-17, 2026-10-28).
**A red only CI's OS shows is probed on CI's runners, with the
suspect switched on and off, not rerun.** Start from what changed in
that system's code the day before the red first came.
- EBADF on plain file reads, writes and closes in internal/sessions was
red on macOS CI from 11-13 to 11-16 and filed twice (#6368, #6785).
mote and mica run macOS 27 and never showed it. The day before the
first red, 6f3e76626 had made the FSEvents stream with
kFSEventStreamCreateFlagWatchRoot. One probe run on macos-14, -15 and
-latest (#6795), with the flag on, off, on, off, gave 916 EBADF on and
0 off. 0522bf84f dropped the flag.
- A system flag that watches more than it needs is a cost: WatchRoot's
one job (word of a root renamed) is an os.SameFile on the next Watch.
- Seen 1× (2026-11-16).
**Windows CI only compiles the tests, so a Windows-only red shows
nowhere.** Run the package on the Windows box before calling a Windows
failure "the same on main".