Repository navigation
Sync main with master - #451
Merged
Merged
Conversation
LocalDiscovery signals its subscribers by touching a notification file. Touching a file that already exists mutates inode metadata and nothing else, so inotify reports the write as IN_ATTRIB rather than IN_MODIFY. watchdog 6 collapsed the two into a single FileModifiedEvent; watchdog 7 promotes IN_ATTRIB to a distinct FileAttribEvent, for which the _Watchdog handler declares no corresponding method. The event is therefore dispatched to a handler that does not exist, subscribers never wake, and published discovery events never reach the pool. The declaration carried no upper bound and the project maintains no lockfile, so CI adopted the new major the day it published. Five integration tests over the worker_update_pool fixture now fail deterministically across Python 3.11, 3.12 and 3.13, each after exhausting its full fifteen-second dispatch poll. No repository change is implicated: the commit that last passed reproduces every failure at the same SHA, and the only delta between the two runs is the resolved watchdog version. The defect is confined to Linux because the event mapping that changed is specific to inotify. The bound is a hotfix and admits no behavioral change of its own. Repairing the handler to wake on any notification-file event is tracked separately; that work is the precondition for lifting the constraint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated by the sync branches workflow.