Conversation
…k handling Closes #1084 Co-Authored-By: Claude <noreply@anthropic.com>
worktrunk-bot
approved these changes
Feb 18, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
worktrunk-bot
approved these changes
Feb 18, 2026
Split error path test into two tests — one for directory recursive copy errors and one for top-level file copy errors — to cover lines 636-639 in step_commands.rs for codecov/patch. Co-Authored-By: Claude <noreply@anthropic.com>
Add test_copy_ignored_directory_with_symlinks to cover symlink creation in copy_dir_recursive_fallback (lines 755-756 in step_commands.rs). Co-Authored-By: Claude <noreply@anthropic.com>
Move #[cfg(unix)] and #[cfg(windows)] symlink creation into a dedicated create_symlink() function. This gives LLVM coverage cleaner source regions to instrument — inline #[cfg()] on individual statements caused coverage misattribution where the unix symlink path showed 0 hits despite being executed. Co-Authored-By: Claude <noreply@anthropic.com>
worktrunk-bot
approved these changes
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #1084
-vflag now shows entries being copied (was silently ignored)symlink_metadatainstead ofexists()to detect broken symlinks left by interrupted copies (was EEXIST requiringgit clean -fdx)node_modules/)create_symlink()for cleaner coverage instrumentationTest plan
test_copy_ignored_verbose— verbose output for filestest_copy_ignored_verbose_directory— verbose output for directoriestest_copy_ignored_broken_symlink_idempotent— EEXIST fix after ctrl+ctest_copy_ignored_error_includes_path_file— error context for file copiestest_copy_ignored_directory_with_symlinks— symlink preservation in directories