8000 test(golden): add v7 golden files written by v2.0.12, the last v7 writer · Issue #936 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

test(golden): add v7 golden files written by v2.0.12, the last v7 writer #936

Done

Description

@adityamukho

tests/golden/ holds six v7 files, all written by 2.0.3 (tests/golden/README.md). v2.0.4 through v2.0.12 changed WAL write and recovery paths that v3 has to migrate from:

No golden file was written by the release people will actually upgrade from.

Proposed:

CONTRIBUTING says every release that changes on-disk behavior adds golden files; 2.0.12 didn't change the format, but it is the last v7 writer.

Activity

  1. added this to the v3.0.0 milestone on Nov 29, 2026
  2. added
    migration
    on Nov 29, 2026
  3. adityamukho commented on Nov 29, 2026

    @adityamukho
    CollaboratorAuthor

    Corrections from the independent Codex review: 2.0.12 is the latest v7 writer, not the last, if more v2 patches ship. Migration fixtures from 2.0.11 already exist (docs/benchmarks/838-migration, checkpointed, no WALs), so this adds latest-release and WAL coverage rather than replacing them. A failed WAL append poisons later appends until recovery, so the 'entry after a failed append' recipe needs an explicit checkpoint or reopen step. Keep the 2.0.3 generator and add a separate 2.0.12 recipe. Include a browser (IndexedDB) v7 → v8 migration and reopen check.

  4. adityamukho commented on Nov 30, 2026

    @adityamukho
    CollaboratorAuthor

    Decided in #928 (2026-11-30): this must be done before the 3.0.0-alpha is tagged.

  5. added a commit that references this issue on Nov 30, 2026
  6. adityamukho commented on Nov 30, 2026

    @adityamukho
    CollaboratorAuthor

    Done in #952 (merged on v3): five v7 golden files written by 2.0.12, verify() in every corpus phase, a browser IndexedDB v7 → v8 migration test (green in Firefox/Chrome/Safari CI), and the one-off upgrade smoke from 2.0.12 with an uncheckpointed WAL (read-write and read-only, verify clean; results in the PR body).

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

    migration

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0