Error displaying merge request or loading widget

Problem to solve

when trying to load the merge request screen if there is any active merge request, an error 500 is thrown. If you enter the active merge request via URL, it does not load the widgets.
In the logs appears the next error:

“exception.class”: “ActiveRecord::UnknownPrimaryKey”,
“exception.message”: “Unknown primary key for table ci_pipelines in model Ci::Pipeline.”,


image

Steps to reproduce

Update to 17.3.4

Versions

GitLab Community v17.3.4

Thanks for taking the time to be thorough in your request, it really helps! :blush: