GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add OpenTelemetry sample and update deps by torosent · Pull Request #637 · microsoft/durabletask-dotnet

Conversation

@torosent

@torosent Tomer Rosenthal (torosent) commented Feb 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This pull request updates several package dependencies in the Directory.Packages.props file to newer versions. The changes mainly focus on upgrading Microsoft.Extensions, gRPC/Protobuf, and other supporting libraries to improve compatibility, security, and stability.

Summary

What changed?

Dependency upgrades:

  • Microsoft.Extensions.* packages: Upgraded all related packages (such as Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.Hosting, etc.) from version 10.0.x to 10.0.2 for consistency and potential bug fixes.
  • gRPC and Protobuf packages: Updated Google.Protobuf to 3.33.5, Grpc.Net.Client to 2.76.0, Grpc.Tools to 2.78.0, and Grpc.AspNetCore.Server to 2.76.0, ensuring use of the latest stable versions.

Supporting library updates:

  • Microsoft.Bcl.AsyncInterfaces and System.Text.Json: Upgraded to 10.0.2 for improved async support and JSON serialization.

Testing and analysis packages:

  • Removed duplicate BenchmarkDotNet entry and ensured version 0.15.8 is used.…ing sample
  • Updated Google.Protobuf package version from 3.33.2 to 3.33.5 in AzureFunctionsApp and Worker.Grpc projects.
  • Removed outdated package references in Directory.Packages.props for Functions sample.
  • Added OpenTelemetry packages for distributed tracing in Directory.Packages.props.
  • Introduced a new DistributedTracingSample project demonstrating OpenTelemetry integration with Durable Task SDK.
  • Implemented a fan-out/fan-in orchestration pattern in the DistributedTracingSample.
  • Created a README.md for the DistributedTracingSample with setup instructions and usage details.
  • Added a docker-compose.yml for running Jaeger and the DTS emulator for testing the sample.

Why is this change needed?

  • Adding sample

Issues / work items

  • Resolves #
  • Related #

Project checklist

  • Release notes are not required for the next release
    • Otherwise: Notes added to release_notes.md
  • Backport is not required
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • All required tests have been added/updated (unit tests, E2E tests)
  • Breaking change?
    • If yes:
      • Impact:
      • Migration guidance:

AI-assisted code disclosure (required)

Was an AI tool used? (select one)

  • No
  • Yes, AI helped write parts of this PR (e.g., GitHub Copilot)
  • Yes, an AI agent generated most of this PR

If AI was used:

  • Tool(s): Copilot CLI - Opus 4.6
  • AI-assisted areas/files: All

AI verification (required if AI was used):

  • I understand the code and can explain it
  • I verified referenced APIs/types exist and are correct
  • I reviewed edge cases/failure paths (timeouts, retries, cancellation, exceptions)
  • I reviewed concurrency/async behavior
  • I checked for unintended breaking or behavior changes

Testing

Automated tests

  • Result: Passed

Manual validation (only if runtime/behavior changed)

  • Environment (OS, .NET version, components): OSX .NET 10

  • Evidence (optional):

image image

Notes for reviewers

  • N/A

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings February 7, 2026 03:20
Copilot started reviewing on behalf of Tomer Rosenthal (torosent) February 7, 2026 03:20
View session
Copilot AI reviewed Feb 7, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

This PR updates centrally-managed dependencies (Microsoft.Extensions, gRPC/Protobuf, System.Text.Json, etc.) and adds a new sample demonstrating OpenTelemetry distributed tracing with the Durable Task SDK, including local infra via Docker Compose.

Changes:

  • Bumped multiple central package versions (Microsoft.Extensions.*, gRPC/Protobuf, System.Text.Json, AsyncInterfaces) and removed a duplicate package entry.
  • Added a new DistributedTracingSample demonstrating fan-out/fan-in orchestration tracing with OpenTelemetry + Jaeger.
  • Updated solution/projects to include the new sample and align Protobuf versions.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
Directory.Packages.props Updates central dependency versions (Extensions, gRPC/Protobuf, System.*).
src/Worker/Grpc/Worker.Grpc.csproj Updates Google.Protobuf version override.
src/InProcessTestHost/InProcessTestHost.csproj Adds conditional Grpc.AspNetCore.Server version pin for net6.0.
samples/Directory.Packages.props Adds OpenTelemetry package versions; removes old Functions sample package entries (leaving an empty group).
samples/AzureFunctionsApp/AzureFunctionsApp.csproj Updates Google.Protobuf version override.
samples/DistributedTracingSample/DistributedTracingSample.csproj Introduces new sample project (net10.0) with OTel package references and p2p refs.
samples/DistributedTracingSample/Program.cs Implements OTel wiring and a fan-out/fan-in orchestration + activities.
samples/DistributedTracingSample/README.md Documents how to run the tracing sample with Jaeger + DTS emulator.
samples/DistributedTracingSample/docker-compose.yml Adds Jaeger + DTS emulator compose services for local testing.
Microsoft.DurableTask.sln Adds the new sample project and introduces additional solution configurations (x64/x86).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/DistributedTracingSample/Program.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/docker-compose.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/docker-compose.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/Directory.Packages.props Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Microsoft.DurableTask.sln Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/InProcessTestHost/InProcessTestHost.csproj Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI review requested due to automatic review settings February 7, 2026 03:40
Copilot started reviewing on behalf of Tomer Rosenthal (torosent) February 7, 2026 03:40
View session
Copilot AI reviewed Feb 7, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/DistributedTracingSample/Program.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/Program.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

