Skip to content

Return the last coverage in trace stream

What does this MR do?

This MR fixes the coverage issue raised at https://gitlab.com/gitlab-org/gitlab-ce/issues/31556. Currently, the first coverage appears in the trace will be considered as the coverage. Since general total scores will likely appear at the last part of logs, coverage extraction should be targeting the last matched part.

Are there points in the code the reviewer needs to double check?

Need to be checked by @godfat

Why was this MR needed?

Because #31556 (closed) labeled as regression

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #31556 (closed)

Edited by Shinya Maeda

Merge request reports