Skip to content

build: hold back major updates until Spring Boot 3 - #92

Merged
uniqueg merged 1 commit into
devfrom
build/hold-back-major-updates
Nov 7, 2026
Merged

uniqueg merged 1 commit into
devfrom
build/hold-back-major-updates

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds Dependabot ignore rules for the updates in #81 that can't work on Java 8 and Spring Boot 2, each with a comment pointing to #66: the major versions of io.kubernetes:client-java (Java 11), org.springframework.security:* (Java 17, Spring Framework 6/7) and com.github.tomakehurst:wiremock (relocated to org.wiremock, Java 11, Jetty 11), and versions from 7 of openapi-generator-maven-plugin (Java 11, Maven 3.9.6). The requirements are listed in #91, read from the artifacts of the proposed versions.

Not held back (see #91): maven-surefire-plugin 3.6.1 needs Maven 3.6.3 (the wrapper has 3.5.2), and protobuf-java 4.36.2 is untested with client-java 11; CI will show when #81 is recreated.

Closes #91

Verification

  • .github/dependabot.yml parses; the dependency names and update types follow the syntax of the existing ignore rules. Nothing to build or test (config only).
  • Docs: nothing mentions the Dependabot rules, so nothing to update.

Lane

Light lane: config only (no code, secrets, permissions or workflows); diff reviewed myself.

Declined review findings

None (no reviewer subagents in the light lane).

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Prevent Dependabot from proposing dependency versions that require newer Java, Maven, or Spring Framework versions than the project currently supports.

Enhancements:

  • Hold back incompatible major dependency updates until the project migrates to Spring Boot 3.

Build:

  • Add Dependabot ignore rules for major Kubernetes client, Spring Security, and WireMock updates, plus OpenAPI Generator versions 7 and later.

Ignore the major versions of client-java, spring-security-test and
wiremock, and versions from 7 of the OpenAPI Generator plugin in
Dependabot's Maven updates: they need Java 11 or 17, or Spring
Framework 6 or 7, so they can't work on Java 8 and Spring Boot 2.
The rules go with the move to Spring Boot 3.

Closes #91

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Hold back incompatible major dependency updates and OpenAPI Generator versions 7 and later until the move to Spring Boot 3.

  • .github/dependabot.yml L16-27

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.71%. Comparing base (d19b076) to head (bf6bbcd).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #92   +/-   ##
=======================================
  Coverage   56.71%   56.71%           
=======================================
  Files          66       66           
  Lines        2174     2174           
  Branches      239      239           
=======================================
  Hits         1233     1233           
  Misses        800      800           
  Partials      141      141           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review November 7, 2026 09:03
@uniqueg
uniqueg merged commit 0199339 into dev Nov 7, 2026
25 checks passed
@uniqueg
uniqueg deleted the build/hold-back-major-updates branch November 7, 2026 09:04

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Linked issues

#91 build: hold back major updates until Spring Boot 3 · 0 of 3 met · 1 to check by hand

# Requirement Status Notes
1 Ignore the listed incompatible updates, with each rule pointing to #66. 🟡 Partly met The Kubernetes, Spring Security, and WireMock rules are covered by a comment pointing to #66, but the OpenAPI Generator rule's comment mentions Java and Maven requirements without pointing to #66.
2 Let Dependabot recreate #81 with the remaining updates. 👀 Check by hand (external system) Check that Dependabot recreates #81 with the remaining updates.
3 Remove the ignore rules again in #66. ❌ Not addressed This is deferred to #66; the change comments that the rules should be removed there but does not remove them.

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: hold back major updates until Spring Boot 3

1 participant