Tomer Rosenthal (torosent) and others added 4 commits February 27, 2026 11:52
@torosent
Update Google.Protobuf version and add OpenTelemetry distributed trac…
02f9638
…ing sample

- Updated Google.Protobuf package version from 3.33.2 to 3.33.5 in AzureFunctionsApp and Worker.Grpc projects.
- Removed outdated package references in Directory.Packages.props for Functions sample.
- Added OpenTelemetry packages for distributed tracing in Directory.Packages.props.
- Introduced a new DistributedTracingSample project demonstrating OpenTelemetry integration with Durable Task SDK.
- Implemented a fan-out/fan-in orchestration pattern in the DistributedTracingSample.
- Created a README.md for the DistributedTracingSample with setup instructions and usage details.
- Added a docker-compose.yml for running Jaeger and the DTS emulator for testing the sample.
@torosent
Update samples/DistributedTracingSample/README.md
ff03198
Co-authored-by: Copilot <[email protected]>
@torosent
Update Microsoft.DurableTask.sln
d61afbf
Co-authored-by: Copilot <[email protected]>
@torosent
Update samples/DistributedTracingSample/Program.cs
55f978f
Co-authored-by: Copilot <[email protected]>
@torosent
Tomer Rosenthal (torosent) force-pushed the torosent/add-otel-sample branch from 4c8c470 to 55f978f Compare February 27, 2026 19:52
@torosent

Tomer Rosenthal (torosent) commented Feb 27, 2026

Copy link
Copy Markdown
Member Author

Copilot open a new pull request to apply changes based on the comments in this thread

