Skip to content

fix: xtask conformance tests fail — binary path resolution broken #6

Closed

Description

@EffortlessSteven

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:

  1. Fix cargo_bin_path() to fall back to workspace-relative target/debug/diffguard
  2. Build the binary if missing
  3. Validate the path points to the correct binary (not xtask)

Acceptance Criteria

Activity

  1. added a commit that references this issue on Apr 5, 2026
    ab92fa0
  2. added 8 commits that reference this issue on Apr 5, 2026
    4a575ed
    c68890d
    a2a9c09
    dc1e3c5
    e470889
    d4cdb73
    0cc3e2f
    3694e33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions