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(flags/v8): add Statsig browser integration #15347

Merged
merged 1 commit into from
Feb 10, 2025
Merged

feat(flags/v8): add Statsig browser integration #15347

merged 1 commit into from
Feb 10, 2025

Conversation

aliu39
Copy link
Member

@aliu39 aliu39 commented Feb 8, 2025

New integration for tracking Statsig js-client flag evaluations, specifically the checkGate method which is used for boolean release flags.

Backports #15319 to v8

@aliu39 aliu39 requested review from billyvg, a team, stephanie-anderson, andreiborza, lforst, AbhiPrasad and chargome and removed request for a team, stephanie-anderson and andreiborza February 8, 2025 01:52
@@ -4,7 +4,7 @@ import { sentryTest } from '../../../../../utils/fixtures';

import { envelopeRequestParser, shouldSkipFeatureFlagsTest, waitForErrorRequest } from '../../../../../utils/helpers';

const FLAG_BUFFER_SIZE = 100; // Corresponds to constant in featureFlags.ts, in browser utils.
import { FLAG_BUFFER_SIZE } from '../../constants';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for this PR, but in the future it'd be better practice to introduce the constant in this PR and do the refactor for the other integrations in a separate PR.

@aliu39 aliu39 merged commit 3041da7 into v8 Feb 10, 2025
128 of 130 checks passed
@aliu39 aliu39 deleted the aliu/statsig-v8 branch February 10, 2025 18:18
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