Skip to content

test: lock exact file-version wire contracts - #8019

Draft
Xuanwo wants to merge 2 commits into
xuanwo/exact-file-format-identityfrom
xuanwo/exact-version-stack-02-fixtures
Draft

test: lock exact file-version wire contracts#8019
Xuanwo wants to merge 2 commits into
xuanwo/exact-file-format-identityfrom
xuanwo/exact-version-stack-02-fixtures

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Part 2/12 of #7877. Depends on #7879.

This is an independently reviewable step toward the final layout demonstrated in #7979.

Before moving reader and writer ownership, this PR locks the persisted contracts for V1, V2.0, V2.1, and V2.2 with checked-in fixtures. The assertions cover manifest identity, DataFile identity, standard footer numbers, embedded footer numbers, schema, and representative reads.

The V2.0 fixture explicitly preserves the intentional split between the standard footer (0, 3) and embedded footer (2, 0). No production dispatch changes are included.

Validation:

  • cargo test -p lance-file compatibility_tests
  • cargo fmt --all -- --check

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

Labels

A-encoding Encoding, IO, file reader/writer chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant