Surface Code Quality report errors to the UI
Created on behalf of GitLab Premium customer Zendesk ticket(internal).
Problem to solve
Code Quality reports may fail to load with the following error message:
Failed to load Code Quality report
However, the message is not helpful to the end user as it doesn't specify why or what they can do to allow the report to load.
Proposal
- Surface any errors to the UI when the Code Quality report cannot be successfully parsed
- Omit any entries that cannot be parsed, so the report can be loaded
Intended users
Customers who may implement a custom tool to generate the Code Quality report artifact
Workaround
Execute the GraphQL query used by the UI to obtain the results and any errors: