I’m working with deploy previews at the moment, and out of curiosity I clicked commit hash link, the picture below:

And GitLab returned 404! The issue is that the link should look like [repo_path]/-/commit/[commit_hash], but it looks like this: [repo_path]/commit/[commit_hash]. You can see that it lacks -/ before commit.
It breaks regardless of the commit being on either main or any other branch