Skip to content

Conversation

@jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Jan 8, 2026

Note

Introduces an FDv2-ready testing data source and aligns APIs/constants.

  • New integrations/test_data_v2: TestDataV2 with FlagBuilderV2 for building flags/rules/targets and use_preconfigured_segment; emits updates to all attached instances
  • New impl/integrations/test_data/test_data_source_v2: implements both Initializer and Synchronizer to serve initial data and stream change sets (flags/segments)
  • data_system/config: fix data_store_mode namespace to Interfaces::DataSystem::DataStoreMode and wire builders (daemon/persistent store helpers)
  • impl/data_store/store: broadcast FlagChange objects instead of raw keys
  • Tests: add FDv2 system behavior and fallback scenarios (spec/impl/data_system/fdv2_datasystem_spec.rb) and TestDataV2 unit tests (spec/integrations/test_data_v2_spec.rb)

Written by Cursor Bugbot for commit e67b715. This will update automatically on new commits. Configure here.

@jsonbailey jsonbailey requested a review from a team as a code owner January 8, 2026 16:09
until @closed
begin
# stop() will push nil to the queue to wake us up when shutting down
update = @update_queue.pop
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@keelerm84 Ruby doesn't have a pop with timeout like we do in Python. The stop method will push nil into the queue to stop it from blocking so I'm not sure it is needed but I wanted to call it out.

Co-authored-by: Matthew M. Keeler <mkeeler@launchdarkly.com>
@jsonbailey jsonbailey requested a review from keelerm84 January 13, 2026 14:55
@jsonbailey jsonbailey merged commit c314338 into main Jan 13, 2026
10 checks passed
@jsonbailey jsonbailey deleted the jb/sdk-1543/fdv2-test-data-source branch January 13, 2026 15:57
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