Skip to content

Handle legacy index cache and stale IPC during upgrade migration - #35

Merged
euforic merged 1 commit into
mainfrom
codex/migration-preflight
Oct 28, 2026
Merged

euforic merged 1 commit into
mainfrom
codex/migration-preflight

Conversation

@euforic

@euforic euforic commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Archive an index-only destination folder before moving the legacy profile store, retaining the cache in an owner-only location.
  • Remove only unreferenced socket nodes at the known profile IPC path after idle and lock checks; quarantine and verify each node before unlinking.
  • Keep real destination conflicts, linked folders, active sockets, and other special files fail-closed.

Validation

  • swift test --filter LegacyBrandMigrationTests (24 passed)
  • swift test (passed)
  • swift test --package-path Vendor/streamdown-swift (passed)
  • ./script/build_app.sh and ./script/package_app.sh (passed)

@euforic
euforic merged commit 9af151b into main Oct 28, 2026
1 check passed
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