Skip to content

feat(sparkjava-2.3): toolkit-generated sparkjava-2.3 [DO NOT MERGE]#11708

Draft
jordan-wong wants to merge 3 commits into
masterfrom
eval/sparkjava-2.3-rebase-20260623
Draft

feat(sparkjava-2.3): toolkit-generated sparkjava-2.3 [DO NOT MERGE]#11708
jordan-wong wants to merge 3 commits into
masterfrom
eval/sparkjava-2.3-rebase-20260623

Conversation

@jordan-wong

Copy link
Copy Markdown
Contributor

Summary

Rebased toolkit-generated sparkjava-2.3 instrumentation onto current master to fix stale-base CI drift on PR #11562. Single squashed commit, sparkjava-2.3 module only.

Why this PR

PR #11562 sits on a branch ~200+ commits behind current master, which causes dd-gitlab/build_tests: [:instrumentationLatestDepTest, latestdep] to fail intermittently due to unrelated drift — not a sparkjava code defect. Running the exact same Gradle command against PR #11562's HEAD locally passes.

This PR rebases the toolkit-generated work onto current master so CI runs against a clean base.

What's in this PR

Only the toolkit-generated sparkjava-2.3 work — nothing else from #11562's branch:

  • SparkJavaDecorator.java (new)
  • RoutesInstrumentation.java updated (Routes.find advice)
  • SparkJavaTest.java, SparkJavaForkedTest.java — Java tests (per R20: no Groovy in toolkit-generated tests)
  • build.gradle updated for the module structure
  • Removed: old gradle.lockfile, SparkJavaBasedTest.groovy, TestSparkJavaApplication.java (replaced by Java equivalents)

What's NOT in this PR (intentionally dropped)

Next step

If CI is green on this branch, close #11562 as superseded. Keeping #11562 open until then so reviewers have continuity.

🤖 Generated with Claude Code

…[DO NOT MERGE]

Rebased onto current master to fix the stale-base CI failures on PR #11562.

This branch contains only the toolkit-generated sparkjava-2.3 work:
- SparkJavaDecorator, RoutesInstrumentation (with Routes.find advice)
- SparkJavaTest, SparkJavaForkedTest (Java tests per R20)
- build.gradle updated for the generated module structure
- Old groovy test + TestSparkJavaApplication + stale gradle.lockfile removed (toolkit produces Java tests only)

Supersedes #11562. The supported-configurations.json fix from #11562 is no longer needed — master already has the SPARKJAVA env var entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@datadog-datadog-prod-us1-2

This comment has been minimized.

Adds the three integration config entries needed for the new sparkjava-2.3 module:
- DD_TRACE_SPARKJAVA_2_3_ENABLED (for super("sparkjava-2.3") in RoutesInstrumentation)
- DD_TRACE_SPARKJAVA_ANALYTICS_ENABLED (for decorator instrumentationNames() -> "sparkjava")
- DD_TRACE_SPARKJAVA_ANALYTICS_SAMPLE_RATE (same)

Fixes the config-inversion-linter CI job on this PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dd-octo-sts

dd-octo-sts Bot commented Jun 23, 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.96 s 14.01 s [-1.2%; +0.5%] (no difference)
startup:insecure-bank:tracing:Agent 12.93 s 13.06 s [-1.8%; -0.2%] (maybe better)
startup:petclinic:appsec:Agent 16.87 s 16.73 s [-0.3%; +2.0%] (no difference)
startup:petclinic:iast:Agent 16.35 s 16.86 s [-7.3%; +1.3%] (no difference)
startup:petclinic:profiling:Agent 16.65 s 16.95 s [-2.8%; -0.7%] (maybe better)
startup:petclinic:sca:Agent 16.92 s 16.42 s [-1.8%; +7.8%] (no difference)
startup:petclinic:tracing:Agent 16.12 s 16.07 s [-0.6%; +1.2%] (no difference)

Commit: 48a84c05 · 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.

… 'double')

dd-trace-java's supported-configurations.json schema uses 'decimal' for
double-precision floats; 'double' fails the validate_supported_configurations_v2
GitLab CI check. Matches existing AKKA_HTTP_ANALYTICS_SAMPLE_RATE and other
analytics-rate entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jordan-wong jordan-wong changed the title feat(sparkjava-2.3): toolkit-generated sparkjava-2.3 [DO NOT MERGE — supersedes #11562] feat(sparkjava-2.3): toolkit-generated sparkjava-2.3 [DO NOT MERGE] Jun 23, 2026
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.

1 participant