Skip to content

fix(release): pin node-pty to its patched version - #7

Merged
wianvdm merged 1 commit into
mainfrom
fix/fork-release-pnpm
Oct 27, 2026
Merged

wianvdm merged 1 commit into
mainfrom
fix/fork-release-pnpm

Conversation

@wianvdm

@wianvdm wianvdm commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Problem

The desktop app installs its packaged dependencies without a lockfile (node-pty is specified as ^1.2.0-beta.15). That lockfile-free staged install resolved the newer 1.2.0-beta.18 release, which left our patch for 1.2.0-beta.15 unused — and pnpm fails on a patch that doesn't apply to the resolved version.

Fix

  • Add a node-pty: 1.2.0-beta.15 override in pnpm-workspace.yaml (with a comment to keep it in sync with patches/node-pty@*.patch).
  • Update pnpm-lock.yaml accordingly: the importer specifier changes from ^1.2.0-beta.15 to 1.2.0-beta.15, pinned with its patch hash.

Proof

Verified with the staged-install flow used when packaging the desktop app: node-pty now resolves to 1.2.0-beta.15 with the expected patch applied (patch_hash=f1e680afec85f650699ea756f91f469844ec4c976f4f168492a45c6b3f67d651), and the patch content matches the vendored patch file.

Work performed by Kimi K3.1 Pro and Kimi K3-256K via T3 Code/pi.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Oct 27, 2026
@wianvdm
wianvdm merged commit 82a242e into main Oct 27, 2026
6 of 17 checks passed
@wianvdm
wianvdm deleted the fix/fork-release-pnpm branch November 14, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant