zed/crates/file_finder
Bing Wang 2fd6e23778
file_finder: Debounce file finder refreshes on worktree updates (#60451)
# Objective

Delay picker refreshes for entry updates so bursty filesystem events
trigger only one search refresh, while still refreshing immediately when
worktrees are added or removed.

Update tests to advance both the watch latency and refresh debounce, and
add coverage for coalesced worktree updates.



## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable



Release Notes:

- N/A

---------

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2026-07-21 11:59:11 +00:00
..
src file_finder: Debounce file finder refreshes on worktree updates (#60451) 2026-07-21 11:59:11 +00:00
Cargo.toml Improve overall compilation stats after the telescope picker feature (#60114) 2026-06-30 09:26:20 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00