Skip to content

doc-sync: add storeMigrations.test.ts + bootstrapMigration.test.ts to CLAUDE.md file structure#164

Draft
jacuzzicoding wants to merge 1 commit into
developmentfrom
claude/doc-sync-2026-06-23
Draft

doc-sync: add storeMigrations.test.ts + bootstrapMigration.test.ts to CLAUDE.md file structure#164
jacuzzicoding wants to merge 1 commit into
developmentfrom
claude/doc-sync-2026-06-23

Conversation

@jacuzzicoding

Copy link
Copy Markdown
Owner

Summary

PR #151 (migration test coverage, merged 2026-06-11) added two new test files to src/lib/:

  • storeMigrations.test.ts — 9 tests covering the v1→v2 donation lift + gameId backfill and the v2→v3 hemisphere backfill, including idempotency
  • bootstrapMigration.test.ts — 5 tests covering the one-time localStorage key rename and its safe-delete guard (also fixed a bug where a corrupt ac-web value would trigger deletion of the only valid ac-web:v1 copy)

Neither file was added to the src/lib/ section of CLAUDE.md's file structure listing. This PR adds both entries alongside the existing test file entries (store.test.ts, uiStore.test.ts, etc.).

What changed

CLAUDE.mdsrc/lib/ file structure section

Added after saveFileReconcile.test.ts:

    storeMigrations.test.ts # Vitest tests for v1→v2 + v2→v3 store migrations (idempotency) (#151)
    bootstrapMigration.test.ts # Vitest tests for one-time localStorage key rename (#151)

Not touched

Test plan

  • Confirm src/lib/storeMigrations.test.ts exists on development
  • Confirm src/lib/bootstrapMigration.test.ts exists on development
  • Confirm both entries appear in the src/lib/ block of CLAUDE.md
  • Doc-only change — no build impact

Generated by nightly doc-sync audit · 2026-06-23


Generated by Claude Code

…t.ts to file structure

Both files were added in PR #151 (migration test coverage, 2026-06-11) but were
not reflected in the lib section of the file structure listing. Each guards the
documented zero-data-loss migration path for pre-v0.7 users.
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
animalcrossingwebapp Ready Ready Preview, Comment Jun 23, 2026 6:12am

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant