Skip to content

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

Merged
Dmytro Struk (dmytrostruk) merged 2 commits into
microsoft:mainfrom
dmytrostruk:dotnet-update-copilot-sdk
Mar 3, 2026
Merged

.NET: Updated Copilot SDK to the latest version#4406
Dmytro Struk (dmytrostruk) merged 2 commits into
microsoft:mainfrom
dmytrostruk:dotnet-update-copilot-sdk

Conversation

@dmytrostruk

Copy link
Copy Markdown
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.

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

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
Dmytro Struk (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
Dmytro Struk (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
Dmytro Struk (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
Dmytro Struk (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
Dmytro Struk (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

.NET Usage: [Issues, PRs], Target: .Net

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