Skip to content

fix: graceful flagsmith provider shutdown #1305

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

Merged

Conversation

paulhobbel
Copy link
Contributor

This PR

Properly close the FlagsmithClient on shutdown of the provider to support graceful shutdown of OpenFeature.

Related Issues

Fixes #1304

Notes

Follow-up Tasks

How to test

@paulhobbel paulhobbel requested a review from a team as a code owner April 11, 2025 11:11
@paulhobbel paulhobbel changed the title Close flagsmith client on shutdown fix: graceful flagsmith provider shutdown Apr 11, 2025
@paulhobbel
Copy link
Contributor Author

Hmm I see some tests of the flagd provider are failing but I have not touched the flagd provider. I see many other PRs also giving the same error. Anything I can do to unblock this PR?

@beeme1mr
Copy link
Member

The Flagsmith tests are passing. I'm going to merge this PR since the failing flagd tests are unrelated.

@beeme1mr beeme1mr merged commit 36d1001 into open-feature:main Apr 14, 2025
4 of 6 checks passed
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.

[Flagsmith] FlagsmithProvider does not implement shutdown logic
6 participants