metacatui
metacatui copied to clipboard
Better display page for data quality runs with a status other than success
Describe the feature you'd like
Not sure if this is a feature request or a bug report but currently, if a dataset has a status of "processing" in metadig, the quality page says there was an error retrieving the report. I think we should be able to display some information in XML returned by the API which shows the status of the run instead.
Here is the current display:
The API (example query here) is returning this:
<ns0:run>
<timestamp>2024-02-06T22:57:27.237Z</timestamp>
<objectIdentifier>urn:uuid:7d354557-0618-47a6-9ea6-02fe496f35da</objectIdentifier>
<suiteId>arctic.data.center.suite-1.2.0</suiteId>
<nodeId>urn:node:mnTestARCTIC</nodeId>
<runStatus>processing</runStatus>
<errorDescription/>
<sequenceId>urn:uuid:261e1784-169d-4b13-bc5a-042361e4f02b</sequenceId>
<runCount>1</runCount>
</ns0:run>
So if we could grab the run status and display that, the timestamp, and maybe the error description if there is one, that would give a lot more info to the user.
+1
There are actually more appropriate status messages already coded in this view, so it appears to be a bug with when or how they are displaying.