Skip to content

Remove unused SpotBugs suppressions from dd-smoke-tests#11831

Open
AlexeyKuznetsov-DD wants to merge 1 commit into
masterfrom
alexeyk/cleanup-spotbugs-in-smoke-tests
Open

Remove unused SpotBugs suppressions from dd-smoke-tests#11831
AlexeyKuznetsov-DD wants to merge 1 commit into
masterfrom
alexeyk/cleanup-spotbugs-in-smoke-tests

Conversation

@AlexeyKuznetsov-DD

Copy link
Copy Markdown
Contributor

What Does This Do

Removes now-dead SpotBugs artifacts from dd-smoke-tests:

  • Drops all @SuppressFBWarnings annotations and their edu.umd.cs.findbugs.annotations.SuppressFBWarnings imports across the IAST, XSS, APM-tracing-disabled and profiling smoke-test apps.
  • Removes the redundant compileOnly 'com.github.spotbugs:spotbugs-annotations' dependency from apm-tracing-disabled/application/build.gradle.

Motivation

SpotBugs is disabled for the entire :dd-smoke-tests subtree in gradle/spotbugs.gradle:

if (project.path.startsWith(":dd-smoke-tests")
  || !(name.endsWith("Main") || name.endsWith("Main_java11"))) {
  it.enabled = false
  return
}

Since the analysis never runs on these fixtures, the @SuppressFBWarnings annotations and the spotbugs-annotations dependency are pure dead weight.

Additional Notes

  • com.google.code.findbugs:jsr305 is intentionally kept — it provides @Nonnull/@Nullable used by the Spring Boot fixtures, unrelated to SpotBugs analysis.
  • jboss-modules still carries an exclude module: 'spotbugs-annotations' on its custom configurations; left as-is since it's a harmless transitive-exclude, not an analysis config.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Jul 1, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added tag: no release notes Changes to exclude from release notes type: refactoring comp: tooling Build & Tooling labels Jul 1, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review July 1, 2026 20:20
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners July 1, 2026 20:20
@dd-octo-sts dd-octo-sts Bot added the tag: ai generated Largely based on code generated by an AI or LLM label Jul 1, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 13.97 s 14.04 s [-1.4%; +0.4%] (no difference)
startup:insecure-bank:tracing:Agent 12.88 s 13.08 s [-2.4%; -0.6%] (maybe better)
startup:petclinic:appsec:Agent 16.48 s 16.64 s [-5.5%; +3.6%] (no difference)
startup:petclinic:iast:Agent 16.78 s 16.78 s [-1.0%; +1.0%] (no difference)
startup:petclinic:profiling:Agent 16.32 s 16.69 s [-6.7%; +2.2%] (no difference)
startup:petclinic:sca:Agent 16.39 s 16.73 s [-6.3%; +2.3%] (no difference)
startup:petclinic:tracing:Agent 15.94 s 15.82 s [-3.6%; +5.1%] (no difference)

Commit: 74d4faf6 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@sarahchen6 sarahchen6 left a comment

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.

Nice 🧹 !

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

Labels

comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants