Skip to content

fix(correctness): properly enable DSD pipeline in ADP for DSD correctness tests#1072

Merged
dd-mergequeue[bot] merged 1 commit intomainfrom
tobz/correctness-tests-wrong-env-var-dsd-enabled
Dec 18, 2025
Merged

fix(correctness): properly enable DSD pipeline in ADP for DSD correctness tests#1072
dd-mergequeue[bot] merged 1 commit intomainfrom
tobz/correctness-tests-wrong-env-var-dsd-enabled

Conversation

@tobz
Copy link
Member

@tobz tobz commented Dec 18, 2025

Summary

This PR fixes an issue with setting the wrong environment variable to properly enable the DSD pipeline in ADP for the DSD-specific correctness tests.

Simply put, we had an extra underscore in the variable name.. which meant ADP didn't think DSD should be enabled, and we also didn't disable DSD in the Core Agent. This led to the "comparison" actually being DSD running via Core Agent, hence how the tests still managed to pass.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

How did you test this PR?

Ran the dsd-plain and dsd-origin-detection correctness tests, and checked the target logs on the comparison side to ensure we saw ADP start, stay started, and start listening on the DSD socket... while Core Agent avoided trying to also listen on the same sockets.

References

AGTMETRICS-393

@tobz tobz added the type/bug Bug fixes. label Dec 18, 2025
@tobz tobz requested a review from a team as a code owner December 18, 2025 20:37
@github-actions github-actions bot added the area/test All things testing: unit/integration, correctness, SMP regression, etc. label Dec 18, 2025
@pr-commenter
Copy link

pr-commenter bot commented Dec 18, 2025

Binary Size Analysis (Agent Data Plane)

Target: 656d630 (baseline) vs aca10b9 (comparison) diff
Baseline Size: 332.89 MiB
Comparison Size: 332.89 MiB
Size Change: +8 B (+0.00%)
Pass/Fail Threshold: +5%
Result: PASSED ✅

Changes by Module

Module File Size Symbols
anon.6963da505859e1c5d18d13cd64b99327.1.llvm.11813514498431475664 +130 B 1
anon.6963da505859e1c5d18d13cd64b99327.1.llvm.9970088448890237782 -129 B 1
anon.6963da505859e1c5d18d13cd64b99327.4.llvm.11813514498431475664 +115 B 1
anon.6963da505859e1c5d18d13cd64b99327.4.llvm.9970088448890237782 -114 B 1
anon.6963da505859e1c5d18d13cd64b99327.3.llvm.11813514498431475664 +109 B 1
anon.6963da505859e1c5d18d13cd64b99327.3.llvm.9970088448890237782 -108 B 1
anon.6963da505859e1c5d18d13cd64b99327.0.llvm.11813514498431475664 +97 B 1
anon.6963da505859e1c5d18d13cd64b99327.0.llvm.9970088448890237782 -96 B 1
anon.6963da505859e1c5d18d13cd64b99327.2.llvm.11813514498431475664 +95 B 1
anon.6963da505859e1c5d18d13cd64b99327.2.llvm.9970088448890237782 -94 B 1
[Unmapped] +3 B 1

Detailed Symbol Changes

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [NEW]    +130  [NEW]     +40    anon.6963da505859e1c5d18d13cd64b99327.1.llvm.11813514498431475664
  [NEW]    +115  [NEW]     +25    anon.6963da505859e1c5d18d13cd64b99327.4.llvm.11813514498431475664
  [NEW]    +109  [NEW]     +19    anon.6963da505859e1c5d18d13cd64b99327.3.llvm.11813514498431475664
  [NEW]     +97  [NEW]      +7    anon.6963da505859e1c5d18d13cd64b99327.0.llvm.11813514498431475664
  [NEW]     +95  [NEW]      +5    anon.6963da505859e1c5d18d13cd64b99327.2.llvm.11813514498431475664
  +0.0%      +3  [ = ]       0    [Unmapped]
  [DEL]     -94  [DEL]      -5    anon.6963da505859e1c5d18d13cd64b99327.2.llvm.9970088448890237782
  [DEL]     -96  [DEL]      -7    anon.6963da505859e1c5d18d13cd64b99327.0.llvm.9970088448890237782
  [DEL]    -108  [DEL]     -19    anon.6963da505859e1c5d18d13cd64b99327.3.llvm.9970088448890237782
  [DEL]    -114  [DEL]     -25    anon.6963da505859e1c5d18d13cd64b99327.4.llvm.9970088448890237782
  [DEL]    -129  [DEL]     -40    anon.6963da505859e1c5d18d13cd64b99327.1.llvm.9970088448890237782
  +0.0%      +8  [ = ]       0    TOTAL

@tobz
Copy link
Member Author

tobz commented Dec 18, 2025

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Dec 18, 2025

View all feedbacks in Devflow UI.

2025-12-18 20:40:12 UTC ℹ️ Start processing command /merge


2025-12-18 20:40:17 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2025-12-18 20:42:26 UTC ℹ️ MergeQueue: merge request added to the queue

The expected merge time in main is approximately 46m (p90).


2025-12-18 20:52:31 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit c6d222d into main Dec 18, 2025
55 of 56 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 18, 2025
…ness tests (#1072)

## Summary

This PR fixes an issue with setting the wrong environment variable to properly enable the DSD pipeline in ADP for the DSD-specific correctness tests.

Simply put, we had an extra underscore in the variable name.. which meant ADP didn't think DSD should be enabled, and we also didn't disable DSD in the Core Agent. This led to the "comparison" actually being DSD running via Core Agent, hence how the tests still managed to pass.

## Change Type

- [x] Bug fix
- [ ] New feature
- [ ] Non-functional (chore, refactoring, docs)
- [ ] Performance

## How did you test this PR?

Ran the `dsd-plain` and `dsd-origin-detection` correctness tests, and checked the target logs on the comparison side to ensure we saw ADP start, stay started, and start listening on the DSD socket... while Core Agent avoided trying to also listen on the same sockets.

## References

AGTMETRICS-393

Co-authored-by: toby.lawrence <toby.lawrence@datadoghq.com> c6d222d
@tobz tobz deleted the tobz/correctness-tests-wrong-env-var-dsd-enabled branch January 16, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test All things testing: unit/integration, correctness, SMP regression, etc. mergequeue-status: done type/bug Bug fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants