Daniel Cazzulino

Results 360 comments of Daniel Cazzulino

Given that the `Activity.Current` is stored in an `AsyncLocal`, wouldn't just setting it before processing be enough? See https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs#L65

I assume doing ExecutionContext.Capture and restoring it later is also not an option, especially if things might not even land in the same process?

![38 passed](https://img.shields.io/badge/✅-linux‐x64%20in%2011s-blue) ![38 passed](https://img.shields.io/badge/passed-38-brightgreen) :test_tube: Details on Ubuntu 24.04.3 LTS from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v1.0.0 on .NET 10.0.0 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped

![201 passed](https://img.shields.io/badge/✅-win‐x64%20in%201m%2011s-blue) ![201 passed](https://img.shields.io/badge/passed-201-brightgreen) :test_tube: Details on Microsoft Windows 10.0.26100 from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v1.0.0 on .NET 10.0.0 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped

![38 passed](https://img.shields.io/badge/✅-linux‐x64%20in%2011s-blue) ![38 passed](https://img.shields.io/badge/passed-38-brightgreen) :test_tube: Details on Ubuntu 24.04.2 LTS from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v0.7.1 on .NET 8.0.16 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped

Hehe, 7 years in the making: https://github.com/ErikEJ/dnx 😅

![92 passed](https://img.shields.io/badge/✅-linux‐x64%20in%200s-blue) ![92 passed](https://img.shields.io/badge/passed-92-brightgreen) :test_tube: Details on Ubuntu 24.04.2 LTS from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v0.7.1 on .NET 8.0.15 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped

![11 passed](https://img.shields.io/badge/✅-linux‐x64%20in%200s-blue) ![11 passed](https://img.shields.io/badge/passed-11-brightgreen) :test_tube: Details on Ubuntu 24.04.2 LTS from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v0.7.1 on .NET 8.0.15 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped

![34 passed](https://img.shields.io/badge/✅-linux‐x64%20in%200s-blue) ![34 passed](https://img.shields.io/badge/passed-34-brightgreen) ![34 passed](https://img.shields.io/badge/✅-osx‐arm64%20in%200s-blue) ![34 passed](https://img.shields.io/badge/passed-34-brightgreen) ![34 passed](https://img.shields.io/badge/✅-win‐x64%20in%200s-blue) ![34 passed](https://img.shields.io/badge/passed-34-brightgreen) :test_tube: Details on Ubuntu 24.04.2 LTS :test_tube: Details on macOS Unix 14.7.5 :test_tube: Details on Microsoft Windows 10.0.20348...

![80 passed](https://img.shields.io/badge/✅-linux‐x64%20in%204s-blue) ![80 passed](https://img.shields.io/badge/passed-80-brightgreen) :test_tube: Details on Ubuntu 24.04.3 LTS from [dotnet-retest](https://github.com/devlooped/dotnet-retest) v1.0.0 on .NET 10.0.0 with [:purple_heart:](https://github.com/sponsors/devlooped) by @devlooped