Skip to content

Restore the mongo-driver-3.6 latestDep forked tests - #13684

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
apmlp-2193-mongo-driver-3.6-latestdep
Nov 25, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
apmlp-2193-mongo-driver-3.6-latestdep

Conversation

@na-ji

@na-ji na-ji commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

What Does This Do

Re-enable the forked tests of mongo-driver-3.6's latestDepTest, and run them against the latest driver version that module supports (3.7.1) instead of 3.+.

Motivation

Driver 3.8 moved DefaultServerConnection to another package, so the 3.6 instrumentation can no longer inject DBM comments with the latest 3.x driver. mongo-driver-3.8 handles that, and its tests cover the latest 3.x driver.

Jira ticket: APMLP-2193

@na-ji na-ji added type: bug fix Bug fix comp: testing Testing tag: no release notes Changes to exclude from release notes inst: mongodb MongoDB instrumentation labels Nov 25, 2026
@na-ji
na-ji force-pushed the apmlp-2193-mongo-driver-3.6-latestdep branch from dc605a4 to 0572b65 Compare November 25, 2026 11:11
@na-ji na-ji changed the title Restore the mongo-driver-3.6 latestDep forked tests [APMLP-2193] Restore the mongo-driver-3.6 latestDep forked tests Nov 25, 2026
@na-ji
na-ji marked this pull request as ready for review November 25, 2026 11:12
@na-ji
na-ji requested review from a team as code owners November 25, 2026 11:12
@na-ji
na-ji requested review from ValentinZakharov and bric3 and removed request for a team November 25, 2026 11:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T11:14:42.833953Z 0572b65 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T11:15:36.061358Z 0572b65 Draft marked ready
ℹ️ 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.

@dd-octo-sts

dd-octo-sts Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Remove the tag from the pull request title

If you need help, please check our contributing guidelines.

@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 restored forked suite uses the matching MongoDB 3.7.1 dependency, while the 3.8 module retains coverage of the latest 3.x driver. Static review identified no actionable defects.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 0572b65

@na-ji na-ji changed the title [APMLP-2193] Restore the mongo-driver-3.6 latestDep forked tests Restore the mongo-driver-3.6 latestDep forked tests Nov 25, 2026
@na-ji na-ji self-assigned this Nov 25, 2026
@datadog-official

datadog-official Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 68.82% (+7.61%)

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

@dd-octo-sts

dd-octo-sts Bot commented Nov 25, 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.09 s 14.02 s [-0.2%; +1.1%] (no difference)
startup:insecure-bank:tracing:Agent 12.98 s 13.04 s [-1.3%; +0.3%] (no difference)
startup:petclinic:appsec:Agent 17.34 s 17.77 s [-6.8%; +2.0%] (no difference)
startup:petclinic:iast:Agent 17.63 s 17.76 s [-1.5%; +0.1%] (no difference)
startup:petclinic:profiling:Agent 17.48 s 17.09 s [-2.3%; +6.9%] (no difference)
startup:petclinic:sca:Agent 17.95 s 17.86 s [-0.7%; +1.6%] (no difference)
startup:petclinic:tracing:Agent 16.80 s 16.90 s [-1.9%; +0.7%] (no difference)

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

@na-ji
na-ji added this pull request to the merge queue Nov 25, 2026
@dd-octo-sts

dd-octo-sts Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-11-25 12:15:57 UTC ℹ️ Start processing command /merge


2026-11-25 12:16:01 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-11-25 12:42:50 UTC ⚠️ MergeQueue: This merge request build was cancelled

naji.astier@datadoghq.com cancelled this merge request build

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 25, 2026
Driver 3.8 moved DefaultServerConnection to com.mongodb.internal.connection, so the
3.6 instrumentation cannot inject DBM comments there any more. The 3.8 module
instruments the new location and covers the latest 3.x driver.

APMLP-2193
@na-ji
na-ji force-pushed the apmlp-2193-mongo-driver-3.6-latestdep branch from 0572b65 to 4b7cdd5 Compare November 25, 2026 16:47

@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 restored forked tests use MongoDB driver 3.7.1 consistently with the updated lockfile, while the 3.8 module retains coverage of the latest 3.x driver. No actionable issues were reported.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 4b7cdd5

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 20c36ca into master Nov 25, 2026
687 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the apmlp-2193-mongo-driver-3.6-latestdep branch November 25, 2026 18:18
@github-actions github-actions Bot added this to the 1.70.0 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: testing Testing inst: mongodb MongoDB instrumentation tag: no release notes Changes to exclude from release notes type: bug fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants