Provide a full commit sha to `CommitReferences` query
What does this MR do and why?
Contributes to #471689 (closed)
Problem
In rare situtations, short commit hashes (first 8 characters) can be identical for different commits. Usage of short commit hash will lead to ambiguous error.
Solution
Use full commit sha for CommitReferences query to avoid an ambiguous
error.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Visit http://gdk.test:3000/gitlab-org/gitlab-test/-/commit/ddd0f15ae83993f5cb66a927a28673882e99100b page
-
CommitReferencesquery should have a full commit sha
Edited by Vasilii Iakliushin

