Skip to content

Add a local SHA-256 Git repository lockfile integration fixture #138

Closed

Description

@LunaStev

Gap

src/lockfile.rs accepts 64-character SHA-256 object IDs and has unit tests for their case normalization, but Git integration fixtures use the default SHA-1 object format. End-to-end clone, lock, checkout, and --locked --offline reuse of a SHA-256 Git repository are not covered.

Acceptance criteria

  • Create a local Git fixture with SHA-256 object format when the installed Git supports it; report a clear skip only on unsupported Git versions.
  • Assert the full 64-character commit is written to vex.lock and reused without network in --locked --offline mode.
  • Verify a subsequent selected or full update points to the expected new SHA-256 commit.
  • Keep existing SHA-1 tests unchanged and use no external network.
  • Coordinate format compatibility fixtures with Add lockfile compatibility and migration fixtures #79.

Activity

  1. added
    good first issue
    needs testing
    dependencies
    on Sep 22, 2026
  2. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesgood first issueneeds testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions