Avatar by Buch.
User Details
- User Since
- Nov 14 2014, 10:42 AM (506 w, 16 h)
- Availability
- Available
- IRC Nick
- phuedx
- LDAP User
- Unknown
- MediaWiki User
- Phuedx (WMF) [ Global Accounts ]
Yesterday
Thu, Jul 25
Wed, Jul 24
Tue, Jul 23
@mpopov: I'm currently thinking about how to wire up the Statsig SDK and a general mechanism for T368326: Update Metrics Platform Client Libraries to accept experiment membership and would appreciate your input.
- I've had to use the maintenance version of the JavaScript SDK because:
- It allows you to inject the Statsig config fetched by the PHP SDKs directly rather than fetching it itself. During testing I found that this wasn't the case for the newer SDK
- The new SDK requires that you use a specific build to do local on-device evaluation. Per https://docs.statsig.com/client/js-on-device-eval-client, you require a Enterprise or Pro license to do on-device evaluation with this SDK # The "standard" API provided by the PHP SDK returns null when the Statsig config has expired. This is not configurable. I've had to use an internal API to fetch the Statsig config directly
- The Statsig config is delivered in a separate RL virtual file. The PHP SDK returns null under certain conditions (see above), which makes RL throw an exception. In the case where the PHP SDK returns null, it's converted to the empty string to satisfy RL. Fortunately, the JavaScript SDK can handle this
- A RESTful API is up and running that receive events and proxies these to a Statsig instance
Mon, Jul 22
Fri, Jul 19
A search for Next.js download SWC (from download-swc.js in that stacktrace you provided yielded: https://nextjs.org/docs/messages/failed-loading-swc
Thu, Jul 18
Tue, Jul 16
functional tests
The problem appears to have been highlighted by this edit to the Schema schema.
Mon, Jul 15
Fri, Jul 12
Thu, Jul 11
Tue, Jul 9
No need for a RegEx. A little DOMDocument magic in BannerRenderer should do:
Mon, Jul 8
Fri, Jul 5
Thu, Jul 4
To confirm:
Wed, Jul 3
Being bold and closing this as Invalid as we are deploying a functional system to the Beta Cluster/deployment-prep in T366234: Deploy the Metrics Platform extension.
Tue, Jul 2
Mon, Jul 1
Yeah. This is unfortunate. The internet largely agrees with your results, @Jdlrobson.
The config patch looks fine.
Fri, Jun 28
Being bold.
One thought I did have was that EventBus's way of determining the client IP is different from other codebases. EventBus fetches the value of the X-Client-IP header directly. This is the only instance of this in all codebases indexed by Codesearch.
Thu, Jun 27
Also from Slack:
From Slack:
Jun 25 2024
What if the user is enrolled in multiple, non-overlapping (hopefully) experiments that are running on the same page? Should we rather add an experiments property, which is an array of experiment objects? If so, how would that impact querying the data?