Skip to content

fix: strip leaked e2e/node_modules symlink - #46

Merged
omar-nahhas merged 1 commit into
mainfrom
fix/strip-node-modules-symlink
Aug 3, 2026
Merged

omar-nahhas merged 1 commit into
mainfrom
fix/strip-node-modules-symlink

Conversation

@omar-nahhas

Copy link
Copy Markdown
Contributor

PR #45 accidentally committed e2e/node_modules as a mode-120000 symlink to /a0/usr/workdir/.bdd-deps/node_modules — a machine-local path. Every clone gets a dangling symlink.

.gitignore had node_modules/, but the trailing slash matches only real directories, so a symlink of the same name slipped past. Added a bare node_modules pattern.

  • git rm --cached e2e/node_modules
  • .gitignore hardened

PR #45 accidentally committed e2e/node_modules as a mode-120000 symlink
pointing at /a0/usr/workdir/.bdd-deps/node_modules -- a machine-local dep
cache path that exists on exactly one machine. Every clone would carry a
dangling symlink.

.gitignore already had 'node_modules/', but the trailing slash matches only
real DIRECTORIES, so a symlink of the same name slips past. Added a bare
'node_modules' pattern alongside it so this cannot recur.
@omar-nahhas
omar-nahhas merged commit 80c9e5a into main Aug 3, 2026
@omar-nahhas
omar-nahhas deleted the fix/strip-node-modules-symlink branch August 3, 2026 01:16
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