Page MenuHomePhabricator

Gather not working on beta labs in beta
Closed, ResolvedPublic

Description

No gather experiment is setup on beta labs or english wikipedia
Thus

bucket = experiments.getBucket( 'gather' );

returns Uncaught Error: The experiment "gather" hasn't been defined.

In this situation the watchstar should still enable on beta.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task to Needs triage on the Gather board.
Jdlrobson subscribed.

Change 218537 had a related patch set uploaded (by Jdlrobson):
Re-enable Gather on beta labs when experiment is not setup

https://gerrit.wikimedia.org/r/218537

Change 218537 merged by jenkins-bot:
Re-enable Gather on beta labs when experiment is not setup

https://gerrit.wikimedia.org/r/218537

@Jdlrobson: Why not just configure the experiment to be always on on Beta Labs? e.g.

$wgMFExperiments => [
  'gather' => [
    'enabled' => true,
    'buckets' => [
      'A' => 1,
    ],
  ],
];

… which is very nearly almost the suggested testing configuration from the original patch.

Verified this on BC.