Copilot reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Tomer Rosenthal (@torosent) I've opened a new pull request, #649, to work on those changes. Once the pull request is ready, I'll request review from you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI mentioned this pull request Feb 27, 2026
Fix int.MinValue overflow and CTS disposal in DistributedTracingSample #649
Merged
Fix int.MinValue overflow and CTS disposal in DistributedTracingSample (
0644db7
#649)
Copilot AI review requested due to automatic review settings February 27, 2026 19:58
Copilot started reviewing on behalf of Tomer Rosenthal (torosent) February 27, 2026 19:58
View session

Copilot AI commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Tomer Rosenthal (@torosent) I've opened a new pull request, #650, to work on those changes. Once the pull request is ready, I'll request review from you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI mentioned this pull request Feb 27, 2026
Dispose CancellationTokenSource in DistributedTracingSample #650
Closed
Copilot AI reviewed Feb 27, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/DistributedTracingSample/DistributedTracingSample.csproj Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/Program.cs Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/DistributedTracingSample/docker-compose.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Microsoft.DurableTask.sln Resolved

Uh oh!

There was an error while loading. Please reload this page.

@torosent
Update samples/DistributedTracingSample/Program.cs
1c0fb34
Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings February 27, 2026 20:04
@torosent
Update Microsoft.DurableTask.sln
268f4f6
Co-authored-by: Copilot <[email protected]>
Copilot started reviewing on behalf of Tomer Rosenthal (torosent) February 27, 2026 20:05
View session
@torosent
Merge branch 'main' into torosent/add-otel-sample
70c80e1
Copilot AI reviewed Feb 27, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/AzureFunctionsApp/AzureFunctionsApp.csproj

<ItemGroup>
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.2" />
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.5" />

Copilot AI Feb 27, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Google.Protobuf is centrally versioned (and already updated to 3.33.5). This VersionOverride matches the central version, so it's redundant—consider removing it and letting central package management control the version.

Suggested change
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.5" />
<PackageReference Include="Google.Protobuf" />

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
Comment thread samples/DistributedTracingSample/README.md
Comment on lines +41 to +46
The sample connects to the DTS emulator by default using the connection string:
```
Endpoint=http://localhost:8080;Authentication=None;TaskHub=default
```

To override, set the `DURABLE_TASK_SCHEDULER_CONNECTION_STRING` environment variable:

Copilot AI Feb 27, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This section states the sample connects to the DTS emulator by default using a localhost connection string, but the current Program.cs requires DURABLE_TASK_SCHEDULER_CONNECTION_STRING to be set and will fail otherwise. Please align the instructions with the actual startup behavior (either document the requirement or change the code to have a default).

Suggested change
The sample connects to the DTS emulator by default using the connection string:
```
Endpoint=http://localhost:8080;Authentication=None;TaskHub=default
```
To override, set the `DURABLE_TASK_SCHEDULER_CONNECTION_STRING` environment variable:
Before running, configure the DTS emulator connection string using the `DURABLE_TASK_SCHEDULER_CONNECTION_STRING` environment variable. For the local emulator started via Docker Compose, use:

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
Comment thread src/Worker/Grpc/Worker.Grpc.csproj

<ItemGroup>
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.2" />
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.5" />

Copilot AI Feb 27, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Google.Protobuf is already centrally versioned in Directory.Packages.props (currently 3.33.5). Since this VersionOverride matches the central version, it's redundant and adds maintenance overhead—consider removing the VersionOverride and relying on central package management.

Suggested change
<PackageReference Include="Google.Protobuf" VersionOverride="3.33.5" />
<PackageReference Include="Google.Protobuf" />

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
YunchuWang
wangbill (YunchuWang) approved these changes Feb 27, 2026
View reviewed changes
@torosent
Tomer Rosenthal (torosent) merged commit 838ca21 into main Feb 27, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@torosent
Tomer Rosenthal (torosent) deleted the torosent/add-otel-sample branch February 27, 2026 20:13
@YunchuWang wangbill (YunchuWang) mentioned this pull request Mar 17, 2026
Release v1.23.0 #676
Merged
This was referenced Mar 18, 2026
Bump Azure.Identity and Microsoft.DurableTask.Client.AzureManaged Azure-Samples/Durable-Task-Scheduler#196
Merged
[nuget][Find]- Bump Azure.Identity and 17 others DFE-Digital/single-unique-identifier#525
Closed
[nuget][Find]- Bump Azure.Identity and 16 others DFE-Digital/single-unique-identifier#528
Closed
[nuget][Find]- Bump Azure.Identity and 14 others DFE-Digital/single-unique-identifier#529
Merged
This was referenced Apr 1, 2026
[nuget][Find]- Bump the find-package-updates group with 7 updates DFE-Digital/single-unique-identifier#548
Closed
[nuget][Find]- Bump the find-package-updates group with 8 updates DFE-Digital/single-unique-identifier#560
Closed
This was referenced Apr 8, 2026
Bump Azure.Identity and Microsoft.DurableTask.Client.AzureManaged Azure-Samples/Durable-Task-Scheduler#242
Merged
[nuget][Find]- Bump Azure.Identity and 7 others DFE-Digital/single-unique-identifier#569
Closed
[nuget][Find]- Bump the find-package-updates group with 17 updates DFE-Digital/single-unique-identifier#570
Closed
This was referenced Apr 15, 2026
Bump Azure.Identity and 2 others Azure-Samples/Durable-Task-Scheduler#262
Merged
Bump Microsoft.DurableTask.Abstractions from 1.22.0 to 1.23.3 Mikeoso/IntegratoR#94
Closed
Bump Microsoft.DurableTask.Abstractions and Microsoft.DurableTask.Worker Mikeoso/IntegratoR#95
Merged
[nuget][Find]- Bump the find-package-updates group with 24 updates DFE-Digital/single-unique-identifier#576
Closed
This was referenced Apr 29, 2026
[nuget][Find]- Bump the find-package-updates group with 25 updates DFE-Digital/single-unique-identifier#587
Closed
[nuget][Find]- Bump Azure.Identity and 24 others DFE-Digital/single-unique-identifier#591
Closed
[nuget][Find]- Bump the find-package-updates group with 25 updates DFE-Digital/single-unique-identifier#601
Closed
This was referenced May 7, 2026
[nuget][Find]- Bump Azure.Identity and 23 others DFE-Digital/single-unique-identifier#605
Closed
[nuget][Find]- Bump the find-package-updates group with 24 updates DFE-Digital/single-unique-identifier#610
Closed
This was referenced May 19, 2026
[nuget][Find]- Bump the find-package-updates group with 25 updates DFE-Digital/single-unique-identifier#630
Closed
[nuget][Find]- Bump the find-package-updates group with 25 updates DFE-Digital/single-unique-identifier#636
Closed
This was referenced Jun 3, 2026
[nuget][Find]- Bump the find-package-updates group with 25 updates DFE-Digital/single-unique-identifier#653
Closed
[nuget][Find]- Bump Azure.Identity and 24 others DFE-Digital/single-unique-identifier#666
Closed
@dependabot dependabot Bot mentioned this pull request Jun 16, 2026
[nuget][Find]- Bump Azure.Identity and 24 others DFE-Digital/single-unique-identifier#676
Closed
@dependabot dependabot Bot mentioned this pull request Jul 14, 2026
[nuget][Find]- Bump the find-package-updates group with 6 updates DFE-Digital/single-unique-identifier#713
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@YunchuWang wangbill (YunchuWang) YunchuWang approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@torosent @YunchuWang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.