Skip to content

Commit b1708ac

Browse files
authored
Merge pull request #1909 from lidge-jun/chore/ignore-tmp-files
chore: ignore leftover test temp files, not only directories
2 parents bb984ad + 06076d5 commit b1708ac

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.gitignore‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ devlog/**/security-advisory-draft*
5151
.worktrees/
5252

5353
# Test-generated artifacts
54-
tests/.tmp-*/
54+
# Trailing slash matched directories only, but the same tests also leave plain
55+
# files behind when a run dies mid-write -- and on Windows those can stay locked
56+
# by an exiting child, so they cannot simply be deleted. An unignorable leftover
57+
# blocks the release preflight's clean-tree check for work that has nothing to do
58+
# with it, so ignore both shapes.
59+
tests/.tmp-*
5560
.claude/
5661

5762
# Retired Go native-runtime experiment. `go/` is not part of the build, the

0 commit comments

Comments
 (0)