-
Notifications
You must be signed in to change notification settings - Fork 52
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
Respect session replay feature flag after /decide endpoint call #263
Comments
@marandaneto Is this relevant to Android/RN as well? |
This is not the case, in the absence of a cached value, the recording won't start.
This is the current behaviour and this is the issue.
Yes, but be aware of the memory footprint since queuing up lots of things might blow up people's apps.
Android yes, RN will "obey" the Android and iOS implementation |
Yeah, true! my bad. Updated the description |
Consider the new remote config endpoint before doing this, might affect implementation |
Description
Ticket: https://posthoghelp.zendesk.com/agent/tickets/20809
Session recordings start as soon as the app launches, but feature flag evaluation is executed asynchronously.
If the cached value is different that the value returned from
/decide
endpoint, then the recording may start (and not stop) when the flag evaluates tofalse
A possible fix is to mem-cache screenshots and skip processing until the
/decide
API has been successfully called - there are some memory footprint consideration here. We may need to use a different disk-backed queue, and drop or merge the queues once the flag evaluates?The text was updated successfully, but these errors were encountered: