You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(golden): add v7 golden files written by v2.0.12, the last v7 writer #936
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:
Check their manifests after v3 migration, like the 2.0.3 files.
Before the alpha, run a one-off upgrade smoke on the bench machine: a database built and used by 2.0.12 (including uncheckpointed WAL), opened read-write and read-only by v3, then verify().
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.
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.
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).
Activity
adityamukho commentedon Nov 29, 2026
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.
adityamukho commentedon Nov 30, 2026
Decided in #928 (2026-11-30): this must be done before the 3.0.0-alpha is tagged.
Merge pull request #952 from project-minigraf/test/936-golden-v2012
adityamukho commentedon Nov 30, 2026
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).