Closed Bug 1545544 Opened 6 years ago Closed 5 years ago

Glean: Add a way to set branch/active experiment from ExperimentsDebugActivity

Categories

(Data Platform and Tools :: Glean: SDK, task, P1)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: travis_, Assigned: travis_)

References

Details

(Whiteboard: [telemetry:mobilesdk:m8])

Attachments

(1 file)

This is follow up work for 1543969.

Need to add a way to override the branch and active experiment via the ExperimentsDebugActivity in service-experiments.

Assignee: nobody → tlong
Priority: P3 → P1
Summary: Glean: Add branch/active experiment from ExperimentsDebugActivity → Glean: Add a way to set branch/active experiment from ExperimentsDebugActivity

I've hit a bit of a snag on this, so I'll push my Draft PR so you can look if needed. My first question is, what sort of validation do we need to do (if any) on what is supplied to the ExperimentsDebugActivity for the experiment id and branch name? My next question is, do we need to expose the functionality to be able to clear overrides through the ExperimentsDebugActivity?

Flags: needinfo?(gfritzsche)
Attached file GitHub Pull Request (deleted) —

(In reply to Travis Long from comment #1)

My first question is, what sort of validation do we need to do (if any) on what is supplied to the ExperimentsDebugActivity for the experiment id and branch name?

The id and branch name are just used locally for matching, so i don't think we need to apply any validation to the string.

My next question is, do we need to expose the functionality to be able to clear overrides through the ExperimentsDebugActivity?

Yes, that is a good point. If we don't provide it we can't turn the overrides off.
How about we just add one command that clears all possible overrides?

Flags: needinfo?(gfritzsche)
Component: Telemetry → Glean: SDK
Product: Toolkit → Data Platform and Tools
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: