Page MenuHomePhabricator

wikibase-client-php81 Wikibase CI job broken on REL1_42: Error: Class "Wikibase\Repo\WikibaseRepo" not found
Closed, ResolvedPublic

Description

On this REL1_42 backport, CI is failing (full console) with lots of errors like this:

1) Wikibase\Client\Tests\Integration\Hooks\EchoNotificationsHandlersTest::testWikibaseHandleChange
Error: Class "Wikibase\Repo\WikibaseRepo" not found

/workspace/src/extensions/EntitySchema/src/EntitySchema.ServiceWiring.php:33
/workspace/src/vendor/wikimedia/services/src/ServiceContainer.php:447
/workspace/src/vendor/wikimedia/services/src/ServiceContainer.php:411
/workspace/src/includes/MediaWikiServices.php:356

I assume this is an unintended consequence of T367156 – we’re pulling EntitySchema into the Wikibase client-only CI job, even though EntitySchema only supports client-only Wikibases since REL1_43.

MediaWiki 1.42 is supposed to be supported until June 2025, so it would be nice if we could fix this.

Event Timeline

Change #1115414 had a related patch set uploaded (by Jforrester; author: Jforrester):

[integration/config@master] Zuul: [mediawiki/extensions/Wikibase] Only inject EntitySchema on 1.43+

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

Change #1115414 merged by jenkins-bot:

[integration/config@master] Zuul: [mediawiki/extensions/Wikibase] Only inject EntitySchema on 1.43+

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

Mentioned in SAL (#wikimedia-releng) [2025-01-30T15:12:33Z] <James_F> Zuul: [mediawiki/extensions/Wikibase] Only inject EntitySchema on 1.43+, for T385175

Jdforrester-WMF claimed this task.
Jdforrester-WMF subscribed.

This should hopefully now be fixed; please shout if it didn't work.