Files
zed/crates/worktree/tests
Ben Kunkle 63089a6ebe worktree: Clean up watches when symlinks disappear during scanning (#65939)
## Summary

Fix a watch leak introduced by #61372: deleting an external symlink
between watch registration and directory enumeration left its canonical
target watched.

Record cleanup and event-path mappings when establishing the watch,
before enumeration can fail. Add a deterministic FakeFs regression.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- N/A
2026-10-21 18:42:55 +00:00
..