Addshore created this task.
Addshore added projects: User-Addshore, Continuous-Integration-Config, Wikidata.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

In https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/441203
cache/integration-tests is added as a require-dev dependency of Wikibase
https://integration.wikimedia.org/ci/job/wmf-quibble-vendor-mysql-hhvm-docker/1117/consoleFull shows that cache/integration-tests is installed
but then it is not loaded because "git clean -xqdf" is run because composer test.

The git clean is run from this line https://github.com/wikimedia/integration-quibble/blob/a6791dc60810103f1cf961b62729d29e1e227865/quibble/test.py#L93

This can be expected as without this cleanup the tests would be run with duplicate copies of various libraries potentially at different versions.

It looks like T112895 is slightly related to this

Possible solutions

  1. Don't do the git clean, but this would be bad due to the duplicate library situation described above
  2. Add the library to the mediawiki require-dev, but this is evil as mediawiki won't actually use it.
  3. Hardcode the install of the library somewhere in CI, but this is evail as the required version would be fixed for all jobs etc and the require-dev of the extension would not actually be respected
  4. Some evil hack thing like: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/445190/
  5. Some other solution not thought of yet?

TASK DETAIL
https://phabricator.wikimedia.org/T199440

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: hashar, Aleksey_WMDE, Addshore, Aklapper, A.S.Kochergin, God, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to