Skip to content

[debugger] Enable .NET in-product Code Origin enablement test from 3.56.0 - #8123

Merged
dudikeleti merged 3 commits into
mainfrom
dudik/dotnet/inproduct-code-origin-default-on
Oct 27, 2026
Merged

dudikeleti merged 3 commits into
mainfrom
dudik/dotnet/inproduct-code-origin-default-on

Conversation

@dudikeleti

@dudikeleti dudikeleti commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Test_Debugger_InProduct_Enablement_Code_Origin asserts that code origin is off at startup for every library except Node.js. .NET turned code origin on by default in 3.45.0 (DEBUG-4174, checked by Test_Debugger_InProduct_Enablement_Code_Origin_Default_On from v3.45.0), so on .NET this assertion fails before the remote config part of the test even runs.

With that assertion fixed, the test passed in the CI of #7876 (run 38560367253, .NET dev 3.56.0 from dd-trace-dotnet master) on poc. That run didn't use DataDog/dd-trace-dotnet#9344, so code origin doesn't depend on it. 3.56.0 is now released, and this PR's dotnet prod job passes the test on it (poc).

Changes

  • test_inproduct_enablement_code_origin: expect code origin on at startup for .NET, like Node.js.
  • manifests/dotnet.yml: limit bug (DEBUG-4637) on Test_Debugger_InProduct_Enablement_Code_Origin to component_version: <3.56.0.

Test_Debugger_InProduct_Enablement_Dynamic_Instrumentation and test_inproduct_enablement_exception_replay_apm_multiconfig stay bug (DEBUG-4637). They need DataDog/dd-trace-dotnet#9344, which merged after 3.56.0 was released and ships in 3.57.0. #7876 enables them from 3.57.0.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Tests, manifest, weblog are modified -> you'll need a review from system-tests-reviewers: ask to one of youre co-worker familiar with the tested feature.
    • Framework is modified, or non obvious usage of it -> get a review from system-tests-core (slack)

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

…t enablement test

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/dotnet.yml                                                    @DataDog/system-tests-reviewers
tests/debugger/test_debugger_inproduct_enablement.py                    @DataDog/debugger

@datadog-official

datadog-official Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 452d5e2 | Docs | View more details | Give us feedback!

…56.0

Co-authored-by: Cursor <cursoragent@cursor.com>
@dudikeleti dudikeleti changed the title [debugger] Expect code origin on by default for .NET in the in-product enablement test [debugger] Enable .NET in-product Code Origin enablement test from 3.56.0 Oct 21, 2026
dudikeleti added a commit that referenced this pull request Oct 27, 2026
DataDog/dd-trace-dotnet#9344 merged after 3.56.0 was released, so the first release with the fix is 3.57.0.

Code origin enablement doesn't depend on #9344 and is enabled from 3.56.0 in #8123, so this PR no longer touches it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dudikeleti
dudikeleti marked this pull request as ready for review October 27, 2026 08:59
@dudikeleti
dudikeleti requested review from a team as code owners October 27, 2026 08:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 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-27T09:03:35.412073Z d871844 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.

@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: d8718444d4

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

Comment thread tests/debugger/test_debugger_inproduct_enablement.py
Comment thread tests/debugger/test_debugger_inproduct_enablement.py
Comment thread manifests/dotnet.yml Outdated
Address review feedback:

- The in-product code origin setup warmed up only Node.js before checking
  the default state. Code origin can start asynchronously, so warm up for
  every library. Where code origin is off by default, the warmup waits for
  its whole timeout.
- Quote component_version '<3.56.0' in dotnet.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dudikeleti
dudikeleti merged commit e7b8297 into main Oct 27, 2026
467 checks passed
@dudikeleti
dudikeleti deleted the dudik/dotnet/inproduct-code-origin-default-on branch October 27, 2026 10:55
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.

2 participants