Skip to content

Code coverage visualization not appearing in Inline Diff view

Similar to #297569 (closed). Related to gitlab-com/gl-infra/production#5931 (closed)

Problem

The pg_wal_lsn_diff has no coverage, so there should be red bar. But no bars are showing up

Screen_Shot_2021-11-18_at_7.27.49_PM

For comparison, if I switch to the side-by-side view, the coverage bars show up, but the bars seem off-by-one

Screen_Shot_2021-11-18_at_9.03.39_PM

You can see the diff in !74759 (diffs)

What do I expect to see

  1. The code coverage bars show up in both the Inline, and Side-by-side diff views
  2. A much more prominent warning appears when lines do not have any coverage (see #345962 (closed) for why)
Edited by Thong Kuah