8000 test: golden-file compatibility corpus for every file format version · Issue #391 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

test: golden-file compatibility corpus for every file format version #391

Closed

Description

@adityamukho

Problem

tests/fixtures/ holds one file, compat.graph. tests/migration_matrix_test.rs checks v7 round trips and one empty v3 file. No committed file with real data exists for v1, v2, v4, v5 or v6, and there are no v7 files that match real-world use:

  • files written by several checkpoints
  • files after a crash-triggered index rebuild
  • files with multi-valued facts

v3.0.0 will drop v1–v6 and add a v7→v8 migration. It is a one-way change, so v7 files need to be frozen as fixtures before the v8 work goes further.

Ask

Activity

  1. added this to the v3.0.0 milestone on Sep 26, 2026
  2. added 2 commits that reference this issue on Oct 6, 2026
  3. adityamukho commented on Oct 6, 2026

    @adityamukho
    CollaboratorAuthor

    Done on v3 in #456. The v7 corpus landed on main in #455. There are 13 golden files: six v7 files from minigraf 2.0.3, checked after migration, and seven v8 files frozen at 23aa57c. Each has a manifest. Golden files are add-only, and the golden-corpus job in policy.yml enforces that.

  4. added a commit that references this issue on Oct 8, 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

    migrationMigration related issuestabilityStability/panic issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0