Page MenuHomePhabricator

[BLZMI] Update error handling for QLever specific errors
Closed, ResolvedPublic

Description

Error handling in SparqlHelper is looking for java error classes. We'll need to update error-detection and handling to match the behavior of the new endpoints.

T432639: [BLZMI] Implement new error handling for the QLever errors the UI needs to handle would be helpful to understand how proxy sends errors and how to handle different shapes of error messages

A/C

  • Errors from QLever API endpoints are being handled while retaining existing functionality
  • Blazegraph error handling is not broken, since Blazegraph and QLever will live side by side for a while

Notes

Event Timeline

karapayneWMDE renamed this task from [BLZMI] Update error handling for QLever specific errors and timeout parameters to [BLZMI] Update error handling for QLever specific errors.Aug 4 2026, 9:19 AM
karapayneWMDE updated the task description. (Show Details)

Change #1325457 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/WikibaseQualityConstraints@master] Detect and record query timeouts based on proxy response

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

Note: contrary to the second A/C, Blazegraph error detection is now broken after all, because @ArthurTaylor wanted to remove the code already. (It was already broken in Wikimedia production because apparently at some point an intermediate proxy was introduced that hides the Java timeout classes from the response, but now it’ll also be broken for third parties who update to this code while still running Blazegraph.)

Change #1325457 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] Detect and record query timeouts based on proxy response

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