Skip to content

Versioned Preference System #1255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Dhruv-0-Arora
Copy link
Collaborator

AARD-2025

Symptom

After removing/adding something to the preference system during development, users' preferences will be 'outdated' which can cause misalignments between what is stored in their local storage cache and

Task

Add a versioning to the Preference System that will enable Synthesis to migrate between versions when the production has been pushed to prevent users from running into issues when a new version is released and their local preferences are outdated.

Solution

Added a version to global preferences to determine whether a client's versioning system is outdated & a migration system to translate the old preferences to be compatible with the new version of fission.

Verification

Manually changing the version of the preference system and modifying any of the keys of the preferences themselves.


Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

@Dhruv-0-Arora Dhruv-0-Arora self-assigned this Aug 4, 2025
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