Skip to content

test(core): make project copy cleanup idempotent - #13211

Merged
marius-kilocode merged 1 commit into
mainfrom
indispensable-iguanacolossus
Aug 18, 2026
Merged

test(core): make project copy cleanup idempotent#13211
marius-kilocode merged 1 commit into
mainfrom
indispensable-iguanacolossus

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

The ProjectCopy regression test removes its temporary checkout's .git directory to verify refresh behavior after Git metadata disappears. The removal was not idempotent, so macOS CI could fail before the behavior under test with ENOENT when cleanup raced with temporary filesystem teardown.

Use forced recursive removal for that deliberately absent-tolerant test setup. This preserves the regression scenario while preventing unrelated cleanup races from failing Core CI.

@kilo-code-bot

kilo-code-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • packages/core/test/project-copy.test.ts

Reviewed by grok-4.6 · Input: 29.3K · Output: 4.4K · Cached: 169K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 029e817 into main Aug 18, 2026
30 checks passed
@marius-kilocode
marius-kilocode deleted the indispensable-iguanacolossus branch August 18, 2026 14:45
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