Skip to content

Normalize Windows paths in dirty-checkout regression assertions #114

Closed

Description

@LunaStev

Evidence

PR #113 was merged, but its Windows x64 test job failed: https://github.com/wavefnd/Vex/actions/runs/35682062912/job/106600920967 . The dirty_managed_checkouts_are_rejected_without_discarding_changes test compares a checkout path as raw text. Vex reports a canonical Windows verbatim path while the fixture path uses an ordinary spelling. The product correctly rejected the dirty checkout; the assertion failed.

The subsequent master CI run is also red: https://github.com/wavefnd/Vex/actions/runs/35682750653 .

Acceptance criteria

  • Compare paths as paths, or normalize both spellings before asserting diagnostics; do not require a specific Windows prefix.
  • Continue asserting package name, dirty-checkout refusal, recovery hint, unchanged file contents, locked commit, and lockfile.
  • Re-run cargo test --locked --test git_lock_reproducibility on Windows and the full CI matrix.
  • Ensure the test still fails if Vex actually accepts a dirty checkout.

This is a test portability fix, not a relaxation of the reproducibility guard. Related to #19 and PR #113.

Activity

  1. added
    bug
    good first issue
    ci
    cross-platform
    critical
    on Sep 22, 2026
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

    bugcicriticalcross-platformgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions