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

VIH-11072 Fix flag evaluation issue with launch darkly service #2279

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

oliver-scott
Copy link
Contributor

@oliver-scott oliver-scott commented Oct 22, 2024

Jira link

https://tools.hmcts.net/jira/browse/VIH-11072

Change description

Fixes an issue where dom1 and other feature flags are being incorrectly determined as switched off

  • Wait for the flags to load when retrieving a flag, to avoid prematurely evaluating it as unavailable and switched off
  • Do this by emitting a value for the flagsReadySubject once the flags have been loaded

@oliver-scott oliver-scott marked this pull request as ready for review October 22, 2024 13:48
@oliver-scott oliver-scott requested review from a team as code owners October 22, 2024 13:48
Copy link

@oliver-scott oliver-scott merged commit 62a78f8 into master Oct 22, 2024
9 checks passed
@oliver-scott oliver-scott deleted the bug/VIH-11072-feature-flags branch October 22, 2024 15:09
oliver-scott added a commit that referenced this pull request Oct 22, 2024
* Wait for flags to be ready before returning them

* Sonar fix
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