Skip to content

Migrate Java formatting to Google Java Format 2 - #3472

Merged
benhook1013 merged 1 commit into
developfrom
dot/google-java-format-2-migration-20261119
Nov 19, 2026
Merged

benhook1013 merged 1 commit into
developfrom
dot/google-java-format-2-migration-20261119

Conversation

@benhook1013

Copy link
Copy Markdown
Owner

Summary

Upgrade Google Java Format to 2.0.0 in a standalone formatter-only PR. The 1.37.0 pin proposed in #3454 is incompatible with Spotless: it removed the Style.valueOf(String) API called by the installed plugin. Version 2.0.0 restores that API and covers #3464.

What Changed

  • Pin formatter 2.0.0 and use the installed Spotless plugin's cleanup(false) option to disable optional token cleanup.
  • Apply the formatter across tracked Java sources. Generated-source exclusions are unchanged.
  • No dependency upgrades other than the formatter, and no Renovate, CI trust, or deployment policy changes.

Validation

  • Compared all 1,587 changed Java files to the exact develop base with JDK 25: ordered Java tokens, including decoded literal values, are identical. Whitespace and comment layout may change.
  • git diff --check passed. Canonical full Spotless checked the formatter output. Native hosted CI is separate.

Notes

LOC Impact

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@benhook1013
benhook1013 marked this pull request as ready for review November 19, 2026 12:12
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Summary

⚠️ Known PLAY failed: ERROR ENTITLEMENT_UNAVAILABLE after LOGIN. Canonical PLAY transition exception accepted; no runtime qualification or publication.

  • ✅ Changes detection: success
  • ✅ Smoke Gate: success
  • ❌ PR Full-Stack Smoke: failure (known PLAY exception accepted; no runtime qualification or publication)

@github-actions

Copy link
Copy Markdown
Contributor

Security Summary

✅ Security checks passed or were intentionally skipped

  • ✅ Security gate: success
  • ✅ Trivy filesystem scan: success
  • ✅ Secret compliance validation: success

@github-actions

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

  • ✅ CodeQL gate: success
  • ✅ License gate: success

CodeQL breakdown

  • ✅ CodeQL analysis (java): success
  • ⏭️ CodeQL analysis (javascript-typescript): skipped

auto-merge was automatically disabled November 19, 2026 13:08

Pull request was closed

@benhook1013 benhook1013 reopened this Nov 19, 2026
@benhook1013
benhook1013 merged commit 3b81c43 into develop Nov 19, 2026
163 of 178 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant