Skip to content

[.NET] Use the informational version as the parametric library version - #8374

Open
andrewlock wants to merge 1 commit into
mainfrom
andrew/handle-prereleases
Open

andrewlock wants to merge 1 commit into
mainfrom
andrew/handle-prereleases

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Motivation

The .NET SDK now uses the full semantic version, instead of the "assembly" version it was used before

Changes

The assembly version of Datadog.Trace is the same for a prerelease and its release (e.g. 3.58.0.0), but the tracer reports the semantic version (3.58.0-prerelease), so process discovery tests failed for prereleases. Read AssemblyInformationalVersion instead, without its +<commit> build metadata, falling back to the assembly version. Non pre-releases/dev builds are unaffected

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 🛟

The assembly version of Datadog.Trace is the same for a prerelease and its
release (e.g. 3.58.0.0), but the tracer reports the semantic version
(3.58.0-prerelease), so process discovery tests failed for prereleases.
Read AssemblyInformationalVersion instead, without its +<commit> build
metadata, falling back to the assembly version. Releases are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@datadog-official

datadog-official Bot commented Nov 5, 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: 7fbfc45 | Docs | View more details | Give us feedback!

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/build/docker/dotnet/GetAssemblyVersion/Program.cs                 @DataDog/system-tests-reviewers

@andrewlock
andrewlock marked this pull request as ready for review November 5, 2026 17:17
@andrewlock
andrewlock requested a review from a team as a code owner November 5, 2026 17:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 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-11-05T17:19:52.493014Z 7fbfc45 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.

This branch has not been deployed

No deployments
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.

1 participant