Skip to content

fix: update 20-keymap patch context for vscode 1.124.0#14

Closed
claude[bot] wants to merge 1 commit into
mainfrom
fix/issue-12-keymap-patch-1.124.0
Closed

fix: update 20-keymap patch context for vscode 1.124.0#14
claude[bot] wants to merge 1 commit into
mainfrom
fix/issue-12-keymap-patch-1.124.0

Conversation

@claude

@claude claude Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Root Cause

In vscode 1.124.0, two changes broke the 20-keymap-use-custom-lib.patch apply:

  1. playwright-core was bumped from 1.59.11.61.0-alpha-2026-06-04
  2. node-addon-api was added as a new top-level dependency

Together these shifted the native-keymap entry in both files:

  • package-lock.json: line 57 → 62
  • package.json: line 134 → 144

The patch context included the old playwright-core version as a trailing context line, so git apply could not find the hunk:

error: patch failed: package-lock.json:57
error: package-lock.json: patch does not apply
error: patch failed: package.json:134
error: package.json: patch does not apply

All other hunks in the patch (6 out of 8) applied cleanly with offset.

Fix

Regenerated 20-keymap-use-custom-lib.patch against upstream commit 1b50d58d73426c9171299ec4037d01365d995b78 (tag 1.124.0). The logical changes are identical — only the context line numbers and playwright-core version string in the context are updated.

Also bumps upstream/stable.json to pin 1.124.0 so this PR's CI build targets the same upstream.

Verified with:

cd vscode && git apply --ignore-whitespace --check patches/20-keymap-use-custom-lib.patch
# exits 0, no output

Refs #12

In vscode 1.124.0, playwright-core was bumped from 1.59.1 to
1.61.0-alpha-2026-06-04 and node-addon-api was added as a new
dependency, shifting line numbers in package-lock.json (57→62)
and package.json (134→144). The patch context referencing the old
playwright-core version no longer matched, causing:

  error: patch failed: package-lock.json:57
  error: patch failed: package.json:134

Regenerated the patch against upstream commit 1b50d58d73426c9171299ec4037d01365d995b78
(tag 1.124.0) so context lines match the current upstream.

Also updates upstream/stable.json to pin 1.124.0.
@sbs44 sbs44 closed this Jun 12, 2026
@sbs44 sbs44 deleted the fix/issue-12-keymap-patch-1.124.0 branch June 12, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant