Skip to content

refactor(storage): remove legacy storage key after migration#3037

Open
afonsojramos wants to merge 1 commit into
mainfrom
refactor/legacy-storage-cleanup
Open

refactor(storage): remove legacy storage key after migration#3037
afonsojramos wants to merge 1 commit into
mainfrom
refactor/legacy-storage-cleanup

Conversation

@afonsojramos

Copy link
Copy Markdown
Member

Summary

Split from #3034. The legacy-storage migration now self-cleans:

  • After a successful migration the gitify-storage key is removed instead of overwritten with a {migrated} marker, so subsequent launches short-circuit on a null read instead of parsing and logging on every startup.
  • Full removal of the migration is intentionally NOT included: it has not shipped in a release yet, so deleting it would strand existing users' accounts and settings. It stays (isolated in utils/core/storage.ts with a removal TODO) until at least one release containing it has shipped.

@sonarqubecloud

Copy link
Copy Markdown

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

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

1 participant