Codeclimate asynchronous report loading
Problem to solve
Merge requests page freezes for a few seconds when codeclimate report is too large.
Further details
If you have a huge project and codequality CI job enabled and the project has very big amount of reported degradations (we have about 16k), the codequality job performs diff between current branch and the branch you want to merge into. Because of large files, the diff takes about 12 seconds in our case, and you are unable to do anything on the page until the codeclimate report is loaded.
(We started using codeclimate almost at the end of project that is why we have so many degradations)
Proposal
Codeclimate report should be loaded asynchronously if possible.
What does success look like, and how can we measure that?
While the codeclimate report is loading, you are able to navigate out of the current merge request page, write comments, toggle discussions, etc.