Page MenuHomePhabricator

Integration tests for Wikibase dependencies
Closed, ResolvedPublic

Description

The Wikibase extension has other extensions as dependencies. Whenever a patchset is proposed for inclusion, we need a job that would test the following setup:

mediawiki/core @ master
Wikibase @ master
dependencies @ master
extension being updated @ proposed patchset

We cannot simply run mwext-Wikibase-testextensions-master since it is bound to the Wikibase extension and thus ZUUL would attempt to fetch the proposed patchset from Wikibase which is never to be found.

Instead we would need a new job template that would take as parameter the extension being tested and that would take care of fetching the other dependencies using their master branch. If we provide the same set of dependencies (aka all the extension), the dependency installer will have to be run after the extension with its patch got installed and simply skip it since we dont care about the master version.


Version: wmf-deployment
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51746

Details

Reference
bz52278

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:04 AM
bzimport set Reference to bz52278.
bzimport added a subscriber: Unknown Object (MLST).

This need to involve the Wikidata team to find out which scenarii should be run for them.

JanZerebecki claimed this task.
JanZerebecki subscribed.

This is solved for dependencies on Wikibase by using the dependency mechanism. Also there mediawiki-extensions-hhvm is to run many extensions together on each core change.