Skip to content

Migrate legacy storage to typed data - #59

Merged
tiye merged 3 commits into
mainfrom
feat/typed-storage-migration
Sep 30, 2026
Merged

tiye merged 3 commits into
mainfrom
feat/typed-storage-migration

Conversation

@tiye

@tiye tiye commented Sep 29, 2026

Copy link
Copy Markdown
Member

Summary

  • detect typed versus legacy storage at startup
  • normalize legacy and hybrid map/struct snapshots into the current Database schema
  • preserve the first legacy snapshot as storage.cirru.legacy-backup.cirru
  • write and validate storage.cirru.migrating before atomically replacing storage
  • use one typed serializer for migration and subsequent persistence, excluding transient sessions

Verification

  • calcit test --summary-only (21 passed)
  • client and server --check-only
  • server dynamic-method analysis: 0 findings
  • filesystem migration exercised against a legacy fixture: typed output validated, backup preserved, temporary file renamed away

Comment thread calcit.cirru Outdated
@tiye
tiye merged commit 787fb80 into main Sep 30, 2026
1 check passed
@tiye
tiye deleted the feat/typed-storage-migration branch September 30, 2026 05:16
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