Skip to content

Update LANGUAGE_XRAY_NAMING constant to be in sync with Repository X-Ray

Leaminn Ma requested to merge update-x-ray-naming-langs into master

What does this MR do and why?

In !162313 (comment 2047095982) we discovered that the constant LANGUAGE_XRAY_NAMING is supposed to be in sync with the Repository X-Ray (at https://gitlab.com/gitlab-org/code-creation/repository-x-ray/-/blob/6634564818dffdeac938014a190b0c604b1da6e0/cmd/scan/main.go#L46).

It looks like this constant hasn't been updated in a while, which means that the current code generation prompt has been unable to resolve certain languages when retrieving the x-ray report here.

This MR corrects this problem by updating the constant with the supported X-Ray languages. It's also required for migrating X-Ray to the monolith in #476177 (closed).

Resolves #480033 (closed).

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.

Related to #480033 (closed)

Merge request reports

Loading