Repository navigation
agentHost: bump Copilot SDK to 1.0.31-preview.1 - #347239
Merged
roblourens merged 5 commits intoNov 10, 2026
Merged
Conversation
Keep desktop and remote SDK/runtime pins aligned, including the SDK's new lossless-json dependency. This candidate remains blocked by local integration acceptance failures. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The SDK/runtime update regresses root stdio MCP startup on macOS arm64, causing the unchanged host test to time out waiting for Ready while the baseline passes.
1 open issue
2 files not reviewed
pnpm-lock.yaml: Generated fileremote/pnpm-lock.yaml: Generated file
What changed in this PR
Updates the Copilot SDK bundled with VS Code’s desktop and remote Agent Host. The PR remains a blocked draft, with no production workarounds or test changes included.
Changes:
- Advances the SDK to
1.0.31-preview.0and matching runtime to1.0.109-0in both dependency roots. - Updates SDK and platform-package lockfile entries and adds
[email protected].
| File | Description |
|---|---|
remote/pnpm-lock.yaml |
Updates remote SDK resolutions and adds the new transitive dependency. |
remote/package.json |
Advances remote SDK and runtime pins. |
pnpm-lock.yaml |
Updates desktop SDK resolutions and adds the new transitive dependency. |
package.json |
Advances desktop SDK and runtime pins. |
Review effort: Balanced
The runtime no longer cold-loads MCP when an OAuth listener is registered. Exercise first-turn server loading before checking readiness, retaining the original capture and exact tool-result assertion. Co-authored-by: Copilot <[email protected]>
Regenerate assisted read/write captures for the runtime's retained-permission wording, preserving real tool and one-time approval assertions. Expect safe PowerShell output to use the read-only fast path unless managed policy requires approval. Co-authored-by: Copilot <[email protected]>
Use SDK 1.0.31-preview.1 with runtime 1.0.109-1 and regenerate the runtime-owned sandbox CIDR schema contract. Co-authored-by: Copilot <[email protected]>
Resolve the lockfile conflict by retaining the upstream workspace graph and the exact Copilot SDK 1.0.31-preview.1 resolutions. Co-authored-by: Copilot <[email protected]>
roblourens
marked this pull request as ready for review
November 10, 2026 17:30
roblourens
enabled auto-merge (squash)
November 10, 2026 17:30
Vritant Bhardwaj (vritant24)
approved these changes
Nov 10, 2026
Megan Rogge (meganrogge)
approved these changes
Nov 10, 2026
roblourens
deleted the
roblou/agents/bump-copilot-sdk-version-6fcbe68f
branch
November 10, 2026 17:44
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.

