Remove Gradle dependency verification - #498
Merged
Merged
Conversation
added 3 commits
September 29, 2026 09:15
verification-metadata.xml made every Dependabot version bump fail CI until checksums were regenerated by hand. Drop the file, the refresh-command comments, and the AGENTS.md section from #492, and ignore Sonar rule kotlin:S6474 (dependency verification) project-wide.
…ojectRoot." This reverts commit 86d903c.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gradle dependency verification (
gradle/verification-metadata.xml) made every Dependabot Gradle bump fail CI (Build, Docker boot, API regression, and Cloud Build) until someone regenerated checksums by hand (#486–#490, now #493/#494). Per Benjamin (2026-09-29), remove it:gradle/verification-metadata.xml(nogradle.properties/settings.gradle.ktssettings referenced it).build.gradle.ktsand the "Dependabot / dependency bumps" section added to AGENTS.md in Document Dependabot verification-metadata refresh #492.kotlin:S6474viasonar.issue.ignore.multicriteriainbuild.gradle.kts(covers the in-filedisableDependencyVerificationvariant).Known: one project-level S6474 issue
SonarCloud still raises one project-level
kotlin:S6474("verification-metadata.xml is missing"). It isn't tied to a file, so the file-pattern ignore can't match it. sonar-kotlin'sKotlinGradleSensorraises it wheneversonar.kotlin.gradleProjectRootequals the base dir, and the Sonar Gradle plugin overwrites any user value for that property (tried and reverted). This fails the Sonar quality gate (new security rating B) on the Build job only. To clear it, Accept the issue once in SonarCloud (Issues → kotlin:S6474 → Accept). Per Benjamin, accepting it is fine.Test plan
./gradlew ktlintCheck jacocoTestReport bootJargreen locally with no metadata file