Skip to content

chore: update packages to latest and resolve security vulnerabilities - #6

Merged
seiggy merged 1 commit into
mainfrom
chore/update-packages-security
Jul 6, 2026
Merged

chore: update packages to latest and resolve security vulnerabilities#6
seiggy merged 1 commit into
mainfrom
chore/update-packages-security

Conversation

@seiggy

@seiggy seiggy commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Moves the accidentally-committed package update off main onto a branch.

Security fixes (dotnet list package --vulnerable now clean)

  • Microsoft.OpenApi 2.0.0 (high, GHSA-v5pm-xwqc-g5wc) -> pinned 2.9.0 (patched 2.x line)
  • OpenTelemetry 1.15.0 (3x moderate) -> 1.16.0

Package updates (Directory.Packages.props)

  • Agent Framework preview -> 1.13.0 (stable Microsoft.Agents.AI; A2A/Persistent on 1.13.0-preview.260703.1)
  • Microsoft.Extensions.* -> 10.7.0; AspNetCore.OpenApi -> 10.0.9; Aspire -> 13.4.6; Azure.Identity -> 1.21.0
  • Enabled CentralPackageTransitivePinningEnabled so the Microsoft.OpenApi pin applies transitively

Build fixes from API/transitive changes

  • MapA2A -> MapA2AJsonRpc (renamed/split in Agent Framework 1.13)
  • Removed stale using Humanizer.Localisation; in AppHost

Build succeeds (0 errors); no vulnerable packages remain.

Copilot AI review requested due to automatic review settings July 6, 2026 13:01
@seiggy
seiggy merged commit f0cd30f into main Jul 6, 2026
1 check passed
@seiggy
seiggy deleted the chore/update-packages-security branch July 6, 2026 13:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 moves and completes a set of dependency upgrades intended to resolve known NuGet vulnerabilities and make the solution build again after upstream API/transitive changes (notably in Agent Framework A2A hosting).

Changes:

  • Updated centrally-managed package versions (including vulnerability-driven pins) in Directory.Packages.props.
  • Updated the workshop service to use the renamed A2A endpoint mapping (MapA2AJsonRpc) and adjusted Azure OpenAI client setup.
  • Added/updated supporting repo files (NuGet source mapping, Aspire AppHost config, docs, and ignore rules).

Reviewed changes

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

Show a summary per file
File Description
src/AgentEvalsWorkshop/Program.cs Adds Azure OpenAI client configuration, wires up A2A server, and updates endpoint mapping to MapA2AJsonRpc.
src/AgentEvalsWorkshop.AppHost/Program.cs Removes an unused/stale using.
src/AgentEvalsWorkshop.AppHost/aspire.config.json Adds Aspire AppHost configuration file pointing to the AppHost project.
src/AgentEvalsWorkshop.AppHost/AgentEvalsWorkshop.AppHost.csproj Updates Aspire AppHost SDK version and removes an AppHost package reference.
README.md Updates the architecture diagram label for the Foundry model.
nuget.config Introduces explicit NuGet source + package source mapping.
exercises/US1-taskadheranceeval.md Updates the example eval-model value in documentation.
Directory.Packages.props Upgrades/pins package versions centrally, including security-related pins and framework upgrades.
.gitignore Adds .idea/ to ignored paths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +19 to +23
var azureOpenAIClient = new AzureOpenAIClient(
endpoint,
new DefaultAzureCredential(),
new AzureOpenAIClientOptions(AzureOpenAIClientOptions.ServiceVersion.V2025_04_01_Preview)
{
Comment thread Directory.Packages.props
Comment on lines 55 to 60
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="$(OpenTelemetryVersion)" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="$(OpenTelemetryVersion)" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="$(OpenTelemetryVersion)" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="$(OpenTelemetryVersion)" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="$(OpenTelemetryVersion)" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.15.1" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants