Skip to content

.NET: Bump Microsoft.Extensions.AI packages to 10.6.0, align transitive dependency floor, and update Merge Gatekeeper ignores#6148

Open
Copilot wants to merge 4 commits into
mainfrom
copilot/bump-dependencies-to-10-6-0
Open

.NET: Bump Microsoft.Extensions.AI packages to 10.6.0, align transitive dependency floor, and update Merge Gatekeeper ignores#6148
Copilot wants to merge 4 commits into
mainfrom
copilot/bump-dependencies-to-10-6-0

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 28, 2026

Motivation and Context

This updates the .NET dependency graph to the latest Microsoft.Extensions.AI.* 10.6.0 line and aligns related package floors so restore succeeds without downgrades. It also updates remaining explicit references so the repo consistently resolves to the same AI package generation.

Additionally, this adjusts Merge Gatekeeper behavior to ignore an external review check that is failing outside this repository’s boundaries and should not block merges.

Description

  • Dependency version uplift

    • Central package versions in dotnet/Directory.Packages.props were moved to 10.6.0 for:
      • Microsoft.Extensions.AI
      • Microsoft.Extensions.AI.Abstractions
      • Microsoft.Extensions.AI.Evaluation
      • Microsoft.Extensions.AI.Evaluation.Quality
      • Microsoft.Extensions.AI.Evaluation.Safety
      • Microsoft.Extensions.AI.OpenAI
  • Transitive floor alignment (NU1109 resolution)

    • Raised centrally managed transitive dependencies required by Microsoft.Extensions.AI 10.6.0:
      • Microsoft.Extensions.DependencyInjection.Abstractions10.0.8
      • Microsoft.Extensions.Logging.Abstractions10.0.8
      • Microsoft.Bcl.AsyncInterfaces10.0.8
      • System.Diagnostics.DiagnosticSource10.0.8
      • System.Text.Json10.0.8
      • System.Threading.Channels10.0.8
  • Explicit reference consistency

    • Updated the pinned sample reference in
      dotnet/samples/02-agents/AgentWithRAG/AgentWithRAG_Step05_Neo4jGraphRAG/AgentWithRAG_Step05_Neo4jGraphRAG.csproj:
      • Microsoft.Extensions.AI.OpenAI 10.4.010.6.0
  • Merge Gatekeeper ignore list update

    • Updated .github/workflows/merge-gatekeeper.yml to add review to IGNORED_NAMES.
    • This prevents external/non-repo review check failures (Failing checks: review) from blocking merges.
  • Representative change snippets

<PackageVersion Include="Microsoft.Extensions.AI" Version="10.6.0" />
<PackageVersion Include="Microsoft.Extensions.AI.OpenAI" Version="10.6.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.8" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.8" />
IGNORED_NAMES: "CodeQL,CodeQL analysis (csharp),Cleanup artifacts,Agent,Prepare,Upload results,review"

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI self-assigned this May 28, 2026
Copilot AI review requested due to automatic review settings May 28, 2026 12:53
Copilot AI review requested due to automatic review settings May 28, 2026 12:53
@rogerbarreto
Copy link
Copy Markdown
Member

@copilot Please consider bumping the OpenAI package also to 2.10.0 as part of this change.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 28, 2026

@copilot Please consider bumping the OpenAI package also to 2.10.0 as part of this change.

OpenAI is already set to 2.10.0 in /tmp/workspace/microsoft/agent-framework/dotnet/Directory.Packages.props (<PackageVersion Include="OpenAI" Version="2.10.0" />). No additional package bump was needed.

Copilot AI requested a review from rogerbarreto May 28, 2026 12:57
@rogerbarreto rogerbarreto marked this pull request as ready for review May 28, 2026 14:32
Copilot AI review requested due to automatic review settings May 28, 2026 14:32
@moonbox3 moonbox3 added the .NET label May 28, 2026
@github-actions github-actions Bot changed the title Bump Microsoft.Extensions.AI packages to 10.6.0 and align transitive dependency floor .NET: Bump Microsoft.Extensions.AI packages to 10.6.0 and align transitive dependency floor May 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 the repo’s .NET package graph to consistently resolve Microsoft.Extensions.AI.* at 10.6.0 and raises a handful of centrally-managed transitive “floor” packages to prevent restore downgrade/conflict errors.

Changes:

  • Bumped centrally-managed Microsoft.Extensions.AI* packages to 10.6.0 in dotnet/Directory.Packages.props.
  • Raised centrally-managed transitive dependency floors (e.g., System.Text.Json, DiagnosticSource, *.Abstractions) to 10.0.8 to align with the new AI package line.
  • Updated the one sample project that opts out of central package management to explicitly reference Microsoft.Extensions.AI.OpenAI 10.6.0.

Reviewed changes

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

File Description
dotnet/samples/02-agents/AgentWithRAG/AgentWithRAG_Step05_Neo4jGraphRAG/AgentWithRAG_Step05_Neo4jGraphRAG.csproj Updates the sample’s explicit Microsoft.Extensions.AI.OpenAI reference to match the repo’s intended 10.6.0 baseline.
dotnet/Directory.Packages.props Bumps Microsoft.Extensions.AI.* to 10.6.0 and aligns centrally pinned transitive dependency versions to avoid restore conflicts.

@rogerbarreto
Copy link
Copy Markdown
Member

@copilot Please create another PR skipping the TestServerWithDevUI_ResolvesWorkflows_WithKeyedAndDefaultRegistrationAsync flacky test and also create a reference issue to track this to bring it back with consistent behavior.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 28, 2026

@rogerbarreto I've opened a new pull request, #6159, to work on those changes. Once the pull request is ready, I'll request review from you.

@rogerbarreto
Copy link
Copy Markdown
Member

@copilot Ok and what is the quarantine issue number?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 28, 2026

@copilot Ok and what is the quarantine issue number?

The quarantine tracking issue is #5845: #5845

@rogerbarreto rogerbarreto enabled auto-merge May 29, 2026 16:55
@rogerbarreto
Copy link
Copy Markdown
Member

@copilot Please update the Merge GateKeeper to also ignore the REVIEW check Failing checks: review this is happening outside of the boundaries of this repository.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 29, 2026

@copilot Please update the Merge GateKeeper to also ignore the REVIEW check Failing checks: review this is happening outside of the boundaries of this repository.

Implemented in 724060c. Merge Gatekeeper now ignores the external review check by adding it to IGNORED_NAMES, so Failing checks: review won’t block merges.

Copilot AI changed the title .NET: Bump Microsoft.Extensions.AI packages to 10.6.0 and align transitive dependency floor .NET: Bump Microsoft.Extensions.AI packages to 10.6.0, align transitive dependency floor, and update Merge Gatekeeper ignores May 29, 2026
@rogerbarreto rogerbarreto added this pull request to the merge queue May 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 29, 2026
@rogerbarreto rogerbarreto added this pull request to the merge queue May 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 29, 2026
@rogerbarreto rogerbarreto added this pull request to the merge queue Jun 5, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants