Repository navigation
agentHost: bump Copilot SDK to 1.0.24-preview.0 - #342779
Merged
roblourens merged 2 commits intoOct 20, 2026
Merged
Conversation
Align desktop and remote SDK/runtime pins. Regenerate the runtime-managed schema and match the synthetic image catalog to the runtime's renamed image model.\n\nKeep reasoning-effort assertions unchanged: local acceptance is blocked by candidate-only managed-default readiness and Auto reasoning behavior changes. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Reported native inference-tracing loss, Auto reasoning rejection, and permission replay failures remain unresolved.
3 open issues
1 file not reviewed
remote/package-lock.json: Generated file
What changed in this PR
Updates the desktop and remote Agent Host to Copilot SDK 1.0.24-preview.0 and runtime 1.0.101-0. This remains a blocked draft upgrade.
Changes:
- Synchronizes SDK, runtime, and platform-package pins across both dependency roots.
- Refreshes the runtime-owned managed-settings schema snapshot.
- Updates the synthetic image-model catalog for runtime compatibility.
| File | Description |
|---|---|
src/vs/platform/agentHost/test/node/providerIntegration/copilotImageGeneration.integrationTest.ts |
Updates the synthetic image-model ID. |
src/vs/platform/agentHost/test/node/__snapshots__/Copilot_SDK_-_managed_settings_bundled_managedSettings_schema_matches_the_snapshot.schema.json |
Adds the image-attachment setting and updates permission wording. |
remote/package.json |
Updates remote SDK/runtime pins. |
remote/package-lock.json |
Locks matching remote SDK/platform packages. |
package.json |
Updates desktop SDK/runtime pins. |
package-lock.json |
Locks matching desktop SDK/platform packages. |
Review effort: Balanced
Work around native discovery event publication blocking inference spans. Await catalog readiness for created and resumed chats, preserving launch failure cleanup and client plugins. Cover startup readiness and failures, model-catalog validation, supported Auto routing effort, and regenerated Assisted permission-history recordings without weakening tool or filesystem assertions. Co-authored-by: Copilot <[email protected]>
roblourens
marked this pull request as ready for review
October 20, 2026 21:59
roblourens
enabled auto-merge (squash)
October 20, 2026 21:59
Don Jayamanne (DonJayamanne)
approved these changes
Oct 20, 2026
Justin Chen (justschen)
approved these changes
Oct 20, 2026
Don Jayamanne (DonJayamanne)
approved these changes
Oct 20, 2026
roblourens
deleted the
roblou/agents/bump-copilot-sdk-version-bbaab2a6
branch
October 20, 2026 22:03
Justin Chen (justschen)
added a commit
that referenced
this pull request
Oct 20, 2026
…ion-model-setting Picks up the Copilot SDK 1.0.24-preview.0 bump (#342779), whose bundled runtime serves GPT Image 2.5 Flare. Co-authored-by: Copilot <[email protected]>
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.

Upgrade desktop and remote to
@github/[email protected]/ runtime1.0.101-0, from1.0.23-preview.5/1.0.100-1.Validated; kept draft for maintainer review. Complete local acceptance, all applicable GitHub workflows, and the full nonpublishing Azure Product build passed with a temporary host-side workaround for github/copilot-agent-runtime#27963. This is not a claim that the runtime defect is fixed upstream or that the retained known gaps below are resolved.
Current source:
b02fe3e1d9834c2050c8a939886881d952ce4890.Change ledger — all 15 files
1.0.23-preview.5→1.0.24-preview.0; runtime1.0.100-1→1.0.101-0; regenerated SDK and 8 optional platform entries in each locksrc/vs/platform/agentHost/node/copilot/copilotSessionLauncher.tsraw.rpc.agent.list()in shared create/resume finalization, inside the existing launch-error cleanup boundarysrc/vs/platform/agentHost/test/node/copilotSessionLauncher.test.tssrc/vs/platform/agentHost/test/node/copilotAgent.test.tsagent.list()test/node/__snapshots__/requireBase64ImageAttachments, highest-layer-wins composition; clarify Assisted Permissions description as reducing confirmation dialogsproviderIntegration/copilotAutoTier.integrationTest.tsproviderIntegration/copilotLocalModel.integrationTest.tshighand Off→minimal→enable_thinking:false; Auto now asserts routed defaultmedium; separate test asserts session-level Auto effort is rejected before routingproviderIntegration/copilotImageGeneration.integrationTest.tsgpt-image-2.5-sunburst→gpt-image-2.5-flaretest/node/e2e/captures/:copilotcli-managed-{read-approval-remains-one-time,write-approval-remains-one-time,write-denial-prevents-mutation}-under-assisted.yaml[tool_call]/[tool_call -> success]; later approvals include structured runtime-owned settlement/provenance records; fresh assistant/judge wording recordedtest/node/e2e/README.mdNo prompt-model set, model-facing tool allow-list, eager tool budget, prompt snapshot, request normalizer, stale-request exception, expected-failure marker, or test gate was changed. No upstream merge is included.
Runtime defect and workaround boundary
The exact candidate runtime loses native
chat/invoke_agentspans whenenableConfigDiscovery:trueand explicitpluginDirectoriesare combined—even with an empty list. A real plugin directory also fails. The turn itself still succeeds, and startup/timing spans arrive.github/copilot-agent-runtime#27963 contains the complete SDK-only 150-line reproduction, positive/negative controls, exact native-binary comparison, and immutable source trace. Holding the candidate Node SDK fixed while replacing only native runtime
1.0.101-0with1.0.100-1makes both failing scenarios pass. This establishes native-runtime ownership independently of VS Code.The source trace points to plugin invalidation exposing a first-turn discovery call that discards returned event envelopes. Their unresolved publication reservation blocks ordered event observers, including OTel.
agent.list()before the first turn forwards the catalog events through the public SDK path and prevents that lazy reload.The workaround is not telemetry-only and does not manufacture spans: the broken boundary is ordered native event publication. It preserves plugin/configuration discovery and does not disable a feature to get green tests. Its additional startup RPC and failure boundary are explicit. Remove it only after a fixed runtime passes discovery + explicit-plugin telemetry scenarios without the preload.
Local acceptance
Final runtime inputs are SDK
1.0.24-preview.0, runtime1.0.101-0; host production/test changes and generated resources correspond to the current source above. A post-validation formatting correction only expanded a test getter; no runtime behavior changed.Root
npm installpassed, including nested remote install. Both manifests, lockfiles, installed SDK metadata and all 8 optional platform pins agree; no unrelated dependency entries changed.AGENT_HOST_TEST_PROFILE=full npm run test-agent-host-e2e -- --jobs 2passed all 6 suites in 639.8 seconds:All supplemental entrypoints passed together: 127 passed, 7 existing pending.
AGENT_HOST_TEST_PROFILE=full VSCODE_SKIP_PRELAUNCH=1 ./scripts/test-integration.sh --runGlob \ '**/agentHost/test/node/{copilotSdk*,providerIntegration/*,e2e/providers/copilotPromptsE2E,e2e/providers/codexAgentHostLive}.integrationTest.js'This includes every direct SDK contract, all synthetic-provider suites, all 19 prompt-model cases plus skill-budget/formatting cases, and the separately gated Codex live entrypoint. The inventory accounts for 6 complete-runner, 22 supplemental, and 19 specifically classified outside-default-scope entrypoints.
SDK-owning unit acceptance: 2,300 passed, 1 existing Windows-only pending.
env -u COPILOT_HOME VSCODE_SKIP_PRELAUNCH=1 ./scripts/test.sh --runGlob \ '**/agentHost/test/node/{copilotAgent,copilotAgentSession,copilotAgentStartupConfig,copilotSessionLauncher,serverToolGroups,toolSearchDeferral,providerTestEnvironment}.test.js'npm run typecheck-client, changed-TypeScriptnpm run eslint -- ...,npm run valid-layers-check, andnpm run check-cyclic-dependenciespassed.npm run gulp -- --tasks-simplepassed the production runtime-pin guard;node --test build/lib/test/copilot.test.tspassed 30 tests. These inputs are unchanged from the successful first upgrade round.npm run build-fast -- --client-onlyprepared runtime tests; Electron was prepared once and reused.Signed commit's hygiene hook passed. Its first attempt caught a test-getter formatting error, corrected without bypassing hooks/signing.
Native SDK-only preload checks passed with default batching and with a 60-second batch interval plus immediate graceful shutdown: one real conversation-correlated inference span reached the local collector in both arms. These prove native default/pre-batch shutdown delivery in the diagnostic, not a broad production latency guarantee.
Failed attempts, recordings, and retained gaps
Historical unadapted candidate results were failures, not acceptance: direct schema mismatch; supplemental 113 passed/7 pending/3 failed; managed/OTel owning batch 8 passed/21 failed. Controlled actual-baseline comparisons passed where the unadapted candidate failed. The original macOS/Linux/Windows GitHub checks failed before the workaround/adaptations.
The initial concurrent supplemental launch failed before discovery on Electron's shared crash directory; unchanged serial retry ran tests. No product change was made for that launch failure.
Discovery of the new production preload first exposed missing
agent.list()in test doubles and new mock typing errors; fixed at the doubles, without an optional production call.Exactly the three affected Assisted fixtures were regenerated using:
AGENT_HOST_TEST_PROFILE=full AGENT_HOST_REPLAY_RECORD=1 VSCODE_SKIP_PRELAUNCH=1 \ ./scripts/test-integration.sh --run src/vs/platform/agentHost/test/node/e2e/providers/copilotManagedSettingsAgentHostE2E.integrationTest.ts \ --grep 'under assisted$'Recording: 3 passed. The subsequent complete strict deterministic run passed the entire owning managed-settings suite, without recording/update flags. Generated files were not hand-edited.
Existing strict expected failures remain accountable: historical binary Git-blob transport, Codex mixed-content MCP decoding, and native Copilot inherited-identity redaction. Passing those markers is not a fix for those defects.
Supplemental pending cases are six gated live Codex scenarios and strict managed-model resume for github/copilot-agent-runtime#26739. The unsupported-effort characterization for github/copilot-agent-runtime#26681 still characterizes the old limitation; this upgrade does not claim to fix it.
Paid/live model behavior is not generally established by replay. Focused live recording was limited to the three Assisted scenarios. No new skips were introduced.
Release provenance and native preflight
7d20899fc4c8b13a405aa621066e75a9e78e04cd.ed4bc1ffe4b9b2fbe2548be0e7472b74d18092ce.SystemConfigurationframework, retains minimum-OS load commands, and changed binaries retain verified GitHub Team ID signatures.Final-revision CI / Product acceptance — passed
All applicable GitHub workflows passed for source
b02fe3e1d9834c2050c8a939886881d952ce4890: Code OSS, CodeQL, Component Fixtures, Monaco Editor checks, and Telemetry. Actual Agent Host E2E and Electron integration steps passed in the Windows, Linux, and macOS jobs; these were not skipped.Full nonpublishing Azure Product build 487016 completed with overall
succeededat2026-10-20T20:05:37Z, for exact source SHAb02fe3e1d9834c2050c8a939886881d952ce4890. It was queued after full local acceptance. Verified manual build reason,VSCODE_BUILD_TYPE=Product,VSCODE_PUBLISH=false,VSCODE_RELEASE=false,VSCODE_STEP_ON_IT=false, andVSCODE_RUN_ARTIFACT_SANITY_TESTS=true.All shipping architecture parameters are enabled: Windows x64/arm64; Linux x64/arm64/armhf, Snap; Alpine x64/arm64; macOS x64/arm64/universal; Web. Manual reason + Product selects effective
VSCODE_CIBUILD=false; release packaging stages must actually run.Packaged Product tests passed on Windows x64, Linux x64, and macOS arm64: actual Agent Host E2E and Electron integration tasks succeeded on all three. Product E2E log IDs: Windows
4482, Linux3488, macOS2771; integration: Windows3981, Linux3620, macOS3321. These are fresh first-attempt executions, not reused test-pass checkpoints. Combined with same-SHA GitHub, lifecycle-sensitive coverage has two real executions per supported platform. Linux Product logs show all six suites passing in both tmpfs and required disk-backed lifecycle passes.Linux release dependency-reference/packaging preparation passed: DEB and RPM preparation succeeded on x64 (logs
3131/3190), arm64 (2833/2877), and armhf (2418/2443). Static binary preflight is no longer the only evidence for this boundary.All 18 Product stages succeeded, including release distribution packaging, signing/notarization and the four artifact-sanity stages. The build published 48 final client/server/web/CLI package artifacts internally; release/update-service publication and release were disabled.
All signing/notarization/sanity tasks were enabled; none were skipped by nonpublishing mode. The existing macOS x64 sanity job is explicitly the “no runtime” profile, not a claim of x64 E2E execution.
Azure's Quality notice-generation API call initially failed, then succeeded through the existing task retry; the final task and Quality job passed. This was an external-service retry, not a product-code or assertion change.
Initial Product attempt failed at macOS arm64 artifact sanity, after signing tasks and every packaged E2E/integration task had passed. Gatekeeper rejected the server Copilot shim and a bundled-extension ripgrep binary as
Unnotarized Developer ID(log5475). Exact downloaded, unmodified copies subsequently passed the identicalspctl --assess --type open --context context:primary-signaturecommand locally withNotarized Developer IDand valid Microsoft signatures. Only the failed macOS arm64 sanity job was retried against the same artifacts (ArtifactSanityTestsMacOSstage attempt 2,forceRetryAllJobs=false,retryDependencies=false). The retry passed all 5 sanity cases, including the exact shim/ripgrep notarization checks (log5539), and the overall Product build then succeeded. Notarization propagation/worker state is suspected, not proven. No signing assertion, binary, dependency, or source changed for the retry. The successful core E2E/integration executions were not rerun or counted again because of this artifact-only retry.Acceptance gates passed for the final revision. Keep this PR draft for maintainer review of the temporary workaround, the explicit Auto API-contract adaptation, and the retained known/live-only gaps.
(Written by Copilot)