Updates the bundled Copilot SDK from
1.0.30-preview.0to1.0.31-preview.1and its matching runtime from1.0.108-0to1.0.109-1, for desktop and remote.Required acceptance passed; PR is ready with squash auto-merge enabled, awaiting repository approval requirements. Final revision:
70b8e116148c7a68e7320c6d1c3e929b3d383e85. GitHub CI, both fresh Azure SDK Validation builds, and all four separate assembled-app Linux dependency checks passed. The previous.0candidate's publication problem is avoided by advancing to the next published preview; its test/CI results are historical, not acceptance for.1.Change ledger
package.json,remote/package.json1.0.30-preview.0→1.0.31-preview.1; runtime1.0.108-0→1.0.109-1pnpm-lock.yaml,remote/pnpm-lock.yaml[email protected]src/vs/platform/agentHost/test/node/e2e/suites/copilotCoverageSuite.tsReadynotificationROOT_MCP:7:unsetresult remain asserted, original fixture unchangede2e/captures/copilotcli-managed-{read,write}-approval-remains-one-time-under-assisted.yamlfilessrc/vs/platform/agentHost/test/node/providerIntegration/copilotManagedPermissions.integrationTest.tsWrite-Outputwithout a managed ask, matching POSIXechosrc/vs/platform/agentHost/test/node/__snapshots__/Copilot_SDK_-_managed_settings_bundled_managedSettings_schema_matches_the_snapshot.schema.jsonsrc/vs/platform/agentHost/test/node/e2e/README.mdMerged current main because GitHub explicitly reported merge conflicts and did not start PR workflows. The only conflict was the root lockfile: upstream workspace additions and exact
.1SDK integrities were both retained. Upstream changes are not additional changes in this PR's final diff.Compatibility assessment
The root MCP behavior was isolated with old/new SDK/native cross-pairing and controlled create/listener/explicit-load probes. github/copilot-agent-runtime#36782, by
examon, merged November 8, intentionally stops OAuth listener registration from cold-loading the MCP graph. Both runtimes stay lazy on create; only the old runtime starts MCP on listener registration; explicit loading returns the real tool inventory with both. This is a semantic comparison, not a parent/child binary bisect. The test had waited for readiness before any legitimate startup demand; its existing first turn is now that demand.Permission fixture changes follow github/copilot-agent-runtime#36726 and github/copilot-agent-runtime#36362. Safe
Write-Outputfollows the fail-closed read-only script analyzer in github/copilot-agent-runtime#35468, by Tamás Szabó. No permission decision is reimplemented or bypassed in VS Code.Inspected shipped runtime revisions: baseline
0b6fd711aceb7d1b08736913111176774483cce6;.0preview4b31d4a627f994e211f8239bce4d352e7506bab6;.1preview6bbff9d354a12fec60642daefce48628722b4ae6. These identify shipped inputs, not introducing commits. Complete file inventories were collected; semantic patch review prioritized SDK contracts, permissions/sandbox/authentication, extension bootstrap, model/turn/history lifecycle, MCP, telemetry, and packaging, rather than claiming every patch was reviewed.The
.1Node SDK changes are additive: optional tool titles/canvas icons, raw-event/analytics APIs, automation provenance, and opt-in module extension initialization. Extensions without a valid opt-in sidecar remain eager. Existing direct canvas lifecycle, full-host project-extension/canvas, policy lockdown, and real native permission/lifecycle tests pass. No model prompt baseline, tool allow-list, authored-text normalization, deadline, or existing gate is changed.The new opt-in module extension's
dormantstatus uses the host's existingunknownfallback until activation; this upgrade does not add a new AHP status or claim dedicated coverage for that new initialization mode. Existing eager extensions and their native bootstrap/canvas paths remain covered.Current acceptance evidence
Repository install/build/test wrapper commands use Node
24.22.1and pinned pnpm12.16.0. Standalone inspection/native-probe helpers also used the machine's Node24.18.0; those do not install or override workspace dependencies. SDK/runtime inputs are.1unless explicitly labeled historical.pnpm_config_frozen_lockfile=true pnpm install --frozen-lockfilepnpm install --lockfile-only --frozen-lockfile --ignore-scripts;pnpm -C remote install --lockfile-only --frozen-lockfile --ignore-scriptspnpm run typecheck-client;pnpm run build-fast --client-onlypnpm run gulp --tasks-simple;node --test build/lib/test/copilot.test.tsAGENT_HOST_TEST_PROFILE=full ./scripts/test-integration.sh --runGlob '**/agentHost/test/node/{copilotSdk*,providerIntegration/*,e2e/providers/copilotPromptsE2E,e2e/providers/codexAgentHostLive,e2e/providers/copilotManagedSettingsAgentHostE2E}.integrationTest.js'env -u COPILOT_HOME ./scripts/test.sh --run src/vs/platform/agentHost/test/node/copilotAgent.test.ts --run src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts --run src/vs/platform/agentHost/test/node/copilotAgentStartupConfig.test.ts --run src/vs/platform/agentHost/test/node/copilotSessionLauncher.test.ts --run src/vs/platform/agentHost/test/node/copilotRuntimePaths.test.ts --run src/vs/platform/agentHost/test/node/copilotSdkChatError.test.ts --run src/vs/platform/agentHost/test/node/copilotRepositoryPluginSettings.test.tsAGENT_HOST_TEST_PROFILE=full caffeinate -i pnpm run test-agent-host-e2e --jobs 2.1also passed all ten processes in 453.9 seconds, but is not substituted for final acceptance.All 51 integration entrypoints were reclassified after the merge: 6 complete-runner files, 26 supplemental, 19 individually explained outside-default-scope files. Six credentialed Codex live tests and one pre-existing managed-model variant remain skipped; this is not live-provider validation.
The only new
.1discovery failure was the managed schema snapshot. Its exact upstream CIDR/resolved-address delta was reviewed, generated withAGENT_HOST_UPDATE_AHP_SNAPSHOTS=1, refreshed into output, and passed strict replay without update flags. No.1model captures required rerecording.Native preflight covers all eight platform payloads, with all nine package archives hash-verified. Required payload file sets are unchanged from
.0; Windows x64/arm64 PE imports and floors, Linux x64/arm64 GLIBC ceiling2.28, and macOS x64/arm64 deployment floors/signing identity remain unchanged. The production RPM calculator emits real ELF requirements for both SDK runtime add-ons and finds none outside the checked-in references. This is not assembled-application installer acceptance.An exact
.1native-SDK loopback collector check with a synthetic local model and default batch scheduling passed both normal export and shutdown before the first batch. Each produced 96 spans, actual session correlation, configured service identity from the raw OTLP payload, and disabled content capture. Packaged Agent Host managed/warm-policy checks run separately in the full OTel suite.Completed cross-platform acceptance
gh run watchcalls encountered connection resets; direct workflow results confirmed success, not test retries.70b8e116148c7a68e7320c6d1c3e929b3d383e85, with canary defaultsnone/auto. Both compiled every Windows x64/arm64, Linux x64/arm64/armhf, and macOS x64/arm64 target, and actually executed Full-profile E2E on Windows x64, Linux x64, and macOS arm64. The macOS E2E job uses its separate CI-mode build. Both logs explicitly confirm successful root-MCP and assisted one-time read/write cases; these are two fresh executions per platform, not checkpoint reuse. Pre-merge build 494730 was canceled as obsolete once the merge prerequisite was established.node .build/preview1-validation/run-linux-deps.ts x64andnode .build/preview1-validation/run-linux-deps.ts arm64invoke the unchangedbuild/linux/dependencies-generator.tsgetDependenciesfordeb(amd64/arm64) andrpm(x86_64/aarch64). Inputs are the exactcompilation_linux_{x64,arm64}applications from build 494758, verified final commit, actual packaged SDK/runtime.1metadata and matching native runtime hashes, all 14 native modules per app, main/sandbox/crashpad binaries, and real matching native tunnel CLIs. Production product configuration and verified Chromium/VS Code sysroots are used; the reference mismatch guard remains fatal. Results: x64 DEB 38 / RPM 99 requirements; arm64 DEB 38 / RPM 93 requirements.Pipeline 720 does not produce Linux CLI artifacts, so these checks built both real CLIs from the final source revision with the official production crypto features and exact dependency sources/prebuilds, using the glibc-2.28 GCC-10.5 toolchains. Their product configuration matches the pipeline's resolved resource, both execute and report the final source commit, and both retain the GLIBC 2.28 ceiling. This is assembled-application dependency acceptance, not installer archive generation, installation, or signing.
Linux totals include the complete tmpfs pass plus 18 required disk-backed persistence/lifecycle executions. Windows's larger pending count reflects existing platform gates; this PR adds none.
The first merged-input
.1full run failed two Copilot timeouts while the Mac entered maintenance sleep for 710 seconds. Native and host logs stop across that exact interval; the system sleep log confirms its timing. Both unchanged cases passed together in a fresh process (13 seconds). The complete run then passed with process-scoped idle-sleep prevention; the isolated retry is not counted as full acceptance, and no assertion/deadline was changed.Historical
.0investigation included a failed full run (MCP setup, incidental ping snapshot traffic, stale retained-permission wording) and an owner cleanup timeout. Those were diagnosed before the.0local suites and GitHub CI passed. Azure.0remained blocked by the exact package publication; those outcomes are not reused for.1.No distribution-package generation, signing, Alpine, Web, universal macOS, full artifact sanity, or untested credentialed live-model behavior is claimed. Squash auto-merge preserves repository approval and check requirements.
(Written by Copilot)