Skip to content

Remove Kotlin and Scala from MR pipelines

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

For 17.0, GitLab updated its security analyzers such that Kotlin and Scala went from SpotBugs to SemGrep. in a subsequent MR, !152876 (merged), SpotBugs was disabled for Kotlin and Scala.

This was done for both the normal template, and the .latest template. However the .latest template runs the pipeline on both MR pipelines and branch pipelines, and for this template the changes were only applied to branch pipelines. Therefore, SpotBugs still runs in MR pipelines. This seems like an accident to me given that no discussion around this removal seems to talk about SpotBugs still running in MR pipelines.

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

Numbered steps to set up and validate the change are strongly suggested.

Edited by Lars Andringa

Merge request reports