Skip to content

Conversation

@timvw
Copy link
Owner

@timvw timvw commented Jan 15, 2026

Summary

  • delete the worktree directory after git worktree remove completes
  • prune the repo folder under WORKTREE_ROOT if it is left empty
  • add regression test covering cleanup when git leaves the path behind

@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.95%. Comparing base (099dbae) to head (0a64792).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
main.go 0.00% 30 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   20.17%   18.95%   -1.23%     
==========================================
  Files           1        1              
  Lines         466      496      +30     
==========================================
  Hits           94       94              
- Misses        366      396      +30     
  Partials        6        6              
Files with missing lines Coverage Δ
main.go 18.95% <0.00%> (-1.23%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timvw timvw merged commit bf5724c into main Jan 15, 2026
11 checks passed
@timvw timvw deleted the fix/remove-worktree-dir branch January 15, 2026 14:33
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