Tests: preserve coverage for legacy directory whiteouts #1076
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1076
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1076"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@anakatt on GitHub · 2026-11-24 11:21 UTC · original
anakatt:tests/legacy-directory-whiteouts→main· +4 −5 · 1 files · 1 commits · openI restored the legacy-whiteout case identified in the review of #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
crates/xcl/src/vfs.rs: create a legacy parent-only whiteout in the existing recreation test and keep the checks that original children stay hidden, including after reload.Tested
x86_64-pc-windows-msvc, Windows SDK 26100. Debug build withCARGO_PROFILE_DEV_DEBUG=0,CARGO_PROFILE_TEST_DEBUG=0,CARGO_BUILD_JOBS=1. No GPU tests selected.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
#[cfg(test)]; please apply thetest-onlylabel after reviewing it.Not tested
AI use
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.@mynzjerko on GitHub · 2026-11-24 11:53 UTC · original
Tested on native Windows (MSVC): the updated VFS directory whiteout test and the full workspace suite passed.
Tested
7720f9eb003c46d6932a47bab50b4b44f019d88932.0.32029.2010), AMD Ryzen 5 7500F, Windows 11 Pro 10.0.26300,rustc 1.100.0(stable-x86_64-pc-windows-msvc), DXC1.9.2602.17, debug buildcargo build --workspace: okcargo test -p xcl --lib -- vfs::tests vfs_hooks::tests --nocapture --test-threads=1: 22 passed, 0 failed, 0 ignored (includingvfs::tests::recreating_removed_directory_does_not_resurrect_original_children)cargo test --workspace -- --test-threads=4: 741 passed, 0 failed, 41 ignored (xcl --lib: 698 passed, 0 failed, 21 ignored;SKIPPEDGPU tests: 0)Not tested
scripts/smoke.ps1)AI use
@Toons29 on GitHub · 2026-11-25 03:11 UTC · original
Regression run of
7720f9ebon the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon4178e888, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 100 % of
main's frames, 100 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; I checked the blocks before posting.@DavidM1911 on GitHub · 2026-11-25 08:51 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.