Page MenuHomePhabricator

WCQS does not report proper lag information
Closed, ResolvedPublic1 Estimated Story Points

Description

Fixing T314703 introduced a regression in the way the lag is reported to both users (from the UI) and in the prometheus metric blazegraph_lastupdated.

The reason is that it is handled by a triple in the database as <http://www.wikidata.org> schema:dateModified ?date but enabling proper URI schemes did cause this triple to be updated as <https://commons.wikimedia.org> schema:dateModified ?date.

Given that this is both hardcoded in the UI and puppet I'm tempted to also hardcode this triple at the updater level (T278246 describes a better way to report lag so it might be better to invest efforts in it rather than on this ticket).

AC:

Event Timeline

Gehel set the point value for this task to 1.Aug 29 2022, 3:42 PM
Gehel moved this task from Incoming to Prioritized on the Discovery-Search (Current work) board.

Change 827524 had a related patch set uploaded (by DCausse; author: DCausse):

[wikidata/query/rdf@master] Hardcode wikidata for the schema:dateModified triple

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

Change 827524 merged by jenkins-bot:

[wikidata/query/rdf@master] Hardcode wikidata for the schema:dateModified triple

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

Mentioned in SAL (#wikimedia-operations) [2022-08-30T05:03:45Z] <ryankemper> T306899 T316496 Deployed WCQS 0.3.115. That should (hopefully) resolve these tickets.