[go: up one dir, main page]

Skip to content

Related merge request spinner on commit pipeline page spins forever

Summary

The box that shows related merge requests for a commit loads when the Commit tab is selected on the commit page, but it never loads on the Pipelines page.

Steps to reproduce

  1. Find a commit that has a pipeline enabled - <repo>/commit/<hash>/pipelines
  2. The related merge requests field never loads

Example Project

Link to a commit on gitlab.com where this happens: https://gitlab.com/gitlab-org/gitlab-ee/commit/a1447b2629c2c5ef720e042601b1177ade74a8a3/pipelines?ref=master

What is the current bug behavior?

The related merge request spinner loads forever

What is the expected correct behavior?

The field indicated either "No related merge requests found" or the related merge requests, as it does here

Relevant logs and/or screenshots

pipeline

Output of checks

This bug happens on GitLab.com as well as our self-hosted environment

Possible fixes

It seems that on the commit page "merge_requests.json" is loaded via AJAX, but this request never occurs on the pipelines page, and thus the spinner is never replaced with the correct content.