Skip to content

Bump the project template package reference versions for OpenTelemetry and Agent Framework#7491

Merged
wtgodbe merged 3 commits intodotnet:mainfrom
jeffhandley:jeffhandley/bump-otel-packages
Apr 28, 2026
Merged

Bump the project template package reference versions for OpenTelemetry and Agent Framework#7491
wtgodbe merged 3 commits intodotnet:mainfrom
jeffhandley:jeffhandley/bump-otel-packages

Conversation

@jeffhandley
Copy link
Copy Markdown
Member

@jeffhandley jeffhandley commented Apr 28, 2026

This addresses test failures in the project template integration tests caused by OpenTelemetry packages recently marked as vulnerable. This also updates the Agent Framework package versions used by the aiagent-webapi project template to get to the latest version of each of those packages. An explicit package reference to OpenTelemetry.Api is added to force that project template to use a non-vulnerable version of that package during package restore.

Microsoft Reviewers: Open in CodeFlow

@jeffhandley jeffhandley requested a review from wtgodbe April 28, 2026 04:26
@jeffhandley jeffhandley self-assigned this Apr 28, 2026
@jeffhandley jeffhandley requested a review from a team as a code owner April 28, 2026 04:26
Copilot AI review requested due to automatic review settings April 28, 2026 04:26
@jeffhandley jeffhandley requested a review from a team as a code owner April 28, 2026 04:26
@jeffhandley jeffhandley added area-ai-templates Microsoft.Extensions.AI.Templates dependencies Pull requests that update a dependency file labels Apr 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates project template package versions to address integration test failures caused by newly flagged vulnerable OpenTelemetry dependencies, and refreshes Agent Framework package versions used by the aiagent-webapi template.

Changes:

  • Add an explicit OpenTelemetry.Api package reference to the aiagent-webapi template to force a non-vulnerable version during restore.
  • Bump Agent Framework package versions used by project templates.
  • Update OpenTelemetry package versions used by project templates, and refresh aiagent-webapi snapshot outputs accordingly.

Reviewed changes

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

Show a summary per file
File Description
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Snapshots/aiagent-webapi/aiagent-webapi.oai.verified/aiagent-webapi/aiagent-webapi.csproj Updates snapshot to include OpenTelemetry.Api reference.
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Snapshots/aiagent-webapi/aiagent-webapi.o.verified/aiagent-webapi/aiagent-webapi.csproj Updates snapshot to include OpenTelemetry.Api reference.
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Snapshots/aiagent-webapi/aiagent-webapi.aoai_ID_T.verified/aiagent-webapi/aiagent-webapi.csproj Updates snapshot to include OpenTelemetry.Api reference.
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Snapshots/aiagent-webapi/aiagent-webapi.aoai_ID_F.verified/aiagent-webapi/aiagent-webapi.csproj Updates snapshot to include OpenTelemetry.Api reference.
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Snapshots/aiagent-webapi/aiagent-webapi._defaults.verified/aiagent-webapi/aiagent-webapi.csproj Updates snapshot to include OpenTelemetry.Api reference.
src/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates/templates/AIAgentWebApi-CSharp/AIAgentWebApi-CSharp.csproj-in Adds OpenTelemetry.Api package reference with centralized template package version token.
eng/packages/ProjectTemplates.props Bumps Agent Framework + OpenTelemetry template package versions and adds OpenTelemetry.Api version entry.

@wtgodbe wtgodbe merged commit f88d6ed into dotnet:main Apr 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-templates Microsoft.Extensions.AI.Templates dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants