rmuir opened a new pull request, #15312:
URL: https://github.com/apache/lucene/pull/15312
Errorprone is only needed for "checks without tests". The idea is to speed
up compilation for the "tests" job, which focuses on executing tests. Any
errorprone issues will be found by the "checks without tests" job.
NOTE: this is a draft PR as it currently causes an "odd" gradle build
failure:
```
Run ./gradlew test -Ptask.times=true -Pvalidation.errorprone=false
--max-workers 2
Generating gradle.properties
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :build-infra:extractPluginRequests
> Task :build-infra:generatePluginAdapters
> Task :build-infra:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :build-infra:compileGroovy NO-SOURCE
> Task :build-infra:compileGroovyPlugins
> Task :build-infra:pluginDescriptors
> Task :build-infra:processResources
> Task :build-infra:classes
> Task :build-infra:jar
gradle/actions: Writing build results to
/home/runner/work/_temp/.gradle-actions/build-results/__run_2-1759957219184.json
[Incubating] Problems report is available at:
file:///home/runner/work/lucene/lucene/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* Where:
Build file '/home/runner/work/lucene/lucene/build.gradle' line: 25
* What went wrong:
An exception occurred applying plugin request [id:
'lucene.java-projects.conventions']
> Failed to apply plugin class
'org.apache.lucene.gradle.plugins.java.ErrorPronePlugin$ErrorPronePluginRootExtPlugin'.
> Odd, errorprone linting should always be enabled on CI builds?
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]