Skip to content

Inline Code Coverage Visualization not displaying in inline MR Diff view

Summary

The Inline code coverage visualization bars are not being displayed on MR diffs when they are viewed with the inline MR diff view. However they are appearing on the side-by-side diff view, which points to a frontend bug.

Steps to reproduce

View gitlab-org/ci-cd/demos/coverage-report!1 (diffs) and toggle between inline and side-by-side with the settings. The bars will appear in side-by-side but not in inline.

image

image

Example Project

gitlab-org/ci-cd/demos/coverage-report!1 (diffs)

What is the current bug behavior?

Inline MR Diffs do not have the coverage bars drawn.

What is the expected correct behavior?

Inline MR Diffs do have the coverage bars drawn

Output of checks

This bug happens on GitLab.com

Possible fixes