From 06076d5a16632ee3477c8c73e2cd2352a081445e Mon Sep 17 00:00:00 2001 From: lidge-jun <243035832+lidge-jun@users.noreply.github.com> Date: Mon, 17 Aug 2026 18:58:21 +0900 Subject: [PATCH] chore: ignore leftover test temp FILES, not only directories `tests/.tmp-*/` matched directories only, but the same tests leave plain files behind when a run dies mid-write. On Windows an exiting child can still hold one open, so it cannot be deleted either -- an unignorable leftover that blocks the release preflight's clean-tree check for work unrelated to it. Match both shapes. --- .gitignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9211b1ed107..19ab5348b85 100644 --- a/.gitignore +++ b/.gitignore @@ -51,7 +51,12 @@ devlog/**/security-advisory-draft* .worktrees/ # Test-generated artifacts -tests/.tmp-*/ +# Trailing slash matched directories only, but the same tests also leave plain +# files behind when a run dies mid-write -- and on Windows those can stay locked +# by an exiting child, so they cannot simply be deleted. An unignorable leftover +# blocks the release preflight's clean-tree check for work that has nothing to do +# with it, so ignore both shapes. +tests/.tmp-* .claude/ # Retired Go native-runtime experiment. `go/` is not part of the build, the