Revert "Send beta user state with AppView requests (#11474)" (#11510)

This commit is contained in:
DS Boyce
2026-08-24 11:40:15 -07:00
committed by GitHub
parent 6f46927c28
commit 6b35d3de1c
7 changed files with 22 additions and 159 deletions
+4 -3
View File
@@ -98,9 +98,10 @@ export type Account = {
recentGifs?: Gif[]
/**
* Persistent cold-start snapshot of `bskyAppState.isBetaUser`. Hydrates the
* runtime cache so the GrowthBook attribute and request header are available
* synchronously before preferences load. Written back when preferences load.
* Cached from preferences (`bskyAppState.isBetaUser`) so the GrowthBook
* `isBetaUser` attribute can be set synchronously at analytics init, before
* beta-gated features (e.g. SearchV2Enable) are first evaluated. Written back
* when preferences load.
*
* Scoped per account, since `isBetaUser` is account-specific preference data.
* Reading it globally would let a beta account's value leak into a non-beta