Skip to content

chore(deps): bump Jackson, the Actions and bernardladenthin/actions; build with Error Prone 2.52.0 - #278

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/upbeat-hypatia-z1ie5h
Nov 9, 2026
Merged

bernardladenthin merged 1 commit into
mainfrom
claude/upbeat-hypatia-z1ie5h

Conversation

@bernardladenthin

@bernardladenthin bernardladenthin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

Part of the 2026-11-09 dependency sweep (one pull request per repository). This PR also fixes a compile failure on main caused by Error Prone 2.52.0.

What Old → new
Jackson 2.22.4 → 2.23.0
maven-enforcer-plugin in examples/build-your-own-jar 3.6.3 → 3.7.0
actions/setup-java in the linearity-jdk8 job 6.1.0 → 6.2.0
anthropics/claude-code-action 1.0.268 → 1.0.269
bernardladenthin/actions (every pin) v1.1.0 → v1.1.1
  • Fix: main did not compile.
    • Error Prone 2.52.0 (chore(deps): bump com.google.errorprone:error_prone_core from 2.51.0 to 2.52.0 #273) reports the StringBuffer of the ${name} substitution in SrcMorphConfigurationFileLoader as JdkObsolete, and -Werror turns that into a failed compile.
    • Nobody saw it because every Publish run of today's merge burst was cancelled.
    • Error Prone suggests StringBuilder, but Matcher.appendReplacement(StringBuilder, …) only exists from Java 9 and the core is release 8. So the substitution now copies into a StringBuilder by hand.
    • The output is unchanged: the replacement is literal, as quoteReplacement made it before.
  • What Dependabot missed:
  • bernardladenthin/actions v1.1.1:
    • its actions and reusable workflows run setup-java 6.2.0, codeql-action 4.39.3, setup-gradle 6.4.1 and action-gh-release 3.0.4
    • verify-signing-key-gradle now signs with Gradle 9.9.0 by default
  • Not bumped: jqwik 1.9.3 stays (policy), and llama 6.0.0 is already the newest release.
  • CHANGELOG: one entry under Unreleased → Changed, including the fix.

Test plan

Run locally with JDK 25.0.5 (as .java-version):

  • mvn -pl srcmorph,srcmorph-cli,srcmorph-maven-plugin spotless:check is clean.
  • mvn install of the whole reactor passes, run as a non-root user:
    • srcmorph: 2519 tests, 0 failures, 50 skipped
    • the CLI and plugin modules pass, and the enforcer passes
    • this includes SrcMorphConfigurationFileLoaderTest (35 tests); its three substitute cases cover $1\b in a value, an escaped $${…} and a trailing $5
  • Run as root, 9 tests of SourceFileIndexerTest, ProjectIndexerTest and DirectoryLinksTest fail, because root can read the directories the tests lock. As a normal user all 140 tests of those classes pass. This is the sandbox, not the change.
  • examples/build-your-own-jar packages srcmorph.jar with enforcer 3.7.0, and java -jar srcmorph.jar config_Plan.json ends with Main#run end.
  • mvn -f srcmorph/pom.xml test-compile org.pitest:pitest-maven:mutationCoverage (the 100% gate, with SrcMorphConfigurationFileLoader on it): 2005 mutations, 2005 killed, 0 without coverage, test strength 100%.
  • Shared checks of bernardladenthin/actions v1.1.1, run locally:
    • templates: 0 problems
    • run scripts: 30 parse
    • release gate: 0 violations
    • publication wiring: 0 problems
    • every workflow loads as YAML
  • CI is green on this branch
  • Docs / CHANGELOG updated where applicable

Related issues / PRs

Checklist

  • My commits follow Conventional Commits
  • No security-sensitive changes

🤖 Generated with Claude Code

https://claude.ai/code/session_01S8cAMcSFpCBzLfQXyyLd32

…build with Error Prone 2.52.0

- Jackson 2.22.4 -> 2.23.0.
- examples/build-your-own-jar: maven-enforcer-plugin 3.6.3 -> 3.7.0 (the
  reactor has 3.7.0 already; Dependabot does not see the example).
- actions/setup-java 6.1.0 -> 6.2.0 in the linearity-jdk8 job, the two
  pins Dependabot #271 left; anthropics/claude-code-action 1.0.268 -> 1.0.269.
- bernardladenthin/actions v1.1.0 -> v1.1.1: its actions run setup-java
  6.2.0, codeql-action 4.39.3, setup-gradle 6.4.1 and action-gh-release
  3.0.4; verify-signing-key-gradle signs with Gradle 9.9.0 by default.
- fix(config): main did not compile since Error Prone 2.52.0 (#273):
  JdkObsolete reports the StringBuffer of the ${name} substitution in
  SrcMorphConfigurationFileLoader, and -Werror fails the build. The
  StringBuilder overload of Matcher.appendReplacement is Java 9+ and the
  core is release 8, so the substitution copies into a StringBuilder by
  hand; the output is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8cAMcSFpCBzLfQXyyLd32
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 041141ac-7af1-4144-b241-465c2c1daf78
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bernardladenthin
bernardladenthin merged commit e1c6eaf into main Nov 9, 2026
11 of 13 checks passed
@bernardladenthin
bernardladenthin deleted the claude/upbeat-hypatia-z1ie5h branch November 9, 2026 11:32
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

This branch was successfully deployed

No deployments
startgate — c2cba61f Deployed Nov 9, 2026 by bernardladenthin via Start gate (abort window) #645
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.

2 participants