harness / ff-ruby-server-sdk

Ruby Server SDK for integrating with Harness Feature Flag service.
https://www.harness.io/
Apache License 2.0
3 stars 5 forks source link

[FFM-6362] - Ruby FF SDK is not waiting initialization when using "wait_for_initialization" method. #11

Closed andybharness closed 1 year ago

andybharness commented 1 year ago

FFM-6362 - Ruby FF SDK is not waiting initialization when using "wait_for_initialization" method.

Why wait_for_initialization does not wait and returns too quickly, allowing caller to evaluate flags before they're ready

What The update processor is taking a callback which is attempting to compare vairiables which haven't been set yet, causing the code to exit early. Separate the constructors and add new init methods so we are not comparing 'nil'

Testing Tested getting started in RubyMine

swarmia[bot] commented 1 year ago

✅  Linked to Bug FFM-6362 · Ruby FF SDK is not waiting initialization when using "wait_for_initialization" method.