Azure / Azure/azure-functions-host
Activity.Current fixes
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
There are some scenarios where directly referencing `System.Diagnostics.DiagnosticSource` can break usage of `Activity.Current`:
- referencing (even transitively) `DiagnosticSource` and deploying a `function.deps.json` file -- which happens by default now.
- directly referencing a version of `DiagnosticSource` that is ahead of the host.
We need tests around these and to investigate a fix that can make this hard to break in the future.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reproducing the two Activity.Current failure scenarios described in the issue, then add regression coverage for each and investigate a durable host-side fix. Done means both deployment/version cases are covered and Activity.Current remains usable without breaking existing scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100