Skip to content

Merge release/10.7 into main#7556

Merged
jeffhandley merged 10 commits into
mainfrom
merge/10.7-to-main
Jun 9, 2026
Merged

Merge release/10.7 into main#7556
jeffhandley merged 10 commits into
mainfrom
merge/10.7-to-main

Conversation

@jeffhandley

@jeffhandley jeffhandley commented Jun 9, 2026

Copy link
Copy Markdown
Member

Merge using a merge commit. Do not squash.

Microsoft Reviewers: Open in CodeFlow

jeffhandley and others added 10 commits June 8, 2026 14:47
…7545)

Upgrade OpenAI package from 2.10.0 to 2.11.0 (#7544)

- Bump OpenAI version to 2.11.0 in central package management

Co-authored-by: David Cantú <dacantu@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… objects (#7547)

* Fix ToolJson.AdditionalProperties to accept sub-schema objects

Change AdditionalProperties from bool to JsonElement so that
JSON Schema additionalProperties values like {"type":"string"}
are preserved instead of throwing a JsonException during deserialization.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Use JsonElement.Parse instead

---------

Co-authored-by: David Cantu <dacantu@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Suppress NU1507 in Directory.Build.props (no package source mapping on internal branches)
- Remove packageSourceMapping section from NuGet.config
- Set StabilizePackageVersion=true and DotNetFinalVersionKind=release in eng/Versions.props
- Add private feeds credentials setup tasks and comment out integration tests in BuildAndTest.yml
- Remove codecoverage stage and its post-build dependency from azure-pipelines.yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Lift CVE-impacted transitive dependencies in test projects

* eng/packages/Tests.props: pin OpenTelemetry.Api 1.15.3,
  NuGet.Packaging 6.8.2, and NuGet.Protocol 6.8.2 (keep
  OpenTelemetry.Exporter.InMemory at 1.9.0).
* Add explicit OpenTelemetry.Api PackageReference to AI.Tests,
  AI.Integration.Tests, AI.OllamaSharp.Integration.Tests, and
  DataIngestion.Tests to lift the vulnerable transitive (GHSA-g94r-2vxg-569j).
* Add explicit NuGet.Packaging and NuGet.Protocol PackageReferences
  to the AI/McpServer/Agents.AI template integration tests to lift
  the vulnerable transitive (GHSA-g4vj-cjjj-v7hg).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jeffhandley jeffhandley requested a review from jozkee June 9, 2026 20:59
@jeffhandley jeffhandley self-assigned this Jun 9, 2026
Copilot AI review requested due to automatic review settings June 9, 2026 20:59
@jeffhandley jeffhandley requested review from a team as code owners June 9, 2026 20:59

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 merges release/10.7 into main, bringing along dependency version updates and adding explicit package references/central package versions to mitigate CVE-impacted transitive dependencies in test projects.

Changes:

  • Bump a large set of runtime/AspNetCore/EFCore dependency versions (e.g., 9.0.15 → 9.0.17; net10 set 10.0.6 → 10.0.9) via eng/Versions.props and eng/Version.Details.xml.
  • Add explicit PackageReferences in several test projects to “lift” vulnerable transitive dependencies (NuGet.* and OpenTelemetry.Api).
  • Centralize the pinned versions for those lifted packages in eng/packages/Tests.props.

Reviewed changes

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

Show a summary per file
File Description
test/ProjectTemplates/Microsoft.McpServer.ProjectTemplates.IntegrationTests/Microsoft.McpServer.ProjectTemplates.Tests.csproj Adds direct NuGet.* package references to override vulnerable transitives.
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Microsoft.Extensions.AI.Templates.Tests.csproj Adds direct NuGet.* package references to override vulnerable transitives.
test/ProjectTemplates/Microsoft.Agents.AI.ProjectTemplates.IntegrationTests/Microsoft.Agents.AI.ProjectTemplates.Tests.csproj Adds direct NuGet.* package references to override vulnerable transitives.
test/Libraries/Microsoft.Extensions.DataIngestion.Tests/Microsoft.Extensions.DataIngestion.Tests.csproj Adds direct OpenTelemetry.Api reference to override a vulnerable transitive dependency.
test/Libraries/Microsoft.Extensions.AI.Tests/Microsoft.Extensions.AI.Tests.csproj Adds direct OpenTelemetry.Api reference to override a vulnerable transitive dependency.
test/Libraries/Microsoft.Extensions.AI.OllamaSharp.Integration.Tests/Microsoft.Extensions.AI.OllamaSharp.Integration.Tests.csproj Adds direct OpenTelemetry.Api reference to override a vulnerable transitive dependency.
test/Libraries/Microsoft.Extensions.AI.Integration.Tests/Microsoft.Extensions.AI.Integration.Tests.csproj Adds direct OpenTelemetry.Api reference to override a vulnerable transitive dependency.
eng/Versions.props Updates dependency version properties; includes an out-of-sync version vs Version.Details.xml for Arcade templating tasks.
eng/Version.Details.xml Updates tracked dependency versions/shas for runtime/aspnetcore/efcore.
eng/packages/Tests.props Adds centrally-managed test package versions for NuGet.* and OpenTelemetry.Api.

Comment thread eng/Versions.props
Comment thread eng/Versions.props
@dotnet-comment-bot

Copy link
Copy Markdown
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.Diagnostics.Testing Line 99 98.65 🔻
Microsoft.Extensions.Telemetry Line 93 91.95 🔻
Microsoft.Extensions.AI Line 89 88.47 🔻
Microsoft.Extensions.AI Branch 89 88.53 🔻
Microsoft.Extensions.AI.OpenAI Line 75 62.65 🔻
Microsoft.Extensions.AI.OpenAI Branch 75 49.63 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Line 75 4.46 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Branch 75 0 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Line 99 96.03 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Branch 99 94.39 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes Line 99 97.73 🔻
Microsoft.Extensions.ServiceDiscovery.Dns Line 75 69.93 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Line 75 42.11 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Branch 75 42.86 🔻
Microsoft.Extensions.ServiceDiscovery Line 75 67.96 🔻
Microsoft.Extensions.ServiceDiscovery Branch 75 71.43 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Line 75 73.85 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Branch 75 70 🔻
Microsoft.Extensions.VectorData.Abstractions Line 75 37.39 🔻
Microsoft.Extensions.VectorData.Abstractions Branch 75 22.73 🔻

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Gen.BuildMetadata 97 100
Microsoft.Gen.MetadataExtractor 57 73
Microsoft.Gen.MetricsReports 67 69
Microsoft.Extensions.AI.Abstractions 82 85
Microsoft.Extensions.AI.Evaluation.NLP 0 78
Microsoft.Extensions.Caching.Hybrid 82 84
Microsoft.Extensions.DataIngestion 75 89
Microsoft.Extensions.DataIngestion.Markdig 75 90
Microsoft.Extensions.Http.Resilience 97 100

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1456597&view=codecoverage-tab

@jeffhandley jeffhandley merged commit 1b7adbe into main Jun 9, 2026
9 checks passed
@jeffhandley jeffhandley deleted the merge/10.7-to-main branch June 9, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants