Skip to content

Add lockfile compatibility and migration fixtures #79

Closed

Description

@LunaStev

Motivation

Only a small unit test covers legacy lockfile version 1. Future format changes need durable fixtures proving read compatibility, strict rejection, deterministic migration, and preservation of locked graph meaning.

Acceptance criteria

  • Commit representative fixtures for every supported historical lockfile version.
  • Test normal, --locked, and --offline behavior for each fixture.
  • Require explicit version bumps for semantic format changes.
  • Verify migration is deterministic and atomic.
  • Reject unknown future versions without rewriting them.
  • Cover Git SHA-1 and SHA-256 object IDs, path portability, graph edges, and malformed entries.
  • Document the compatibility window and release-note requirement for migrations.

Activity

  1. added
    needs testing
    dependencies
    stability
    on Sep 18, 2026
  2. self-assigned this
    on Oct 1, 2026
  3. LunaStev commented on Oct 2, 2026

    @LunaStev
    MemberAuthor

    Verified completed against master 67797f6415f640e8c33f9a072879124b83934f84.

    Historical v1/v2/v3 and future-version fixtures cover migration, locked byte preservation, rejection, and offline behavior. Git tests include SHA-1/SHA-256 IDs, graph/path portability, and atomic publication. The compatibility window and migration release-note policy are documented.

    Evidence: tests/lockfile_compatibility.rs, tests/git_lock_reproducibility.rs, tests/wson_compatibility.rs, docs/release-readiness.md.

    Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesneeds testingstability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions