Skip to content

Update Error Prone and EP plugin#1486

Merged
msridhar merged 1 commit intomasterfrom
ep-2.48.0
Feb 28, 2026
Merged

Update Error Prone and EP plugin#1486
msridhar merged 1 commit intomasterfrom
ep-2.48.0

Conversation

@msridhar
Copy link
Copy Markdown
Collaborator

@msridhar msridhar commented Feb 28, 2026

Summary by CodeRabbit

  • Chores
    • Updated internal development tools to the latest versions.

@msridhar msridhar requested a review from yuxincs February 28, 2026 18:06
@msridhar msridhar enabled auto-merge (squash) February 28, 2026 18:06
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 28, 2026

Walkthrough

This PR updates two dependency versions in the Gradle version catalog. The errorprone-plugin is bumped from 5.0.0 to 5.1.0, and the errorProne dependency is bumped from 2.47.0 to 2.48.0. These are version-only updates with no changes to library additions, removals, or public API signatures.

Possibly related PRs

Suggested reviewers

  • yuxincs
  • lazaroclapp
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update Error Prone and EP plugin' directly and concisely describes the main change: bumping versions of Error Prone (2.47.0 → 2.48.0) and its plugin (5.0.0 → 5.1.0).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ep-2.48.0

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@gradle/libs.versions.toml`:
- Line 18: The specified Error Prone version "errorProne" = "2.48.0" is not
available on Maven Central and will break dependency resolution; update the
value in gradle/libs.versions.toml to a published release (e.g., "2.47.0") or
temporarily pin to the last known-good version, then run dependency
resolution/build to verify; alternatively revert the change until Maven Central
syncs. Ensure you update the "errorProne" entry and re-run the Gradle build to
confirm the fix.
- Line 12: Update the Error Prone library version in gradle/libs.versions.toml:
change the errorprone library version entry (the errorprone version key that
pairs with the net.ltgt.errorprone plugin) from 2.48.0 to the published 2.47.0
so the build can resolve the artifact; leave errorprone-plugin = "5.1.0"
unchanged.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9cc7bd5 and 95e2402.

📒 Files selected for processing (1)
  • gradle/libs.versions.toml

gradle-maven-publish-plugin = "0.34.0"
spotless = "8.2.1"
errorprone-plugin = "5.0.0"
errorprone-plugin = "5.1.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

net.ltgt.errorprone Gradle plugin version 5.1.0

💡 Result:

net.ltgt.errorprone Gradle plugin version 5.1.0 is published on the Gradle Plugin Portal and is currently listed as latest (created February 28, 2026). [1]

Apply with plugins DSL:

plugins {
  id("net.ltgt.errorprone") version "5.1.0"
}

[1]

Artifact coordinate (for convention plugins / buildscript classpath):

implementation("net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin:5.1.0")

[1]

Minimum requirements (per project README): at least Gradle 6.8, and JDK 11 for compilation. [2]

Sources: [1] [2]


🌐 Web query:

Error Prone library version 2.48.0 Maven Central

💡 Result:

com.google.errorprone version 2.48.0 is not present on Maven Central (as of Feb 28, 2026). The Maven Central directory listing for error_prone_core shows releases up through 2.47.0 (released Feb 5, 2026) and does not include 2.48.0. [1] MvnRepository also lists 2.47.0 as the latest error_prone_core version on Central. [2]

If you meant the latest available on Central, use 2.47.0 (example):

<dependency>
  <groupId>com.google.errorprone</groupId>
  <artifactId>error_prone_core</artifactId>
  <version>2.47.0</version>
</dependency>

[1] https://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/
[2] https://mvnrepository.com/artifact/com.google.errorprone/error_prone_core


🏁 Script executed:

#!/bin/bash
# Verify versions via Maven Central and GitHub
# Check Error Prone library 2.48.0
echo "=== Checking Error Prone library 2.48.0 ==="
curl -s "https://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/maven-metadata.xml" | grep -o "2\.48\.0" | head -1

# Check plugin versions on Maven Central
echo "=== Checking net.ltgt.errorprone plugin versions ==="
curl -s "https://repo1.maven.org/maven2/net/ltgt/gradle/gradle-errorprone-plugin/maven-metadata.xml" | grep -oP '<version>\K[^<]*' | tail -5

Repository: uber/NullAway

Length of output: 190


Plugin version 5.1.0 exists and is correct. The net.ltgt.errorprone plugin version 5.1.0 is published on the Gradle Plugin Portal and is the current latest release (as of February 28, 2026).

However, Error Prone library version 2.48.0 does not exist on Maven Central. The latest available version is 2.47.0 (released February 5, 2026). This PR will fail to build with the specified errorProne version. Update line 18 from 2.48.0 to 2.47.0, or verify if 2.48.0 should reference a different artifact/repository.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@gradle/libs.versions.toml` at line 12, Update the Error Prone library version
in gradle/libs.versions.toml: change the errorprone library version entry (the
errorprone version key that pairs with the net.ltgt.errorprone plugin) from
2.48.0 to the published 2.47.0 so the build can resolve the artifact; leave
errorprone-plugin = "5.1.0" unchanged.

shellcheck = "1.5.0"

errorProne = "2.47.0"
errorProne = "2.48.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify Error Prone 2.48.0 exists on Maven Central and check release notes

# Check if version exists on Maven Central
echo "=== Checking Maven Central for Error Prone 2.48.0 ==="
curl -s "https://search.maven.org/solrsearch/select?q=g:com.google.errorprone+AND+a:error_prone_core+AND+v:2.48.0&rows=1&wt=json" | jq '.response.numFound'

echo -e "\n=== Recent Error Prone releases from GitHub ==="
curl -s "https://api.github.com/repos/google/error-prone/releases" | jq -r '.[0:10] | .[] | "\(.tag_name): \(.published_at)"'

echo -e "\n=== Checking for v2.48.0 release details ==="
curl -s "https://api.github.com/repos/google/error-prone/releases/tags/v2.48.0" | jq '{tag_name, name, published_at, body}' 2>/dev/null || echo "Version v2.48.0 not found"

Repository: uber/NullAway

Length of output: 1130


Error Prone 2.48.0 is not yet available on Maven Central.

The version has been released on GitHub (Feb 27, 2026) but is not yet indexed on Maven Central (returns 0 results). The build will fail due to dependency resolution failure. Wait for Maven Central synchronization or use an alternative version.

Note: The release includes new checks (AvoidValueSetter, UnnecessarySemicolon) that should be reviewed for compatibility with NullAway once the version is available.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@gradle/libs.versions.toml` at line 18, The specified Error Prone version
"errorProne" = "2.48.0" is not available on Maven Central and will break
dependency resolution; update the value in gradle/libs.versions.toml to a
published release (e.g., "2.47.0") or temporarily pin to the last known-good
version, then run dependency resolution/build to verify; alternatively revert
the change until Maven Central syncs. Ensure you update the "errorProne" entry
and re-run the Gradle build to confirm the fix.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.41%. Comparing base (9cc7bd5) to head (95e2402).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1486   +/-   ##
=========================================
  Coverage     88.41%   88.41%           
  Complexity     2782     2782           
=========================================
  Files            99       99           
  Lines          9283     9283           
  Branches       1872     1872           
=========================================
  Hits           8208     8208           
  Misses          524      524           
  Partials        551      551           

☔ View full report in Codecov by Sentry.
📢 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.

@msridhar msridhar merged commit e9c223c into master Feb 28, 2026
12 checks passed
@msridhar msridhar deleted the ep-2.48.0 branch February 28, 2026 18:18
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