Skip to content

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

Merged
afonsojramos merged 1 commit into
mainfrom
refactor/legacy-storage-cleanup
Jul 20, 2026
Merged

refactor(storage): remove legacy storage key after migration#3037
afonsojramos merged 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

@afonsojramos
afonsojramos merged commit 5854376 into main Jul 20, 2026
17 checks passed
@afonsojramos
afonsojramos deleted the refactor/legacy-storage-cleanup branch July 20, 2026 17:31
@github-actions github-actions Bot added this to the Release 7.0.0 milestone Jul 20, 2026
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.

2 participants