Returning failure message for jobs graphql
What does this MR do and why?
Part of optimizing the pipelines#index endpoint, we'll need a replacement graphQL endpoint to provide the information
This MR adds the failure message to the graphql endpoint
See #398196 (comment 1364821898) for reasoning
Screenshots or screen recordings
How to set up and validate locally
- Have a job fail due to a known failure: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/presenters/commit_status_presenter.rb#L3
- Locally go to: http://172.16.123.1:3000/-/graphql-explorer with the query in the screenshot above
- Failure message should be populated
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #398197 (closed)
Edited by Max Fan