fix(tests): Stabilize tests and document chokidar-inspired Node watcher architecture

This commit is contained in:
2025-12-11 11:35:45 +00:00
parent afe462990f
commit f4243f190b
5 changed files with 830 additions and 578 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-12-11 - 6.2.4 - fix(tests)
Stabilize tests and document chokidar-inspired Node watcher architecture
- test: add waitForFileEvent helper to wait for events for a specific file (reduces test flakiness)
- test: add small delays after unlink cleanup to account for atomic/temp-file debounce windows
- docs: expand readme.hints.md with a detailed Node watcher architecture section (DirEntry, Throttler, atomic write handling, closer registry, constants and config)
- docs: list updated test files and coverage scenarios (inode detection, atomic writes, stress tests)
## 2025-12-11 - 6.2.3 - fix(watcher.node)
Improve handling of temporary files from atomic editor writes in Node watcher