Merge Request Summary doesn't work on forked MR

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When clicking Summarize changes while editing the description of Draft: Merge distroless UBI to canonical (gitlab-org/security-products/analyzers/gemnasium!804 - closed), the button shows a loading behaviour, then returns to normal, but nothing happens. The MR happens to be a fork.

Steps to reproduce

  1. Go to Draft: Merge distroless UBI to canonical (gitlab-org/security-products/analyzers/gemnasium!804 - closed)
  2. Click Edit
  3. Click Summarize code changes (with your cursor somewhere in the editor)
  4. See nothing happens

Example Project

Draft: Merge distroless UBI to canonical (gitlab-org/security-products/analyzers/gemnasium!804 - closed)

What is the current bug behavior?

Clicking Summarize code changes does nothing.

What is the expected correct behavior?

Clicking Summarize code changes creates a summary of the changes.

Relevant logs and/or screenshots

Bug_

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by 🤖 GitLab Bot 🤖