Skip to content

Un-block UI interactions while Code Quality MR widget is loading

What does this MR do?

When the list of Code Quality issues (both for the target branch and the MR branch) gets long, the comparison between the two takes a long time (around 8 seconds on current gitlab-ee MRs, for example). This MR moves the Code Quality comparison calculations into web worker threads to avoid blocking the main thread while the comparison is running. This allows the UI to remain responsive to other interactions while the Code Quality results are still loading.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

I have updated the existing tests for this feature, but I am unsure whether additional tests are now needed.

Closes #11818 (closed)

Edited by Miranda Fluharty

Merge request reports