posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Feature request: Disable features that break local evaluation of feature flags

Open slshults opened this issue 1 year ago • 0 comments

Feature request

Is your feature request related to a problem?

• We always use onlyEvaluateLocally: true for Posthog SDK calls on our backend. Reason being is we want to keep things super fast, almost every network call fetches feature flags • Because of this we have to follow the 3 restrictions (see screenshot) when managing feature flags Problem is that it’s not always obvious to people managing feature flags that they need to avoid the 3 things in the screenshot.

CleanShot 2024-05-06 at 11 52 04@2x

Describe the solution you'd like

Have a way that we can specify that we require all feature flags to be compatible with local evaluation. If that is set then fully disable the 3 restricted features in the UI. E.g. it would be impossible to use a static cohort, the UI wouldn’t let you

Additional context

From https://posthoghelp.zendesk.com/agent/tickets/13188

Debug info

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/018f4e7e-28a9-70ed-8f6c-ad97ee6dcaa9?t=12556 (at https://us.posthog.com/project/8910#panel=support%3Asupport%3A%3A)
Admin: http://go/adminOrgUS/0180b091-b6b5-0000-2547-dc7cbbe26555 (Project: 8910)
Sentry: http://go/sentryUS/8910

slshults avatar May 06 '24 18:05 slshults