mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
912ed83465
* fix: mount warm-modules at /tmp/node_modules for pnpm TypeScript compat TypeScript resolves @types/* by walking up from realpath(). With pnpm's .pnpm virtual store symlinked to /tmp/warm-modules, the upward walk never finds a node_modules directory. Mounting at /tmp/node_modules instead means TypeScript's walk from /tmp/node_modules/.pnpm/... naturally finds /tmp/node_modules/@types/. Closes #176 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: preserve git-tracked symlinks in workspace snapshot copyWorkspace was using cp/fs.cpSync which dereference symlinks, causing git mode 120000 entries to be dropped from the workspace commit. Now we check lstat() before copying and recreate symlinks via symlinkSync. Closes #178 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: add pnpm symlink smoke test reproducing #176 and #178 Adds a committed fixture at .github/fixtures/pnpm-symlinks/ with a git-tracked symlink (mode 120000) and a TSX file that requires @types/react resolution through pnpm's .pnpm virtual store. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>