Fix security report fetching in MRs
What does this MR do?
Fix security report fetching in MRs
It seems another query in the MR page was added recently which included
an id
field for the head pipeline, whereas the security reports query
did not include that field. This caused Apollo's cache write to fail,
since it couldn't reconcile the two fetched entities.
Fixes #326071 (closed).
Screenshots (strongly suggested)
n/a
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry. -
I have not included a changelog entry because _____.
-
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Mark Florian