Skip to content

Ignore linked worktree directory churn in project watcher#106

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/royal-beacon-d6123661
Jun 3, 2026
Merged

Ignore linked worktree directory churn in project watcher#106
SDSLeon merged 1 commit into
masterfrom
lightcode/royal-beacon-d6123661

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 3, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: Stop ProjectWatcher from treating linked-worktree directory events under .git/worktrees/<name> as meaningful repo git changes.
  • Extend known git noise filtering so top-level worktrees/<name> paths are ignored alongside existing worktree index noise.
  • Prevents spurious onGitChanged callbacks and unnecessary UI or supervisor refresh when worktrees churn on disk.
  • Add WSL worktree watch test asserting worktrees/feature events do not invoke onGitChanged.

- Treat `worktrees/<name>` paths as known git noise in WSL watches
- Add regression test and restore real timers after fake-timer cases
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 3, 2026 8:51am

@SDSLeon SDSLeon merged commit b5eb3d8 into master Jun 3, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/royal-beacon-d6123661 branch June 3, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant