Skip to content

[upstream #1076] Tests: preserve coverage for legacy directory whiteouts - #79

Closed
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1076
Closed

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1076

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 24, 2026

Copy link
Copy Markdown
Owner

I restored the legacy-whiteout case identified in the review of xcl-dev#1016.

Older XCL versions could hide a non-empty directory with one parent whiteout. The updated test deleted each child first, so it no longer exercised that saved state.

What is in it

Tested

  • Windows 11 Pro ARM64 10.0.26100.1742 in UTM (4 GiB VM RAM, Red Hat VirtIO GPU DOD), running x64 binaries through Windows emulation; rustc 1.100.0 x86_64-pc-windows-msvc, Windows SDK 26100. Debug build with CARGO_PROFILE_DEV_DEBUG=0, CARGO_PROFILE_TEST_DEBUG=0, CARGO_BUILD_JOBS=1. No GPU tests selected.
  • Exact source archive 7720f9eb003c46d6932a47bab50b4b44f019d889: cargo test --locked -p xcl --lib vfs -- --test-threads=4: 22 passed, 0 failed, 0 ignored, 697 filtered out; no SKIPPED lines. This includes the legacy directory-recreation regression.

Regression run

  • Not run. This diff changes only a test fixture in #[cfg(test)]; please apply the test-only label after reviewing it.

Not tested

  • Full Windows/GPU suite, native x64 hardware and retail titles. The focused run used Windows x64 emulation in an ARM64 VM.

AI use

  • I used omp (openai-codex/gpt-6-astra) to investigate the review feedback, update the test, configure the VM build tools, run the focused Windows tests, and prepare this description.

Mirror of xcl-dev#1076 (auto-synced, do not edit).

Older runs could persist a parent whiteout without hiding each child
individually. Restore that fixture so directory recreation still covers
pushing the parent's whiteout down to its original children.

Follow-up to the review of xcl-dev#1016. No runtime behavior change.
Windows tests not run: the available VM has no configured build tools.

Assisted-by: omp (openai-codex/gpt-6-astra)
@ufoptg

ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Upstream PR xcl-dev#1076 was closed or merged.

@ufoptg ufoptg closed this Nov 25, 2026
@ufoptg
ufoptg deleted the upstream-pr/1076 branch November 25, 2026 00:11
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