Skip to content
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

[FFM-5478]: Ruby SDK failed to cache some flags due to encoding #8

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

davejohnston
Copy link
Collaborator

Remove the file cache as it is not required and caused bugs. Ensure the segments are stored using set_segment instead of set_flag on startup Add the latest evaluation tests

The Ruby SDK was failing to store some flags in its cache on startup, this meant the SDK would not function as expected. This only seemed to be a problem for the file cache, rather than in mem
cache. The file cache could only handle UTF-8 data.

There was also a bug during startup where set_flag was being called in place of set_segment, which meant no group data was stored in the cache.

The evaluation tests were included to help test and verify the above fixes.

@swarmia
Copy link

swarmia bot commented Nov 22, 2022

Remove the file cache as it is not required and caused bugs.
Ensure the segments are stored using set_segment instead of set_flag on startup
Add the latest evaluation tests

The Ruby SDK was failing to store some flags in its cache on startup,
this meant the SDK would not function as expected.
This only seemed to be a problem for the file cache, rather than in mem
cache.   The file cache could only handle UTF-8 data.

There was also a bug during startup where set_flag was being called in
place of set_segment, which meant no group data was stored in the cache.

The evaluation tests were included to help test and verify the above fixes.
@davejohnston davejohnston merged commit 9838eb6 into main Nov 28, 2022
@davejohnston davejohnston deleted the FFM-5478 branch November 28, 2022 18:58
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