fix(patches): rebase patches 11 + 20 for VS Code 1.124.0#17
Conversation
VS Code 1.124.0 restructured doApplyUpdate in updateService.win32.ts:
moved the spawn() block inside an else { } branch guarded by a new
mutex-based isInstallerActive() check, adding one tab of indentation
and a blank line before const child = spawn().
Hunk #11 of the patch was searching for the old 2-tab-indented context
without the blank line — no longer present in 1.124.0 — causing a
patch rejection.
Fix: regenerate the win32.ts section of the patch from the 1.124.0
base so the spawn MSI/Setup conditional lands inside the existing
else { } block with correct 3-tab indentation and blank-line context.
Also bump upstream/stable.json to 1.124.0 so the PR build targets
the same upstream commit the patch is written against.
|
Claude finished @sbs44's task in 2m 19s —— View job Code Review — PR #17: rebase patches 11 + 20 for VS Code 1.124.0
SummaryThis is a clean, well-scoped patch rebase. Both target patches apply successfully against 1.124.0 — I confirmed this directly in the CI build log: patches ✅ What's correct
|
VS Code 1.124.0 restructured the agent host's Copilot integration, so
51-ext-copilot-remove-it no longer applied (build halted on it after the
11 + 20 rebases). Rebase it so it both applies AND leaves no dangling
references once @github/copilot* is removed (would otherwise fail
compile-src on the next attempt):
- package.json / package-lock.json: drop @github/copilot +
@github/copilot-sdk against the new 1.0.57 / 1.0.0 entries (versions
drifted from 1.0.55-3 / 1.0.0-beta.8); lock root deps stay in sync
with package.json for `npm ci`.
- agentHostServerMain.ts: drop the CopilotAgent import + registration
(surrounding context shifted in 1.124.0).
- Delete copilotSessionLauncher.ts — a new copilot-only file that
imports @github/copilot-sdk and is referenced only by the deleted
copilot agent/tests.
- common/otel/agentHostOTelService.ts: shim the SDK TelemetryConfig
import. 1.123.0 used a local IAgentHostSdkTelemetryConfig mirror;
1.124.0 switched it to `import type { TelemetryConfig } from
'@github/copilot-sdk'`, mirroring the existing node/otel shim.
Verified locally: every patch applies in CI order against pristine
1.124.0, and no @github/copilot* imports or references to deleted
copilot modules remain in compiled src.
Refs #12
|
Pushed Root cause: 1.124.0 didnt just drift context — it restructured the agent-host Copilot integration, adding new SDK couplings the old patch didnt cover. Beyond re-aligning the drifted hunks, this commit:
Both would pass patch-apply but break Verified locally: all patches apply in CI order against pristine 1.124.0; |
Combines closed PRs #13 (patch 11) and #14 (patch 20).
Refs #12