Bump the project template package reference versions for OpenTelemetry and Agent Framework#7491
Merged
wtgodbe merged 3 commits intodotnet:mainfrom Apr 28, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.Apipackage reference to theaiagent-webapitemplate 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-webapisnapshot 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
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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