### Description Now that some error logging has been added in 1.20.5, I have been able to find the root cause of #27306: When [deleting a review](https://github.com/go-gitea/gitea/blob/796ff26e0e9de8dc746064e57db13518dedcf671/models/issues/review.go#L863-L911), comments of type [CommentTypeDismissReview](https://github.com/go-gitea/gitea/blob/796ff26e0e9de8dc746064e57db13518dedcf671/models/issues/comment.go#L105C2-L105C27) are not deleted. ### Gitea Version 1.20.5 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database PostgreSQL