Skip to content
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

feat(feature-flags): support quota limiting for feature flags #308

Merged
merged 14 commits into from
Feb 26, 2025

Conversation

dmarticus
Copy link
Contributor

with PostHog/posthog#28564, we now start to respond different with the /decide APIs if users have gone over their quota limit.

@dmarticus dmarticus changed the title here we go feat(feature-flags): support quota limiting for feature flags Feb 23, 2025
@dmarticus dmarticus requested review from ioannisj and removed request for marandaneto February 23, 2025 21:09
@marandaneto
Copy link
Member

let's figure out session recording before merging this btw

@ioannisj
Copy link
Contributor

let's figure out session recording before merging this btw

I think as it currently stands, session recording will default to enabled if flag is missing. Android has a similar implementation. Not sure I'm reading this correctly, @marandaneto am I missing something?

@marandaneto
Copy link
Member

let's figure out session recording before merging this btw

I think as it currently stands, session recording will default to enabled if flag is missing. Android has a similar implementation. Not sure I'm reading this correctly, @marandaneto am I missing something?

i think we have to patch this part

let value = featureFlags[linkedFlag] as? Bool

if linkedFlag is provided but does not exist within the featureFlags, recordingActive should be false, can you patch this?

Co-authored-by: Manoel Aranda Neto <[email protected]>
@ioannisj ioannisj merged commit 39c17e2 into main Feb 26, 2025
6 checks passed
@ioannisj ioannisj deleted the feat/quota-limited-flags branch February 26, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants