You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
daemon: check the native file watcher refresh on Windows and Linux aarch64 #298
Before each request, the daemon refreshes folders from native file watcher (fsnotifier) events and walks them only when it cannot trust the watcher (#188, #217). The tests assert that the watcher is used only on macOS and Linux x86-64. These paths have not run anywhere:
Windows.fsnotifier keeps the order of events only within one drive, so a folder on another drive than the fence is walked. The fence compares reported paths as strings; if fsnotifier reports another letter case, the fence times out after 2 s and the refresh walks.
Linux aarch64. The MPS distribution has bin/linux-aarch64/fsnotifier only from 2026.3. Before that the daemon turns the watcher off.
Watcher failure. After a File Watcher Messages notification (for example the Linux inotify watch limit), every refresh walks. The group ID was checked only against intellij-community master, not against each supported MPS version, and the notification path has not run.
LibraryModelRefreshIntegrationTest is a smoke test, so the macOS and Windows smoke jobs check that edits stay visible, but on Windows they do not check which mode the refresh used.
What to do
Decide whether the tests should expect the watcher on Windows, and make watcherExpected in ExternalProjectRefreshSemanticsTest and LibraryModelRefreshIntegrationTest say so.
Check the fence on Windows with a folder on a second drive.
Trigger the failure notification once (for example with a low fs.inotify.max_user_watches) and check that the daemon log says a full walk because the file watcher reported a failure.
Activity