Skip to content

Conversation

@lszomoru
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 16, 2026 14:54
@lszomoru lszomoru enabled auto-merge (squash) January 16, 2026 14:54
@lszomoru lszomoru self-assigned this Jan 16, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 16, 2026
@lszomoru lszomoru added the git GIT issues label Jan 16, 2026
await fsPromises.cp(sourceFile, targetFile, {
force: true,
mode: fs.constants.COPYFILE_FICLONE,
recursive: false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that this is a queue and not recursive for large folders will be a big slowdown. The default should do a simple optimized recursive copy of node modules

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables copy-on-write (CoW) optimization when copying worktree include files to improve performance on file systems that support it (like APFS, Btrfs, and ReFS).

Changes:

  • Removed progress notification UI for file copying operations
  • Added mode: fs.constants.COPYFILE_FICLONE to enable copy-on-write when the file system supports it
  • Added logging with timing information for copy operations
  • Increased limiter concurrency from 10 to 15

@lszomoru lszomoru merged commit 9934a5d into main Jan 16, 2026
27 of 28 checks passed
@lszomoru lszomoru deleted the lszomoru/hostile-wolverine branch January 16, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants