Page MenuHomePhabricator

Don’t fail Wikibase builds if doc:data-bridge-dist-size fails to run
Closed, ResolvedPublic

Description

The doc:data-bridge-dist-size npm script in Wikibase uses the GitHub GraphQL API to analyze the size of some Wikidata-Bridge related files. Occasionally, the API returns a 502 error, and this then fails the whole build. Given that it’s only supposed to be informational (and AFAIK nobody is working on Wikidata-Bridge currently anyway, let alone looking at those reports), this seems excessive – let’s just make it ignore those errors.

Example build: https://integration.wikimedia.org/ci/job/mwext-node20-rundoc/5592/console

Event Timeline

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

[mediawiki/extensions/Wikibase@master] dist-size: Don’t crash on analysis errors

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

Change #1129313 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] dist-size: Don’t crash on analysis errors

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