Skip to content

Clean managed worktrees after sessions#276

Merged
cbusillo merged 1 commit into
mainfrom
fix/managed-worktree-cleanup
May 31, 2026
Merged

Clean managed worktrees after sessions#276
cbusillo merged 1 commit into
mainfrom
fix/managed-worktree-cleanup

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • move current-session worktree reclamation into core housekeeping and call it from TUI shutdown
  • reclaim clean managed worktrees left behind by dead session registries while preserving active or dirty worktrees
  • add managed worktree count/size health warnings for rollout visibility

Closes #275

Validation

  • cargo test -p code-core housekeeping
  • ./build-fast.sh

@cbusillo cbusillo merged commit 0facccf into main May 31, 2026
1 check passed
@cbusillo cbusillo deleted the fix/managed-worktree-cleanup branch May 31, 2026 17:05
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.

Add managed worktree lifecycle cleanup and rollout health checks

1 participant