Fix Windows git untracked status for canonicalized paths#161
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Merged into |
Summary
vcs::git::tests::test_git_service_untracked_filethat still reproduced on GitHub Actions after fix: handle Windows verbatim git paths #160file_status()with a canonicalized file pathWhy
Historical Windows runs for #160 still failed with
left: Clean,right: Untrackedon the GitHub runner, while local Windows repro remained inconsistent. This keeps the fix scoped to the remaining path-shape mismatch and preserves the earlier fallback logic.Validation
cargo test --locked --bin ferrite vcs::git::tests::test_git_service_untracked_file -- --exact --nocapturecargo test --locked --bin ferrite vcs::git::tests:: -- --nocapturecargo check --locked --bin ferritegit diff --check -- src/vcs/git.rsAll cargo commands were run with:
CARGO_BUILD_JOBS=1CARGO_TARGET_DIR=E:\Zero_Base\sumi_os\playground\Ferrite-windows-git-untracked-fix\targetNotes
cargo checkare outside this patch