Skip to content

test(chaos): fix NTFS volume probe so Windows hazard scenarios run - #68

Merged
pmaxhogan merged 1 commit into
mainfrom
test/chaos-ntfs-probe
Jun 27, 2026
Merged

pmaxhogan merged 1 commit into
mainfrom
test/chaos-ntfs-probe

Conversation

@pmaxhogan

Copy link
Copy Markdown
Owner

The chaos harness's NTFS-volume capability probe read the drive letter from the first character of a relative fixture path (target/chaos-fixtures -> t -> a nonexistent T:\), so cap:ntfs_volume was never detected and every NTFS hazard scenario silently skipped on Windows and in CI -- the chaos hermetic / chaos fake-drive (windows-latest) jobs were green while exercising none of them.

Fix: resolve the fixture root to an absolute path so the probe reads the real drive letter (C:).

Verified locally: run-all goes from 61 -> 74 scenarios actually executed (ADS, junctions, reparse points, recursive junction cycles, sparse/compressed/EFS files, hardlinks, reserved/surrogate names), 0 real failures. Surfaced while running the #23 crypto/restore soak natively on Windows.

🤖 Generated with Claude Code

probe_ntfs_volume read the drive letter from the first char of the RELATIVE
fixture path "target/chaos-fixtures" (-> 't' -> a nonexistent T:\ ), so
cap:ntfs_volume was never set and every NTFS hazard scenario silently skipped
on Windows and in CI. Resolve the fixture root to an absolute path so the probe
reads the real drive letter. Locally run-all goes 61 -> 74 scenarios actually
executed (ADS, junctions, reparse, sparse/compressed/EFS, hardlinks, reserved
names), 0 real failures.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UBkoioGf5QscNHccKyhQj2
@github-project-automation github-project-automation Bot moved this to Todo in Driven Jun 27, 2026
@pmaxhogan
pmaxhogan enabled auto-merge (squash) June 27, 2026 22:54
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

Area main this PR delta
Rust (lib crates) 76.76% 76.76% +0.00 (OK)
UI (vue/ts) 88.17% 88.17% +0.00 (OK)

Gate: passed - no coverage regression (epsilon 0.1 pp).

@pmaxhogan
pmaxhogan merged commit fc87667 into main Jun 27, 2026
18 checks passed
@pmaxhogan
pmaxhogan deleted the test/chaos-ntfs-probe branch June 27, 2026 23:11
@github-project-automation github-project-automation Bot moved this from Todo to Done in Driven Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant