Problem
3 xtask tests fail, blocking CI and PR #5 merge:
tests::run_with_args_dispatches_conform_quick — conformance tests 3 (Survivability) and 9 (Tool error code) can't find the diffguard binary
tests::run_with_args_dispatches_ci_with_fake_cargo — cascading failure from mutex poisoning
tests::run_with_args_dispatches_mutants_with_fake_cargo — cascading failure
Root Cause
cargo_bin_path() in xtask/src/conform_real.rs resolves to the xtask test binary instead of the diffguard binary when running cargo test -p xtask.
Fix
See .hermes/plans/001-conformance-test-fix.md for full plan:
- Fix
cargo_bin_path() to fall back to workspace-relative target/debug/diffguard
- Build the binary if missing
- Validate the path points to the correct binary (not xtask)
Acceptance Criteria
Problem
3 xtask tests fail, blocking CI and PR #5 merge:
tests::run_with_args_dispatches_conform_quick— conformance tests 3 (Survivability) and 9 (Tool error code) can't find the diffguard binarytests::run_with_args_dispatches_ci_with_fake_cargo— cascading failure from mutex poisoningtests::run_with_args_dispatches_mutants_with_fake_cargo— cascading failureRoot Cause
cargo_bin_path()inxtask/src/conform_real.rsresolves to the xtask test binary instead of the diffguard binary when runningcargo test -p xtask.Fix
See
.hermes/plans/001-conformance-test-fix.mdfor full plan:cargo_bin_path()to fall back to workspace-relativetarget/debug/diffguardAcceptance Criteria
cargo test --workspaceexits 0