Skip to content

.NET: Updated Copilot SDK to the latest version#4406

Merged
dmytrostruk merged 2 commits intomicrosoft:mainfrom
dmytrostruk:dotnet-update-copilot-sdk
Mar 3, 2026
Merged

.NET: Updated Copilot SDK to the latest version#4406
dmytrostruk merged 2 commits intomicrosoft:mainfrom
dmytrostruk:dotnet-update-copilot-sdk

Conversation

@dmytrostruk
Copy link
Member

Motivation and Context

Resolves: #4379

Updated GitHub.Copilot.SDK to 0.1.29 and resolved compatibility with the latest SDK changes.

  • Bumped the central package version in Directory.Packages.props.
  • Updated Copilot unit tests to use PermissionRequestHandler (replacing the old PermissionHandler delegate usage).

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.

@dmytrostruk dmytrostruk self-assigned this Mar 2, 2026
Copilot AI review requested due to automatic review settings March 2, 2026 23:25
Copy link
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 .NET GitHub Copilot adapter’s dependency baseline to align with the latest GitHub.Copilot.SDK, addressing the binary-breaking permission handler change that caused runtime MissingMethodExceptions.

Changes:

  • Bump central package version for GitHub.Copilot.SDK to 0.1.29.
  • Update Copilot unit tests to use PermissionRequestHandler in place of the previous handler type.

Reviewed changes

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

File Description
dotnet/Directory.Packages.props Updates the centrally-managed GitHub.Copilot.SDK version to 0.1.29.
dotnet/tests/Microsoft.Agents.AI.GitHub.Copilot.UnitTests/GitHubCopilotAgentTests.cs Adjusts unit tests to match the updated SDK permission request handler API.

@dmytrostruk dmytrostruk enabled auto-merge March 2, 2026 23:37
@dmytrostruk dmytrostruk added this pull request to the merge queue Mar 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 3, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue Mar 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 3, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue Mar 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 3, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue Mar 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 3, 2026
@dmytrostruk dmytrostruk enabled auto-merge March 3, 2026 23:19
@dmytrostruk dmytrostruk added this pull request to the merge queue Mar 3, 2026
Merged via the queue into microsoft:main with commit 5ba1c6f Mar 3, 2026
19 checks passed
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.

.NET: [Bug]: MissingMethodException in GitHubCopilotAgent.CopySessionConfig when using GitHub.Copilot.SDK >= 0.1.24

6 participants