Skip to content

[FSSDK-13110] cache update - #1175

Merged
junaed-optimizely merged 3 commits into
masterfrom
junaed/fssdk-13110-cached-datafile-validation-issue
Sep 14, 2026
Merged

[FSSDK-13110] cache update#1175
junaed-optimizely merged 3 commits into
masterfrom
junaed/fssdk-13110-cached-datafile-validation-issue

Conversation

@junaed-optimizely

Copy link
Copy Markdown
Contributor

Summary

  • Bump the datafile cache key to opt-datafile-v6-<sdkKey> so v6 never reads a datafile persisted by an older SDK under the old key.
  • Make AsyncStorageCache/LocalStorageCache Store<string> (no internal JSON.stringify/parse) and move event serialization into EventStore.

Test plan

  • npx vitest run — all 1091 tests pass, no type errors.
  • Updated cache and EventStore specs for string-only behavior.

Issues

@coveralls

coveralls commented Sep 7, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 77.624% (-0.007%) from 77.631% — junaed/fssdk-13110-cached-datafile-validation-issue into master

@raju-opti raju-opti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small comment

Comment thread lib/project_config/polling_datafile_manager.ts Outdated
@junaed-optimizely
junaed-optimizely merged commit 4867bbb into master Sep 14, 2026
18 of 26 checks passed
@junaed-optimizely
junaed-optimizely deleted the junaed/fssdk-13110-cached-datafile-validation-issue branch September 14, 2026 15:21
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.

3 participants