Skip to content

Rust: Add version height parity tests - #1498

Merged
AArnott merged 1 commit into
mainfrom
agents/review-1489-rust-comparison-tests
Sep 1, 2026
Merged

Rust: Add version height parity tests#1498
AArnott merged 1 commit into
mainfrom
agents/review-1489-rust-comparison-tests

Conversation

@AArnott

@AArnott AArnott commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add Rust regression coverage for the path-filter scenarios fixed by Fix version height parity for filtered paths #1489
  • verify exclusion-only deletion, excluded-directory deletion, mode-only changes, case handling, and file/directory replacements use the same heights as C#
  • cover the Rust implementation's current wildcard include semantics

Notes

This changes test code only; the Rust version-height algorithm is unchanged.

Validation

  • cargo fmt --manifest-path src\\nerdbank-gitversioning-rs\\Cargo.toml -- --check
  • cargo test --manifest-path src\\nerdbank-gitversioning-rs\\Cargo.toml --lib (98 passed)

Cover the path-filter scenarios fixed for the managed and LibGit2 C# engines in #1489, and verify that the Rust implementation produces the same heights.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AArnott AArnott added this to the v3.11 milestone Sep 1, 2026
@AArnott
AArnott enabled auto-merge September 1, 2026 08:35
@AArnott
AArnott added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit 0a52d29 Sep 1, 2026
16 checks passed
@AArnott
AArnott deleted the agents/review-1489-rust-comparison-tests branch September 1, 2026 08:50
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.

1 participant