From db972a6363d56d9f2c42dfe49920d78a09c837f1 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 27 Aug 2026 02:01:37 +0000 Subject: [PATCH] chore(gitignore): keep the cli serve NODE_ENV fixture leftover out of git `packages/cli/test/serve-node-env-production-default.e2e.test.ts` roots its fixture inside the tracked test tree on purpose: the generated config does a static `import { AuthPlugin } from '@objectstack/plugin-auth'`, which resolves only because `packages/cli/node_modules` is reachable by Node's upward walk. A fixture in `os.tmpdir()` has no such ancestor. The root is correct; its visibility to git was not. A run killed after the directory is created skips the `afterAll` removal, and the leftover was matched by no ignore rule -- `*.tmp` and `tmp/` do not cover `tmp-node-env-default-*`, so the next `git add -A` swept it into a PR. Three sibling fixtures under `packages/cli/` already root at `packages/cli/tmp/` and are covered by the existing `tmp/` rule; this file is the only in-tree producer left uncovered, so this is one anchored, directory-only entry rather than a widened pattern. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01UjujZN219uFzBhSYfMykCd --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index c2b172434f..e97fcdbf06 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,8 @@ coverage/ # Temporary files tmp/ temp/ +# Killed-run fixture leftover; its in-tree root is deliberate (objectstack#12583) +packages/cli/test/tmp-node-env-default-*/ # Package builds packages/*/dist/