-
Notifications
You must be signed in to change notification settings - Fork 13
Description
We are seeing intermittent errors with draft/preview experiments because the API returns all experiments including draft/preview experiments, but sometimes these are not returned when requesting the specific slug (and this is important because the default behavior is to first request all experiments, and then each slug is queried individually on the cluster to determine if it's ready to be analyzed).
I think the API behavior changed at some point because Nimbus previous set up a specific /draft-experiments/ endpoint just for the jetstream preview capability, but now both Draft and Preview are being included in the regular endpoint alongside Live and Complete (with an optional status filter). Regardless though it's confusing that an experiment returned by the base endpoint is not found when requesting by slug.
On the jetstream side, we should be able to resolve this particular issue by filtering the request to status=Complete&status=Live.
┆Issue is synchronized with this Jira Task