Skip to content

fix: install git extension fs-copyfile dependency#7815

Open
cyphercodes wants to merge 1 commit into
coder:mainfrom
cyphercodes:fix/git-fs-copyfile-dependency
Open

fix: install git extension fs-copyfile dependency#7815
cyphercodes wants to merge 1 commit into
coder:mainfrom
cyphercodes:fix/git-fs-copyfile-dependency

Conversation

@cyphercodes
Copy link
Copy Markdown

Fixes #7806

Summary

  • Hoist the VS Code git extension's @vscode/fs-copyfile runtime dependency into the shared lib/vscode/extensions install manifest used by code-server's npm postinstall.
  • Generate the extensions shrinkwrap from a temporary patched manifest so the released npm package installs @vscode/fs-copyfile deterministically without mutating the VS Code submodule package files.
  • Add script coverage for the dependency-hoisting helper.

Test plan

  • ./ci/dev/lint-scripts.sh
  • npm run test:scripts
  • Temporary install/resolve smoke test: generated the extensions package lock with @vscode/fs-copyfile, installed production dependencies, and verified require.resolve("@vscode/fs-copyfile", { paths: ["<tmp>/git/dist"] }) resolves from extensions/node_modules.
  • git diff --check HEAD~1..HEAD

@cyphercodes cyphercodes requested a review from a team as a code owner May 23, 2026 03:28
@cyphercodes cyphercodes force-pushed the fix/git-fs-copyfile-dependency branch from a8fc57c to d56e797 Compare May 23, 2026 03:29
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.

Source Control is stuck in 'scanning folder for git repository', fix found

1 participant