Files
gastown/internal/lock
mayor 3ffebb136f Fix gt doctor hanging on large workspaces
Two fixes:

1. FindAllLocks in lock/lock.go was walking into massive git repo
   clones (e.g., 13GB java repos in crew members). Added skipDirs map
   to skip .git, node_modules, vendor, target, build, and other large
   irrelevant directories during filepath.Walk.

2. CloneDivergenceCheck's git fetch could hang indefinitely waiting
   for SSH authentication prompts. Added environment variables to
   disable interactive SSH features:
   - GIT_SSH_COMMAND='ssh -o BatchMode=yes -o ConnectTimeout=3'
   - GIT_TERMINAL_PROMPT=0

Doctor now completes in ~2 minutes instead of hanging indefinitely.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 13:37:31 -08:00
..