Skip to content

confluentinc#259: Consider adopting error prone and checker #144

Description

@astubbs

Mirror of confluentinc/parallel-consumer#259
Opened by astubbs, 2022-04-07 · 0 comments upstream · last upstream activity 2022-05-04
Summarised, not copied. Discussion belongs here - the Confluent-hosted repository is no
longer maintained and may be archived.

Summary

Suggests adopting Error Prone and the Checker Framework alongside SpotBugs.

Fork status

One of the three is adopted; the other two are not.

SpotBugs is in: pom.xml:877-893 configures spotbugs-maven-plugin at <effort>Max</effort> /
<threshold>Medium</threshold>, and maven.yml:245-305 runs it as a static: spotbugs job with a
cached baseline, so only newly introduced findings fail a PR. That arrived with the fork's CI
modernisation and ships in 0.6.0.0.

Error Prone and the Checker Framework are absent - searched pom.xml, every module and .github/
for errorprone|error_prone|checkerframework|checker-qual|nullaway; the only hit is the phrase
"error-prone" in prose in AGENTS.md.

The obstacle worth knowing before trying: the build compiles at source.version 17 but
release.target 8 via Jabel. Error Prone hooks into javac and the Checker Framework runs as an
annotation processor, so both need care against that setup - this is not a "add a plugin" job.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.6.0.0Targeted at the 0.6.0.0 releasearea/build-testArea: build-testchoreMaintenance work, no user-visible behaviour changeupstream-mirrorMirrored from the upstream confluentinc tracker

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions