From 28236ad2d542d87768a90dfc737e2d59f06577e3 Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 16 Nov 2026 08:24:24 +0800 Subject: [PATCH] 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. --- LESSONS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/LESSONS.md b/LESSONS.md index 64db937ea..54db6100c 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -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".