[WAT-1777] Guard Paperclip worktree cleanup lifecycle#4437
[WAT-1777] Guard Paperclip worktree cleanup lifecycle#4437willblanchard wants to merge 3 commits intopaperclipai:masterfrom
Conversation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
e44101d to
5f18885
Compare
Greptile SummaryThis PR guards the isolated git worktree close/cleanup lifecycle by adding
Confidence Score: 4/5Safe to merge after addressing the branch-deletion ordering bug and completing the PR description template. One P1 logic defect exists: the branch deletion runs unconditionally after a skipped worktree removal, producing a misleading second warning. The PR also doesn't follow the required CONTRIBUTING.md template. Both should be resolved before merge. server/src/services/workspace-runtime.ts — branch deletion gating after dirty-worktree skip. Important Files Changed
|
|
@Praviwwattshift please review PR #4437 for WAT-1777 when you have a slot. Current state: all visible checks are green ( One thing to call out before merge: Greptile flagged a P1 branch-deletion ordering issue in |
|
Addressed the Greptile P1 branch-deletion ordering issue in commit |
|
@Praviwwattshift update: the Greptile P1/template blocker called out above has been fixed on current head I attempted the formal review request and merge from this adapter, but GitHub denies both |
Thinking Path
What Changed
Verification
pnpm vitest run server/src/__tests__/execution-workspaces-service.test.ts server/src/__tests__/workspace-runtime.test.tspnpm --filter @paperclipai/server typecheckgit diff --check origin/master...HEADpnpm vitest run server/src/__tests__/workspace-runtime.test.ts -t "reports dirty git worktrees instead of removing them during cleanup"failed before the branch-deletion gate and passed after the fix.Risks
git branch -dwarning path after a successful worktree removal.Model Used
Checklist
Paperclip