-
Notifications
You must be signed in to change notification settings - Fork 29
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(app-shell): to only events for flag variations #3426
Conversation
🦋 Changeset detectedLatest commit: e2a3691 The changes in this PR will be included in the next version bump. This PR includes changesets to release 37 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Thanks for the review. Will debug CI tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Just to better understand what this change does: is it about evaluation in the server side so the request time would potentially be shorter?
f2aa899
to
b0beac6
Compare
Not how I understood LaunchDarkly. There are some SDKs which have the legacy behaviour - to be non-breaking - that they send events to LaunchDarkly also for flags you don't requested. The docs say:
They recommend to only send analytic events for enabled flags as otherwise you run into cases in which false or non used flags send analytics data and then the flags are considered to be evaluated. To be honest it's a recommendation they made. I will try out a local build to see what we get over the wire prior to merging this. |
Deploy preview for application-kit-custom-views ready! ✅ Preview Built with commit e2a3691. |
Thanks for the explanation. I think I know understand better what we're trying to do. 👍 |
It doesn't seem to solve the issue but it should reduce a lot of networking we don't need/want anyway at this time. |
Summary
This attempts to reduce the flag evaluation to occur for flags we don't request. This is the result of a LD support ticket.