From 502939e19e3802ebd25cfbe390f2c825f10c0b14 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Tue, 21 Jul 2026 19:27:35 -0500 Subject: [PATCH] chore: gitignore node_modules symlinks, not just directories Worktrees symlink node_modules to the main checkout; the dir-only node_modules/ pattern doesn't match symlinks, so one slipped into a commit and broke npm ci on CI (ENOTDIR). Dropping the trailing slash matches both. --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d440702c28..b5d594e194 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,10 @@ run_datagen_sonnet.sh source-data/* run_datagen_megascience_glm4-6.sh data/* -node_modules/ +# No trailing slash: also matches node_modules SYMLINKS (worktrees often +# symlink node_modules to the main checkout; the dir-only pattern let one +# slip into a commit and break `npm ci` on CI with ENOTDIR). +node_modules browser-use/ agent-browser/ # Private keys