fix(deps): bump Copilot SDK to 1.0.11 with compatible MAF adapter - #898
Merged
Conversation
GitHub.Copilot.SDK 1.0.2 -> 1.0.11 could not be bumped on its own:
GitHub.Copilot.SDK became strong-named in 1.0.4 (PublicKeyToken null ->
cc7b13ffcd2ddd51), while Microsoft.Agents.AI.GitHub.Copilot 1.11.1-rc1 was
compiled against the unsigned SDK and records an assembly reference of
'GitHub.Copilot.SDK, Version=1.0.0.0, PublicKeyToken=null'. A weakly-named
reference cannot bind to a strong-named definition, so the SDK-only bump
failed with CS0012 ("The type 'CopilotClient' is defined in an assembly that
is not referenced") in Agentweaver.AgentRuntime.
This was not plain assembly-version drift: SDK 1.0.3 still builds against the
old adapter, and the break appears exactly at 1.0.4 where signing was
introduced.
Bump Microsoft.Agents.AI.GitHub.Copilot 1.11.1-rc1 -> 1.19.0, which is built
against the signed SDK, and refresh the affected lock files. The adapter's
public type surface is unchanged between the two versions and the repo never
constructs MAF's GitHubCopilotAgent directly, so no source changes are needed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
GitHub.Copilot.SDK 1.0.11 introduces GitHub.Copilot.Rpc.RunOptions, which collides with the existing Agentweaver.Domain.RunOptions record in CopilotAutoApproveTests.cs (CS0104). Add a using alias pinning the identifier to the Agentweaver domain type. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
sabbour
enabled auto-merge (squash)
August 25, 2026 12:04
sabbour
added a commit
that referenced
this pull request
Aug 25, 2026
* fix(deps): bump Copilot SDK to 1.0.11 with compatible MAF adapter
GitHub.Copilot.SDK 1.0.2 -> 1.0.11 could not be bumped on its own:
GitHub.Copilot.SDK became strong-named in 1.0.4 (PublicKeyToken null ->
cc7b13ffcd2ddd51), while Microsoft.Agents.AI.GitHub.Copilot 1.11.1-rc1 was
compiled against the unsigned SDK and records an assembly reference of
'GitHub.Copilot.SDK, Version=1.0.0.0, PublicKeyToken=null'. A weakly-named
reference cannot bind to a strong-named definition, so the SDK-only bump
failed with CS0012 ("The type 'CopilotClient' is defined in an assembly that
is not referenced") in Agentweaver.AgentRuntime.
This was not plain assembly-version drift: SDK 1.0.3 still builds against the
old adapter, and the break appears exactly at 1.0.4 where signing was
introduced.
Bump Microsoft.Agents.AI.GitHub.Copilot 1.11.1-rc1 -> 1.19.0, which is built
against the signed SDK, and refresh the affected lock files. The adapter's
public type surface is unchanged between the two versions and the repo never
constructs MAF's GitHubCopilotAgent directly, so no source changes are needed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
* fix(tests): disambiguate RunOptions after Copilot SDK 1.0.11 bump
GitHub.Copilot.SDK 1.0.11 introduces GitHub.Copilot.Rpc.RunOptions, which collides with the existing Agentweaver.Domain.RunOptions record in CopilotAutoApproveTests.cs (CS0104). Add a using alias pinning the identifier to the Agentweaver domain type.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
---------
Co-authored-by: Cypher <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #876, which bumped
GitHub.Copilot.SDK1.0.2 → 1.0.11 on its own and failed CI with fiveCS0012errors inAgentweaver.AgentRuntime.Root cause
The failure is not assembly-version drift.
GitHub.Copilot.SDKbecame strong-named in 1.0.4:Version=1.0.2.0, PublicKeyToken=nullVersion=1.0.3.0, PublicKeyToken=nullVersion=1.0.4.0, PublicKeyToken=cc7b13ffcd2ddd51Version=1.0.11.0, PublicKeyToken=cc7b13ffcd2ddd51Microsoft.Agents.AI.GitHub.Copilot1.11.1-rc1 was compiled against the unsigned SDK — its metadata recordsGitHub.Copilot.SDK, Version=1.0.0.0, PublicKeyToken=nullplus a TypeRef toGitHub.Copilot.CopilotClient. Roslyn tolerates version drift for weakly-named references (CS1701/CS1702are in this build's/nowarnlist), which is why a1.0.0.0reference happily binds to1.0.2.0. A null-public-key reference can never bind to a strong-named definition, so the type becomes unreachable and the compiler reportsCS0012. The SDK is present on thecsc /referencelist — this is an identity-unification refusal, not a missing reference.Bisecting confirms the boundary is signing, not version:
Fix
Bump the adapter alongside the SDK. Adapter → SDK build matrix:
Microsoft.Agents.AI.GitHub.Copilotv1.0.0.0, PKT=nullv1.0.5.0, PKT=cc7b13ffcd2ddd51This PR moves to 1.19.0 — the latest stable, which also gets the package off an
-rc1prerelease.Why no source changes are needed
GitHubCopilotAgent's constructor (7 → 9 params). The repo never constructs it directly — everynew GitHubCopilotAgent…hit is Agentweaver's ownGitHubCopilotAgentRunner, andGitHubCopilotClientFactoryis defined inAgentweaver.AgentRuntime.Microsoft.Agents.AI.Abstractionsmoves 1.11.1 → 1.19.0 but keeps the same public key (f300afd708cefcd3), soMicrosoft.Agents.AI.Workflows1.11.1 unifies normally.WorkflowsandA2Aare deliberately left untouched to keep the change minimal.Lock files
The resolution delta is exactly three packages —
GitHub.Copilot.SDK,Microsoft.Agents.AI.GitHub.Copilot,Microsoft.Agents.AI.Abstractions— plus theagentweaver.agentruntimeproject entry. Nothing else in any graph shifts.Verification
dotnet restore --locked-modeonAgentweaver.AgentRuntimesucceeds → lock file is internally consistent.dotnet build Agentweaver.AgentRuntime→ Build succeeded, 0 errors, 0 warnings. The fiveCS0012errors are gone.GitHub.Copilot.SDK1.0.11contentHashmatches dependabot's nuget.org-generated value in chore(deps): Bump GitHub.Copilot.SDK from 1.0.2 to 1.0.11 #876 byte-for-byte.Follow-up
Once this merges, consider a Dependabot
ignoreguard is not needed any more — the adapter now tracks the signed SDK line, so futureGitHub.Copilot.SDKpatch bumps should resolve cleanly on their own. #876 can be closed.