Repository navigation
chore: bump @github/copilot-sdk to 1.0.12-preview.0 and @github/copilot to 1.0.81-10 - #332645
vs-code-engineering[bot] wants to merge 4 commits into
Conversation
|
🏗️ Product build queued for cycle 1: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=467727 — validating the PR branch… |
There was a problem hiding this comment.
Pull request overview
Updates the Copilot SDK and CLI dependencies for both local and remote Agent Host environments.
Changes:
- Bumps
@github/copilot-sdkto1.0.12-preview.0. - Bumps
@github/copilotand platform packages to1.0.81-10. - Refreshes lockfiles and removes obsolete nested Copilot packages.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
package.json |
Updates root dependency versions. |
package-lock.json |
Locks updated root packages and integrity data. |
remote/package.json |
Updates remote dependency versions. |
remote/package-lock.json |
Locks updated remote packages and integrity data. |
Files not reviewed (1)
- remote/package-lock.json: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
❌ Product build against the PR branch — cycle 1:
|
SDK 1.0.12-preview.0 renamed setAllowAll->setMode, autoApproval->assistedApproval, PermissionAllowAllMode->PermissionMode (on/auto/off -> allow-all/assisted/manual), and added the extension-env-access permission kind. Co-authored-by: Copilot <[email protected]>
|
Commit pushed:
|
|
🏗️ Product build queued for cycle 2: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=467750 — validating the PR branch… |
|
❌ Product build against the PR branch — cycle 2:
|
Bumped @github/copilot native payload no longer requires libm.so.6(GLIBC_2.27) on x86_64/aarch64; the reference rpm dep lists diverged from generated deps, failing 'Prepare rpm package' per product build 467750. Co-authored-by: Copilot <[email protected]>
|
Commit pushed:
|
|
⏸️ Product build stopped before queueing. This PR changes build/packaging files that the product pipeline executes with production credentials. A repository collaborator must review the changes, then comment this exact command on the PR to authorize a build of commit
Changed build/packaging files: Inspection run: https://github.com/microsoft/vscode-engineering/actions/runs/32911928662 |
|
/sdk-bump-approve-build cycle=3 head=100311e8b779f1c571f8e65dd72050cd63e41bdc branch=automation/bump-copilot-sdk-1.0.12-preview.0-cli-1.0.81-10 sdk=1.0.12-preview.0 cli=1.0.81-10 retry=0 base=99a352b1425cdfec98f4b2d95327b1479b4e8ed5 |
|
🏗️ Product build queued for cycle 3: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=467777 — validating the PR branch… |
|
❌ Product build against the PR branch — cycle 3:
|
…ojection CLI 1.0.81-10 now prepends a `<tools_changed_notice>` block to the user message when tools change between turns (e.g. `exit_plan_mode` is dropped after plan approval). The Agent Host E2E capture for planning-mode auto-approve predates this behavior, so capi-replay's request #5 no longer matched a live run against the newer CLI even though the host composed an identical turn. These change-notice blocks (`<tools_changed_notice>`, `<mode_changed_notice>`, `<working_directory_changed>`, `<additional_directories_changed>`) are composed by the `@github/copilot` runtime from session state, not host-authored prompt structure, so they belong in the projection's symmetric elision set alongside the model id and tool_result payload. Elision runs before path elision so the intact `</…>` closing tag is matched rather than being rewritten into a path placeholder first. Fixtures are not edited; the model-changes fixture that records a `<tools_changed_notice>` model-switch block strips symmetrically on both sides and still matches. Co-authored-by: Copilot <[email protected]>
|
Commit pushed:
|
|
🏗️ Product build queued for cycle 4: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=467805 — validating the PR branch… |
|
❌ Product build against the PR branch — cycle 4:
|
🔧 sdk-vscode-bump-fix — cycle 4: infrastructure failure, no integration fix appliesCompleted automated work (cycles 1–3, all held this build): SDK permission-API migration in agentHost, the stale Remaining human task — re-queue the product build (signing retry): The only genuine failure is the ✍️ Notarize task on macOS CLI (X64): The Scan sub-operation passed; only MacAppNotarize failed, with empty Recommended next action: Re-queue the product build for PR head cc
|
|
I wonder if the ESRP one is the company-wide limit thing. |
|
Closing this automated Copilot SDK/CLI bump PR: it has been open for more than a week and newer signed versions have since been targeted by |
Automated signed Copilot dependency bump.
@github/copilot-sdk:1.0.11→1.0.12-preview.0@github/copilot:1.0.81-0→1.0.81-10main@3d079185299158cc8c7428ea1ea67dfeb0e978c6Draft until validation passes. The
sdk-vscode-bump-fixagent will prime packaging changes from the canary insights and iterate on failures.Each product build triggered for this PR is posted as a comment below with a link.
Published package layout changes
Copilot published package layout diff
Best-effort path comparison from
npm pack --dry-run; CLI platform paths use representative x64 packages for macOS, Linux, and Windows. Content-only and architecture-specific changes are left to the product build. This is not an availability gate.@github/copilot-sdk1.0.11 → 1.0.12-preview.0No published path changes.
@github/copilot1.0.81-0 → 1.0.81-10No published path changes.
@github/copilot-darwin-x641.0.81-0 → 1.0.81-10plugins/computer-use/.release-targetprebuilds/darwin-x64/copilot-runtimeprebuilds/darwin-x64/copilot-runtime-binclipboard/index.jsclipboard/node_modules/@teddyzhu/clipboard-darwin-x64/README.mdclipboard/node_modules/@teddyzhu/clipboard-darwin-x64/clipboard.darwin-x64.nodeclipboard/node_modules/@teddyzhu/clipboard-darwin-x64/package.jsonclipboard/node_modules/@teddyzhu/clipboard/LICENSEclipboard/node_modules/@teddyzhu/clipboard/README.mdclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.node@github/copilot-linux-x641.0.81-0 → 1.0.81-10prebuilds/linux-x64/copilot-runtimeprebuilds/linux-x64/copilot-runtime-binclipboard/index.jsclipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/README.mdclipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard-linux-x64-gnu/package.jsonclipboard/node_modules/@teddyzhu/clipboard/LICENSEclipboard/node_modules/@teddyzhu/clipboard/README.mdclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.node@github/copilot-win32-x641.0.81-0 → 1.0.81-10plugins/computer-use/.release-targetprebuilds/win32-x64/copilot-runtime-bin.exeprebuilds/win32-x64/copilot-runtime.execlipboard/index.jsclipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/README.mdclipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/clipboard.win32-x64-msvc.nodeclipboard/node_modules/@teddyzhu/clipboard-win32-x64-msvc/package.jsonclipboard/node_modules/@teddyzhu/clipboard/LICENSEclipboard/node_modules/@teddyzhu/clipboard/README.mdclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-arm64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.darwin-x64.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-arm64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.linux-x64-gnu.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-arm64-msvc.nodeclipboard/node_modules/@teddyzhu/clipboard/clipboard.win32-x64-msvc.nodeSDK/CLI bump integration — fix cycle 1
Pair: SDK
1.0.12-preview.0+ CLI1.0.81-10(exact signed pair).Root cause (from failing product build's Compile & Hygiene task): SDK
1.0.12-preview.0renamed the permission auto-approval API, breaking the agentHost typecheck (13 TS errors insrc/vs/platform/agentHost/). Intentional upstream contract change, so migrating VS Code product + test code is in scope.Migration applied:
setAllowAll()RPC →setMode()PermissionAllowAllMode→PermissionMode; mode valueson/auto/off→allow-all/assisted/manualPermissionAutoApproval→PermissionAssistedApproval;promptRequest.autoApproval→assistedApprovalextension-env-accesspermission kind toIAgentToolPendingConfirmationSignal.permissionKind(fixescopilotToolDisplay.tsTS2322)copilotAgentSession.test.ts+copilotAgent.test.tsfixtures/mocks accordinglyCorrelation: Sibling bump branch
-7(same SDK base) implemented the identical migration, confirming the mapping. This branch's CLI (1.0.81-10) is the exact pair being validated here.Local validation:
tsgo(@typescript/native) typecheck ofsrc/tsconfig.json→ 0 errors.State: Coherent fix pushed to the branch; product build re-dispatched on push. Awaiting result.> Generated by sdk-vscode-bump-fix · opus48 · 593.3 AIC · ⌖ 38.8 AIC · ⊞ 18K · ◷
🔧 sdk-vscode-bump-fix — cycle 2
Root cause (native payload / glibc): The bumped
@github/copilotnative payload (SDK1.0.12-preview.0, CLI1.0.81-10) no longer requireslibm.so.6(GLIBC_2.27)(64bit). The committed reference RPM dep lists inbuild/linux/rpm/dep-lists.tstherefore diverged from the freshly generated deps, sodependencies-generator.ts(FAIL_BUILD_FOR_NEW_DEPENDENCIES) failed Prepare rpm package on both Linux X64 and ARM64 (product build 467750). The exact generated diff was a single removal on each arch:- libm.so.6(GLIBC_2.27)(64bit).Change this cycle: Removed the now-stale
libm.so.6(GLIBC_2.27)(64bit)entry from both thex86_64andaarch64reference lists inbuild/linux/rpm/dep-lists.ts, matching the generated deps. No other files touched; deb lists don't carry this symbol. Verified locally withbuildnpm run typecheck(green).SDK+CLI correlation: This exact signed pair (SDK
1.0.12-preview.0/ CLI1.0.81-10) is confirmed directly from its own product-build failure — not adopted from a canary. The canary threads for the same1.0.12SDK base use different (canary) CLIs, so they're only supporting context; the fix is driven by the authoritative build 467750 diff for this pair.build/, which runs with production signing/publishing credentials. It is minimal and self-evidently scoped: it only deletes two stale dependency strings so the reference list matches what the RPM generator actually produces from the bumped payload — no new egress, no signing/publishing changes. Validation stops before queueing until a trusted collaborator authorizes this PR head.Product-build state: Was failing (Prepare rpm package, X64+ARM64). Fix pushed; product build re-dispatched. Awaiting result.
Remaining human task: Approve the SHA-bound build-run authorization so the product-build pipeline re-runs with this
build/change.> Generated by sdk-vscode-bump-fix · opus48 · 214.9 AIC · ⌖ 23.1 AIC · ⊞ 18K · ◷🔧 sdk-vscode-bump-fix — cycle 3
Root cause (test fixture / capi-replay projection): CLI
1.0.81-10's runtime now prepends a<tools_changed_notice>block to the user message whenever the exposed tool set changes between turns. In the Agent Host E2E test "planning-mode session-state writes are auto-approved in default mode",exit_plan_modeis removed after plan approval, so the live turn gains a<tools_changed_notice>\nTools no longer available: exit_plan_mode\n...preamble ahead of the question. The committed capture predates this behavior, so capi-replay's request #5 no longer matched ([capi-replay] model request #5 does not match the recorded request), failing the Agent Host E2E task on Linux(X64), macOS(ARM64), and Windows(X64). Codesign/SBoM cancellations were the downstream cascade.Change this cycle (test-harness only, no product/build code): The change-notice blocks (
<tools_changed_notice>,<mode_changed_notice>,<working_directory_changed>,<additional_directories_changed>) are composed by the@github/copilotruntime from session state, not host-authored prompt structure — the same category as the model id andtool_resultpayload the projection already elides. Added a symmetricelideChangeNoticesstep tomodelRequestProjection.ts, applied insideelideRuntimeIdsbefore path elision (so the intact</...>closing tag is matched instead of being rewritten into a${path}placeholder first). Both recorded and live requests collapse identically, so the host-authored question and surrounding history stay asserted while the runtime preamble no longer desyncs replay on a CLI bump.Fixtures untouched. The sibling capture that intentionally records a
<tools_changed_notice>model-switch block strips symmetrically on both sides and still matches — the elision does not weaken any host-authored assertion.SDK+CLI correlation: Driven directly from this exact signed pair's product-build failure (SDK
1.0.12-preview.0/ CLI1.0.81-10). The1.0.12SDK-base canary threads all failed on the same base but with divergent canary CLIs, so they are supporting context only; the concrete request-#5 mismatch is from the authoritative build for this pair.Local validation: Targeted projection unit test (
modelRequestProjection.test.js, incl. 2 new cases for the tool-removal notice and a negative "question still has to match" case) → 17 passing.transpile-clientclean. (Fulltypecheck-clientOOMs on this 8 GB runner — a resource limit, not a code issue; the change is astring → stringhelper plus a regex const in the test harness, and the mocha run requires successful compilation.)Product-build state: Was failing (Agent Host E2E, request #5 mismatch, all three platforms). Fix pushed to the branch; product build re-dispatched on push. Awaiting result.> Generated by sdk-vscode-bump-fix · opus48 · 530.6 AIC · ⌖ 24.8 AIC · ⊞ 18K · ◷
🔧 sdk-vscode-bump-fix — cycle 4
No integration changes needed this cycle — infrastructure (ESRP signing) failure, not a package-contract problem.
Root cause (signing service, not the bump): Product build 467805's only genuine failure is the ✍️ Notarize task on macOS CLI (X64): ESRP returned
OperationId ... failed. Status: FailDoNotRetry Error: {"code":"MacSignFailed","details":{"errorDetails":""},"innerError":null}while signingunsigned_vscode_cli_darwin_x64_cli.zip. The Scan sub-operation passed; only the MacAppNotarize sign step failed, with emptyerrorDetails— the ESRP signing service's own non-actionable transient/service error. All 10 other failing tasks (Build server, Compile, Install dependencies, the ARM64 Notarize, rpm prepare, artifact waits, alpine download) are downstreamcanceledsteps triggered by that one failure, not independent breakages.Why this is not the SDK/CLI bump: The signed artifact is the VS Code Rust tunnel CLI (
vscode_cli_darwin_x64), which is built from the VS Code repo's own Rust sources — it is not produced, bundled, or influenced by the@github/copilot/@github/copilot-sdknpm packages this PR bumps. The Compile task got well past agentHost typechecking (0 errors) before being canceled, and the earlier cycles' integration work (permission-API migration, rpm dep-list, capi-replay projection) all held. AMacSignFailedwith empty details andFailDoNotRetryon an unrelated Rust binary is a classic ESRP service-side flake, independent of the package contract.SDK+CLI correlation: This exact signed pair (SDK
1.0.12-preview.0/ CLI1.0.81-10) is confirmed from its own product build 467805. The1.0.12SDK-base canary threads use divergent canary CLIs and are supporting context only; none of them implicate signing. No canary or upstream evidence points at a native-payload/signing-input change for this pair — the darwin-x64 payload diff in this PR only removed the unusedclipboardmodule and addedcopilot-runtimeprebuilds, none of which feed the tunnel-CLI zip that failed to sign.Change this cycle: None. No VS Code file was edited and nothing was pushed — an integration commit would be incorrect for an ESRP service failure.
Remaining human task: Re-queue the product build for this PR head (
8b797c98) to retry the ESRP notarization. Signing-service re-runs cannot be safely automated from here, and no code change would affect the outcome. If theMacSignFailedrecurs on a clean re-run, it should be raised with the ESRP/signing infrastructure owners rather than treated as an integration defect.Product-build state: Failed at ESRP notarization (macOS CLI X64), everything else canceled downstream. No fix pushed (none applies), so no automatic re-dispatch — awaiting a manual build re-run.> Generated by sdk-vscode-bump-fix · opus48 · 164.1 AIC · ⌖ 18.1 AIC · ⊞ 18K · ◷