Gitlab code review submit button and comments display not working

Hey,
I’m trying to learn how to work with gitlab’s devops and i come across the following issues:

  1. during the comments overview the gitlab takes a really long time to load and when it finally finishes’ a red banner with something went wrong while trying to fetch the comments. Please try again". and nothing is logged to production.log file.
  2. when i press the button to submit a code review and not submit individual comments it also takes a ton of time and fails. Here also nothing is logged to try and understand the problem was.

my question is where/what to do to either try to solve this or to at least find out whats causing the problem ?

would love some help on the matter because it’s a really weird problem

1 Like

Hi,

Lately it happened to me too several times. Here is a description of the last occurence:

I finished a review of a merge request where I added 14 comments. After clicking at “Submit review (14)” the page got reloaded, 5 of the threads were created, but not the others. The button at the bottom still says “Submit review (14)”. This happened to me already before and when I clicked the button again, the same 5 threads were created again, but not the rest and the button stayed the same again. I also could not get to see the drafts of my comments at the Changes tab. So I’m stuck, I cannot submit the review and I cannot remove the pending drafts.

If anyone has any clue on how to resolve this issue or at least how to prevent it from happening next time, please let me know.

Ales

2 Likes

Unfortunately very similar pattern happening now in Nov. 2022. Ended up trying to save by pressing a few times the submit button, leading to more than 450 comments, mostly duplicates. Lesson: If it fails once, better to wait.

Yet one week later it still does not work. Much is stuck like @ales.fuchs describes, and nothing changes, despite hitting dozens of 500 according to the browser logs…

Using the /submit_review quick action by typing the command as a comment and adding the comment submits the review successfully.

While checking solution for this issue, I found this issue in Gitlab repo issues.
I tried and it worked