Page MenuHomePhabricator

WikibaseLexeme CI broken: Phan no longer aware of Scribunto classes
Closed, ResolvedPublic

Description

In T308210, we removed Wikibase’s Phan stubs, but WikibaseLexeme was using those as well. We need to update WikibaseLexeme’s Phan config to point to the real Scribunto, and also update the integration config to add Scribunto to WikibaseLexeme’s Phan dependencies (WikibaseLexeme depends on Wikibase, and Wikibase depends on Scribunto, but the Phan dependencies aren’t transitive).

Event Timeline

Change 791375 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[integration/config@master] zuul: Add Scribunto to WikibaseLexeme Phan dependencies

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

Change 791370 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseLexeme@master] Update .phan/config.php for Wikibase stub changes

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

Marking this as high priority, but not UBN, since (I think) it only affects one extension.

Hrm, but Codesearch reveals the following extensions were also using Wikibase/.phan/stubs:

  • ArticlePlaceholder correction, is not using Wikibase stubs, already uses real Scribunto
  • WikibaseCirrusSearch
  • WikibaseLexemeCirrusSearch
  • WikibaseManifest

It’s probably best to repurpose this task to cover all of them?

Change 791378 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseCirrusSearch@master] Update .phan/config.php for Wikibase stub changes

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

Change 791379 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseLexemeCirrusSearch@master] Update .phan/config.php for Wikibase stub changes

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

Change 791380 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseManifest@master] Update .phan/config.php for Wikibase stub changes

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

Change 791383 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/ArticlePlaceholder@master] Update .phan/config.php for Wikibase stub changes

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

Change 791375 merged by jenkins-bot:

[integration/config@master] zuul: Add Scribunto to more Phan dependencies

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

Change 791383 merged by jenkins-bot:

[mediawiki/extensions/ArticlePlaceholder@master] Update .phan/config.php for Wikibase stub changes

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

Change 791379 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexemeCirrusSearch@master] Update .phan/config.php for Wikibase stub changes

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

Change 791378 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@master] Update .phan/config.php for Wikibase stub changes

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

Change 791370 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Update .phan/config.php for Wikibase stub changes

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

Change 791380 merged by jenkins-bot:

[mediawiki/extensions/WikibaseManifest@master] Update .phan/config.php for Wikibase stub changes

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