Ignore provided-scope (Spark) dependencies in Dependabot (#1289)#1351
Open
Chandanydv1234 wants to merge 2 commits into
Open
Ignore provided-scope (Spark) dependencies in Dependabot (#1289)#1351Chandanydv1234 wants to merge 2 commits into
Chandanydv1234 wants to merge 2 commits into
Conversation
Spark, Scala, and Spark's Jackson libs are declared `provided` in the poms — compiled against but not packaged into the Zingg jar. The Spark runtime (Databricks/EMR/etc.) supplies and patches them, so Dependabot PRs/alerts on these are noise. Ignore them; keep jackson-annotations (compile scope, shipped) since its alerts are real.
Chandanydv1234
force-pushed
the
fix/1289-ignore-provided-scope-dependabot
branch
from
July 24, 2026 11:11
f491c42 to
14b10c8
Compare
Removed unnecessary comments and clarified configuration.
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.
Fixes #1289.
Zingg runs on top of a Spark cluster, so Spark, Scala, and the Jackson libraries Spark ships are declared
providedin the poms — we compile against them but don't package them into the Zingg jar. The runtime (Databricks/EMR/etc.) supplies and patches them, and we can't control which versions run, so Dependabot alerts on these are just noise. Until now we'd been silencing them one at a time with manual pom edits.This scopes
.github/dependabot.ymlto Maven — the old*value was actually invalid, so Dependabot had been rejecting the whole file — and ignores the provided-scope groups:org.apache.spark:*,org.scala-lang:*,jackson-core, andjackson-databind.jackson-annotationsis deliberately left in: it'scompilescope and actually shipped, so its alerts are real.Tested on a fork — the config went from rejected to valid, and Dependabot now runs Maven jobs with the new settings applied.
One caveat: this covers the directly-declared
provideddeps. Transitive libraries pulled in through Spark (netty, lz4, guava, …) surface under their own names, so they stay covered by the pom<exclusions>rather than this ignore list.