Skip to content

Avoid null collection on decoded spans - #12087

Open
PerfectSlayer wants to merge 1 commit into
bbujon/smoke-tests-test-agentfrom
bbujon/smoke-tests-decoded-spans
Open

Avoid null collection on decoded spans#12087
PerfectSlayer wants to merge 1 commit into
bbujon/smoke-tests-test-agentfrom
bbujon/smoke-tests-decoded-spans

Conversation

@PerfectSlayer

@PerfectSlayer PerfectSlayer commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

This PR updates the decoded spans to avoid null collections.

Motivation

This changes will help asserting the trace / span structure and values with the upcoming rules and matchers.

Additional Notes

Contributor Checklist

Jira ticket: APMLP-1247

@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: 74c157ccdf

ℹ️ 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".

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

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 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.

Datadog Autotest: PASS

More details

The decoder changes consistently replace absent meta_struct values with immutable empty maps across v0.4, v0.5, and v1, matching the updated smoke-test assertions. No diff-only behavioral regression was identified; local execution was attempted but the sandbox lacks the required Gradle distribution and Java 25 toolchain.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Datadog Autotest · Commit 74c157c · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
Patch Coverage: 0.00%
Overall Coverage: 57.54% (+0.02%)

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

@PerfectSlayer
PerfectSlayer force-pushed the bbujon/smoke-tests-decoded-spans branch from 74c157c to d1a2872 Compare July 28, 2026 09:09
@dd-octo-sts

dd-octo-sts Bot commented Jul 28, 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.88 s 14.68 s [+0.6%; +2.1%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.64 s 13.75 s [-1.7%; +0.1%] (no difference)
startup:petclinic:appsec:Agent 17.01 s 16.85 s [-0.1%; +2.1%] (no difference)
startup:petclinic:iast:Agent 16.90 s 16.97 s [-1.2%; +0.4%] (no difference)
startup:petclinic:profiling:Agent 16.52 s 16.82 s [-3.2%; -0.4%] (maybe better)
startup:petclinic:sca:Agent 16.97 s 16.80 s [+0.1%; +1.9%] (maybe worse)
startup:petclinic:tracing:Agent 16.13 s 16.16 s [-1.0%; +0.5%] (no difference)

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

@jandro996 jandro996 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks!

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

Labels

comp: testing Testing type: feature Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants