Closed Bug 1656502 Opened 5 years ago Closed 5 years ago

Rename "group" to "feature" in Experiment config

Categories

(Firefox :: Nimbus Desktop Client, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: k88hudson, Assigned: andreio)

References

Details

Attachments

(1 file)

This needs some cross-coodination with Experimenter changes, but I think we should rename the "group" configuration to "feature" instead. Still needs some discussion

Assignee: nobody → andrei.br92

We were discussing possible options for defining feature configuration, this is one option:

interface FeatureConfig {
  feature: "cfr" | "aboutwelcome";

  enabled: boolean;

  /** The variant payload. TODO: This will be more strictly validated. */
  variables?: { [key: string]: unknown } | null;
}

interface Branch2 {
  /** Identifier for the branch */
  slug: string;
  /**
   * Relative ratio of population for the branch (e.g. if branch A=1 and branch B=3,
   * branch A would get 25% of the population)
   * @default 1
   */
  ratio: number;

  features: Array<FeatureConfig>;
}
Component: Messaging System → Nimbus Desktop Client
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f363afc95d7 Rename groups to features in Experiment config r=k88hudson
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Regressions: 1671149
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: