Skip to content

🍒 13109 - Fix stale type descriptions when transforming multi-release classes - #13134

Merged
mcculls merged 1 commit into
release/v1.68.xfrom
stuart.mcculloch/backport-pr-13109
Oct 30, 2026
Merged

mcculls merged 1 commit into
release/v1.68.xfrom
stuart.mcculloch/backport-pr-13109

Conversation

@mcculls

@mcculls mcculls commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Backport #13109 to release/v1.68.x

Tomcat can load a versioned class from a multi-release JAR while returning
the base entry through getResource(). Reusing metadata cached from that
resource could lead to a VerifyError if it happened to be incompatible
with the JVM-supplied (versioned) bytes.

Retain a LazyType backed by the JVM-supplied bytes for the current target.
Bypass shared metadata for that target while reusing its parsed description
throughout the transform, even after local-cache eviction. Previously
issued deferred references also resolve through this target.

Add regression coverage for outline and full descriptions, cache eviction,
previously issued deferred references, and subsequent transforms.

(cherry picked from commit e5e3f7c)
@mcculls mcculls added type: bug fix Bug fix comp: core Tracer core tag: ai generated Largely based on code generated by an AI or LLM labels Oct 30, 2026
@mcculls
mcculls requested a review from a team as a code owner October 30, 2026 12:26
@mcculls
mcculls requested review from PerfectSlayer and removed request for a team October 30, 2026 12:26
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T12:31:43.177142Z de55008 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: de550083cc

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@datadog-official datadog-official Bot 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.

Bits Code Review: PASS

More details

The target description uses JVM-provided bytecode consistently across cache reuse and retained references, addressing stale multi-release class descriptions. Static review found no actionable regression; runtime behavior remains unverified.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit de55008

@datadog-official

datadog-official Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 0.00%
• Overall Coverage: 63.71% (+3.72%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: de55008 | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Oct 30, 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 14.75 s 14.58 s [+0.4%; +1.9%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.63 s 13.61 s [-0.6%; +0.9%] (no difference)
startup:petclinic:appsec:Agent 17.14 s 16.86 s [+0.8%; +2.4%] (maybe worse)
startup:petclinic:iast:Agent 16.88 s 17.01 s [-1.7%; +0.1%] (no difference)
startup:petclinic:profiling:Agent 16.49 s 16.75 s [-2.4%; -0.6%] (maybe better)
startup:petclinic:sca:Agent 17.03 s 16.84 s [+0.3%; +1.9%] (maybe worse)
startup:petclinic:tracing:Agent 16.07 s 15.77 s [-2.4%; +6.2%] (no difference)

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

@mcculls
mcculls merged commit 963fc14 into release/v1.68.x Oct 30, 2026
610 of 615 checks passed
@mcculls
mcculls deleted the stuart.mcculloch/backport-pr-13109 branch October 30, 2026 14:31
@github-actions github-actions Bot added this to the 1.68.1 milestone Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core tag: ai generated Largely based on code generated by an AI or LLM type: bug fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants