agents: bump @github/copilot to 1.0.38#313073
Merged
roblourens merged 3 commits intoApr 28, 2026
Merged
Conversation
Tracks the version pinned in extensions/copilot/package.json. Updates both root and remote/ package.json + lockfiles. Verified by re-running the real-SDK 'listModels returns well-shaped model entries' integration test (AGENT_HOST_REAL_SDK=1). (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aligns the agent host’s @github/copilot dependency with the version already pinned by the bundled Copilot extension by bumping it from ^1.0.34 to ^1.0.38 in both the root and remote/ package manifests, with corresponding lockfile regeneration.
Changes:
- Bump
@github/copilotto^1.0.38inpackage.jsonandremote/package.json. - Regenerate
package-lock.jsonandremote/package-lock.jsonto reflect@github/copilot@1.0.38and its optional platform packages.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates root dependency on @github/copilot to ^1.0.38. |
| package-lock.json | Updates resolved @github/copilot tarball/version and optional platform package versions to 1.0.38. |
| remote/package.json | Updates remote dependency on @github/copilot to ^1.0.38. |
| remote/package-lock.json | Updates resolved @github/copilot tarball/version and optional platform package versions to 1.0.38. |
Copilot's findings
Files not reviewed (1)
- remote/package-lock.json: Language not supported
- Files reviewed: 2/4 changed files
- Comments generated: 0
The macOS/Electron CI job was failing because `electron.ts` unconditionally deletes `.build/electron` and re-downloads Electron on every invocation. When integration tests run CSS/HTML tests via `node-electron.sh`, they call `npm run electron` which triggers this re-download. This can fail due to transient network errors (e.g. 502 Bad Gateway from GitHub), causing the integration test step to fail even though Electron was already downloaded successfully in the dedicated "Download Electron and Playwright" CI step. Fix: add a `.version` marker file inside `.build/electron` that records the Electron version, MS build ID, and architecture. On the next invocation, `main()` reads this marker and returns early if it matches the expected version, skipping the unnecessary delete-and-re-download cycle. Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/8d0b4207-2616-497e-9a4f-bf8a39671934 Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
dmitrivMS
previously approved these changes
Apr 28, 2026
…resent" This reverts commit e1811ec. That commit was pushed to this PR by another agent and is unrelated to the @github/copilot bump that this PR is for. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dmitrivMS
approved these changes
Apr 28, 2026
dpearson2699
pushed a commit
to dpearson2699/vscode
that referenced
this pull request
Apr 29, 2026
* agents: bump @github/copilot to 1.0.38 Tracks the version pinned in extensions/copilot/package.json. Updates both root and remote/ package.json + lockfiles. Verified by re-running the real-SDK 'listModels returns well-shaped model entries' integration test (AGENT_HOST_REAL_SDK=1). (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: skip electron re-download when correct version already present The macOS/Electron CI job was failing because `electron.ts` unconditionally deletes `.build/electron` and re-downloads Electron on every invocation. When integration tests run CSS/HTML tests via `node-electron.sh`, they call `npm run electron` which triggers this re-download. This can fail due to transient network errors (e.g. 502 Bad Gateway from GitHub), causing the integration test step to fail even though Electron was already downloaded successfully in the dedicated "Download Electron and Playwright" CI step. Fix: add a `.version` marker file inside `.build/electron` that records the Electron version, MS build ID, and architecture. On the next invocation, `main()` reads this marker and returns early if it matches the expected version, skipping the unnecessary delete-and-re-download cycle. Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/8d0b4207-2616-497e-9a4f-bf8a39671934 Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com> * Revert "fix: skip electron re-download when correct version already present" This reverts commit e1811ec. That commit was pushed to this PR by another agent and is unrelated to the @github/copilot bump that this PR is for. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
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.
Bumps
@github/copilotfrom^1.0.34to^1.0.38in both the root andremote/package.json(and regenerates the corresponding lockfiles). This tracks the version already pinned inextensions/copilot/package.json, per the standing rule that the agent host's copy of@github/copilotshould follow the bundled Copilot extension's pin.@github/copilot-sdkis unchanged (^0.2.2); the SDK'speerDependency-style"@github/copilot": "^1.0.21"is satisfied by 1.0.38.Verification
npm run compile-check-ts-nativeclean.npm run compileclean.autorouter model still surfaces correctly through theICopilotModelInfowrapper added in the previous bump.No source changes required — the only
@github/copilotreference insrc/is the runtime CLI entry-point path incopilotAgent.ts, which is version-agnostic. All TS imports come from@github/copilot-sdk.(Written by Copilot)