PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.78k stars 1.3k forks source link

Resiliency and JSON Flags Spec #13627

Closed EDsCODE closed 1 day ago

EDsCODE commented 1 year ago

Problem

Implementation

Frontend

Server library Pending Example: https://github.com/PostHog/posthog-python/pull/81

WIP

Problem 2

Implementation

liyiy commented 1 year ago

Client libraries

Server libraries

liyiy commented 1 year ago

Technically resiliency + payloads is separate work but we're just rolling it out under v3 for one major upgrade right? It could be nice to make this super clear on what the work for v3 entails and what the timeline for stuff is because resiliency updates include caching server side stuff + there's client side stuff. And then there's JSON payloads which doesn't rely on any of that other than the versioning right?

And then we also started some library updates too so it looks like everything is in progress RN 😅 And I am unsure of where and what exactly I'm picking up.

neilkakkar commented 1 year ago

Not sure if you've read this which explains all this?: https://github.com/PostHog/meta/pull/74/files

We're rolling them together precisely so we don't have to touch all libraries 2x 😅

liyiy commented 1 year ago

Not sure if you've read this which explains all this?: https://github.com/PostHog/meta/pull/74/files

We're rolling them together precisely so we don't have to touch all libraries 2x 😅

I did and I agree with it, let's just reconvene in standup tomorrow lol 😅

EDsCODE commented 1 year ago

And then we also started some library updates too so it looks like everything is in progress RN 😅 And I am unsure of where and what exactly I'm picking up.

We're starting with critical path from the decide endpoint updates that need to happen and then posthog-js/posthog-core because we can get it in use for us first. All the library updates are separate tracks of work that can be done in parallel as long as it adheres to the details listed in the original post. Definitely hop into reviewing the decide endpoint changes but besides that, all the library updates are green field to pick up

As for resiliency library updates, there's this + anything else Neil may add but I wouldn't let that block you as it doesn't have to all be handled in one PR

dmarticus commented 1 day ago

closing because we for sure did this