mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-07 03:22:17 -08:00
1.6 KiB
1.6 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | updated_date | labels | dependencies | references | priority | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-95 | Invalidate old character dictionary snapshots after kana alias schema change | Done | 2026-03-06 09:25 | 2026-03-06 09:28 |
|
|
high |
Description
Bump character dictionary snapshot format/version so cached AniList snapshots created before kana alias generation are rebuilt automatically on next auto-sync or generation run.
Acceptance Criteria
- #1 Old cached character dictionary snapshots are treated as invalid after the schema/version bump
- #2 Current snapshot generation tests cover rebuild behavior across version mismatch
- #3 No manual cache deletion is required for users to pick up kana alias term generation
Final Summary
Bumped the character dictionary snapshot format version so cached AniList snapshots created before kana alias generation are automatically treated as stale and rebuilt. Added regression coverage that seeds an older-format snapshot and verifies getOrCreateCurrentSnapshot fetches fresh data and overwrites the stale cache.
Verified with bun test src/main/character-dictionary-runtime.test.ts and bun run tsc --noEmit.