Commit bf382ddb authored by Mark Florian's avatar Mark Florian

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 https://gitlab.com/gitlab-org/gitlab/-/issues/326071.
parent f8286c99
......@@ -6,6 +6,7 @@ query securityReportDownloadPaths(
project(fullPath: $projectPath) {
mergeRequest(iid: $iid) {
headPipeline {
id
jobs(securityReportTypes: $reportTypes) {
nodes {
name
......
---
title: Fix security report fetching in Merge Requests
merge_request: 57574
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment