[go: nahoru, domu]

Page MenuHomePhabricator

Update `UniqueValueChecker` to query a list of endpoints
Open, Needs TriagePublic

Description

Problem
With the current work going on around testing the graph split, we investigated which of the constraint checks that are using SPARQL queries are affected.

In an investigation (see T355298 for details) we identified that if we do nothing, UniqueValueChecker will produce some false negatives.

So in order for this to run as required, we need to make UniqueValueChecker query a list of endpoints (and configure that list in production).

Acceptance Criteria

  • UniqueValueChecker runs as normal and produces no false negatives after the graph split

Event Timeline

Change #1058598 had a related patch set uploaded (by Audrey Penven; author: Audrey Penven):

[mediawiki/extensions/WikibaseQualityConstraints@master] UniqueValueChecker queries additional endpoints

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

Change #1058598 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] UniqueValueChecker queries additional endpoints

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

The code is updated and should hopefully work; once we actually want to use the split graph servers, we’ll still need to update the production config accordingly. (Which might not be 100% trivial, by the way – currently, wgWBQualityConstraintsSparqlEndpoint is set to http://localhost:6009/sparql, not to a public URL like https://query.wikidata.org/sparql. So I’m guessing we’ll need to configure additional envoy proxies?) But at the moment, I don’t think the servers are up and running yet, see T364363.

I’m not sure where this belongs on the board in the meantime. Maybe waiting for deployment window?

Oh, or I guess it should stay in peer review (or in development?) while the strict_types patch is still open?

Change #1062965 had a related patch set uploaded (by Audrey Penven; author: Audrey Penven):

[mediawiki/extensions/WikibaseQualityConstraints@master] Use strict_types in recently modified files

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

Change #1062965 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] Use strict_types in recently modified files

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