Skip to content

fs: Don't treat watcher errors as reason to do rescans (#56165) (cherry-pick to preview) - #56174

Merged
probably-neb merged 1 commit into
v1.2.xfrom
cherry-pick-v1.2.x-f87f0c0e
May 8, 2026
Merged

fs: Don't treat watcher errors as reason to do rescans (#56165) (cherry-pick to preview)#56174
probably-neb merged 1 commit into
v1.2.xfrom
cherry-pick-v1.2.x-f87f0c0e

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #56165 to preview


Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX
    checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #56064

This behavior regressed in
#54481

Release Notes:

  • Fixed an issue where broken symlinks, permission errors, or other fs
    errors in watched directories could cause excessive CPU usage

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 is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #56064

This behavior regressed in
#54481

Release Notes:

- Fixed an issue where broken symlinks, permission errors, or other fs
errors in watched directories could cause excessive CPU usage
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 8, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants