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 added a subscriber: Jdlrobson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 15 2015, 11:15 PM
Jdlrobson moved this task from Needs triage to This Sprint on the Gather board.

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

phuedx added a subscriber: phuedx.Jun 16 2015, 9:28 AM

@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.

phuedx closed this task as Resolved.Jun 16 2015, 11:38 AM

Verified this on BC.