Skip to content

Restrict Dependabot Netty updates to patch versions only - #6942

Merged
bhoradc merged 2 commits into
masterfrom
bhoradc/dependabot-netty-patch-only
May 7, 2026
Merged

Restrict Dependabot Netty updates to patch versions only#6942
bhoradc merged 2 commits into
masterfrom
bhoradc/dependabot-netty-patch-only

Conversation

@bhoradc

@bhoradc bhoradc commented May 6, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

Until we're ready to adopt Netty 4.2.x in the SDK, Dependabot's Netty group creates unmergeable PRs proposing 4.1.x → 4.2.x minor version jumps (e.g., #6941, #6878). These PRs sit unreviewed indefinitely and consume one of our 5 open PR slots.

Meanwhile, patch-level updates like 4.1.132 → 4.1.133 (which contain CVE fixes) are never proposed because Dependabot always targets the latest version (4.2.x).

Modifications

Add an ignore rule for io.netty:* that blocks semver-minor and semver-major updates. Dependabot will now only propose patch bumps within the current minor line.

Testing

Validated in private repo, Dependabot correctly proposed 4.1.132 → 4.1.133 and did not propose 4.2.x.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@bhoradc
bhoradc requested a review from a team as a code owner May 6, 2026 19:46
Until we adopt Netty 4.2.x, ignore minor/major version updates for
io.netty dependencies. This ensures Dependabot creates mergeable PRs
for patch bumps (e.g., 4.1.132 -> 4.1.133) instead of proposing
unmergeable 4.1.x -> 4.2.x jumps that sit unreviewed.
@bhoradc
bhoradc force-pushed the bhoradc/dependabot-netty-patch-only branch from 0a67064 to 8315817 Compare May 6, 2026 20:08
@bhoradc bhoradc added changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required labels May 6, 2026
@bhoradc
bhoradc enabled auto-merge May 6, 2026 22:28
@bhoradc
bhoradc added this pull request to the merge queue May 6, 2026
Merged via the queue into master with commit a9fd2b2 May 7, 2026
11 of 12 checks passed
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 7, 2026
@bhoradc
bhoradc deleted the bhoradc/dependabot-netty-patch-only branch July 20, 2026 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants