Skip to content

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

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

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

Conversation

@zed-zippy

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

Copy link
Copy Markdown
Contributor

Cherry-pick of #56165 to stable


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
@probably-neb
probably-neb enabled auto-merge (squash) May 8, 2026 13:45
@probably-neb
probably-neb merged commit 19f9629 into v1.1.x May 8, 2026
39 checks passed
@probably-neb
probably-neb deleted the cherry-pick-v1.1.x-f87f0c0e branch May 8, 2026 13:58
Nkr1shna pushed a commit to neozed-industries/neo-zed that referenced this pull request May 11, 2026
…s#56165) (cherry-pick to stable) (zed-industries#56175)

Cherry-pick of zed-industries#56165 to stable

----
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 zed-industries#56064

This behavior regressed in
zed-industries#54481

Release Notes:

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

Co-authored-by: Ben Kunkle <ben@zed.dev>
Nkr1shna pushed a commit to neozed-industries/neo-zed that referenced this pull request May 13, 2026
…s#56165) (cherry-pick to stable) (zed-industries#56175)

Cherry-pick of zed-industries#56165 to stable

----
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 zed-industries#56064

This behavior regressed in
zed-industries#54481

Release Notes:

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

Co-authored-by: Ben Kunkle <ben@zed.dev>
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