-
Notifications
You must be signed in to change notification settings - Fork 33
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
[BUG] Panic when following getting started tutorial #238
Comments
Hi @i-fix-retarded-bugs . I'm sorry for the bad experience and thanks for the detailed report! There's a couple things happening here:
We will investigate and correct both these things if we confirm the issue. Lastly, though I appreciate the detailed report, and though I understand your frustration, I believe your username to be in violation of the CNCF code of conduct since it contains a term many consider a slur. Your username shows up in issues, release notes, PRs, etc, and we can't let it become part of the record. We request you change your username and remove it from any commits etc. Otherwise we will re-open a similar issue in this one's place, close this one, and block this user. |
Closing. See #238 (comment) and linked issues. |
Observed behavior
Panic from inside the library.
Expected Behavior
No panic.
Steps to reproduce
This code panics:
This code does not. The only difference is the added time.Sleep.
The issue is
github.com/open-feature/go-sdk@v1.8.0/pkg/openfeature/api.go:174
.For some reason, library/provider initialization is asynchronous, meaning one can use the library/provider without any guarantee that it is ready for usage, which goes against all common sense. The fix is to not do async initializaiton. I will link the pull request shortly.
The text was updated successfully, but these errors were encountered: