Skip to content

docs(troubleshooting): add wt list fsmonitor hang - #2194

Merged
max-sixty merged 1 commit into
mainfrom
timeout
Apr 13, 2026
Merged

max-sixty merged 1 commit into
mainfrom
timeout

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Document the symptom — wt list timed out after 120s with working-tree-diff and working-tree-conflicts blocked — and trace it to a wedged git fsmonitor--daemon.

Includes lsof snippets to list running daemons by worktree and to kill only orphans (those whose IPC socket no longer resolves to a path). These are safe to reach for when a hang hits.

Also notes why daemons leak: wt remove calls fsmonitor--daemon stop, but a daemon that can't answer its IPC can't be stopped through it, so it orphans when its worktree goes away.

This was written by Claude Code on behalf of @max-sixty

Document the symptom (120s timeout with blocked working-tree-diff/conflicts
tasks), how to identify hung `git fsmonitor--daemon` processes via their
IPC socket, and how to clean up orphans.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 8f7aa46 into main Apr 13, 2026
24 checks passed
@max-sixty
max-sixty deleted the timeout branch April 13, 2026 15:27
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.

2 participants