Page MenuHomePhabricator

Run @selenium-test npm script in *future* release branches
Open, Needs TriagePublic

Description

While working on GrowthExperiments (T419574, T417412) and Wikidata tasks (T287582) we have noticed that @selenium-test npm script does not run for commits in release branches.

Example patch for GrowthExperiments: 1262308

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The already cut release branches still have selenium-test and have the selenium tests running. A more recent example is https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/1269414 made for REL1_45 it does run the browser test since the npm script is still selenium-test.

The problem is for future release branches: they will be based on current master which has @selenium-test and that will hide from CI.

BranchProject testedRunning?How
masterGrowthExperimentsYESexlplicitly via quibble-with-GrowthExperiments new job
mastergated extensionsNoquibble-with-gated-extensions does not see @selenium-test
wmf/*GrowthExperimentsYESsame as master (see above)
wmf/*gated extensionsNosame as master (see above)
current REL*GrowthExperimentsYesVia Quibble job, branches still have selenium-test
current REL*gated extensionsNoNo gate for REL
Future RELGrowthExperimentsNOWould have the renamed @selenium-test**
Future RELgated extensionsNoNo gate for REL

When cutting the future release branches we could rename @selenium-test to selenium-test but that we will certainly forget about it and AFAIK we do not have a runbook/automatization to deal with that for us.

It is thus less of an emergency than we thought this morning.

Potentially we could have Quibble to npm run @selenium-test for the project under test when the branch is a release branch.

hashar renamed this task from Run @selenium-test npm script in release branches to Run @selenium-test npm script in *future* release branches.Apr 9 2026, 1:49 PM