Skip to content

chore/dotnet 10#540

Merged
Mpdreamz merged 16 commits intomainfrom
chore/dotnet-10
Feb 17, 2026
Merged

chore/dotnet 10#540
Mpdreamz merged 16 commits intomainfrom
chore/dotnet-10

Conversation

@Mpdreamz
Copy link
Copy Markdown
Member

  • Migrate to .NET 10
  • move to slnx
  • update tools and scripts

@Mpdreamz Mpdreamz requested a review from a team as a code owner November 13, 2025 17:08
@github-actions
Copy link
Copy Markdown

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

v1v
v1v previously approved these changes Nov 13, 2025
@snakefoot
Copy link
Copy Markdown
Contributor

snakefoot commented Nov 15, 2025

Possible to also update NLog from ver. 6.0.2 to 6.0.3 (Includes an important bugfix for NLog FileTarget). For those using NLog EcsLayout for writing to local file.

…0 compatibility

The Elastic.Apm agent internally accesses collection properties like
TransactionNameGroups, TransactionIgnoreUrls, and others without null
checks. On .NET 10 these null values cause NullReferenceException in
Transaction.End(). Also set TransactionSampleRate to 1.0 (matching the
agent's default) so transactions are properly sampled during tests.
- Update GitHubActionsTestLogger from 2.4.1 to 3.0.1 for .NET 10 support
- Fix logger friendly name casing (GithubActions -> GitHubActions)
- Add GitHubActionsTestLogger to tests-integration Directory.Build.props
- Remove junit XML artifact upload steps (no junit logger configured)
- Remove test-reporter workflow (depended on junit artifacts)
- Remove junit cleanup from build teardown
.NET 10's DefaultJsonTypeInfoResolver no longer picks up inherited
[JsonConverter] attributes from base classes. Add the attribute
explicitly to EcsDocument subclasses so the EcsDocumentJsonConverterFactory
is used regardless of serialization path.

Use unique data stream names in integration tests to avoid collisions
when the test framework executes tests concurrently.
Same double-execution fix as data stream tests - the test framework
runs each test twice concurrently against the same cluster, so index
names need to be unique per execution to avoid template conflicts.
The ElasticTestFramework runs each test twice with the same test case
IDs, causing GitHubActionsTestLogger to crash with "Key already exists
in the message metadata cache". This makes VSTestTask report failure
even when all tests pass.
The solution-level dotnet test loads loggers from all assemblies
globally. The logger from unit test projects was crashing on duplicate
test IDs produced by the ElasticTestFramework in integration tests.
…sTestLogger

0.11.0 fixes the double test execution that caused GitHubActionsTestLogger
to crash with duplicate test case IDs. Restore the logger and --logger
arg now that the root cause is fixed.
@Mpdreamz Mpdreamz enabled auto-merge (squash) February 17, 2026 08:38
Copy link
Copy Markdown

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

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

The CI changes LGTM

@Mpdreamz Mpdreamz merged commit 94ce4c5 into main Feb 17, 2026
15 checks passed
@Mpdreamz Mpdreamz deleted the chore/dotnet-10 branch February 17, 2026 08:58
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.

4 participants