Three bugs fixed: 1. Legacy PID files (/tmp/dolt-test-server-*.pid) invisible to cleanup because only the new prefix (beads-test-dolt-) was scanned. Now scans both prefixes. 2. Orphaned temp dirs (beads-test-dolt-*, beads-bd-tests-*, fix-test-dolt-*, doctor-test-dolt-*) accumulated forever because cleanup only handled PID files. Now removes dirs older than 5 minutes whose server PID is dead. 3. Go module caches in test dirs have read-only perms preventing rm -rf. Now chmod u+w before removal. Found 94 stale test dirs (4.6GB) + 85 dolt data dirs (549MB) + 1 rogue test server + 21 dead PID files on production machine. Closes beads-8yk beads-4rj beads-str Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| testdoltserver.go | ||
| tmpfs.go | ||
| tmpfs_test.go | ||