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

fix: Finally hooks do not get called when the provider is not ready #424 #425

Conversation

chrfwow
Copy link
Contributor

@chrfwow chrfwow commented Jan 29, 2025

This PR

Calls the finally hooks after flag evaluation was attempted, even whe nthe provider is not in a ready state.

Related Issue

Fixes #424

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.55%. Comparing base (9c2ed71) to head (5524652).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   97.54%   97.55%           
=======================================
  Files          31       31           
  Lines        1387     1391    +4     
=======================================
+ Hits         1353     1357    +4     
  Misses         34       34           
Flag Coverage Δ
unittests 97.55% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrfwow chrfwow changed the title Finally hooks do not get called when the provider is not ready #424 fix: Finally hooks do not get called when the provider is not ready #424 Jan 29, 2025
@beeme1mr
Copy link
Member

Hey @chrfwow, could you please add a test?

@beeme1mr beeme1mr merged commit 8f2caba into open-feature:main Jan 29, 2025
15 checks passed
@chrfwow chrfwow deleted the Finally-hooks-do-not-get-called-when-the-provider-is-not-ready-#424 branch January 30, 2025 07:16
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.

Finally hooks do not get called when the provider is not ready
2 participants