Skip to content

chore: ignore *.jsonc.new snapshot output - #868

Merged
wan9chi merged 2 commits into
voidzero-dev:mainfrom
tlq5l:chore/ignore-jsonc-new
Oct 23, 2026
Merged

wan9chi merged 2 commits into
voidzero-dev:mainfrom
tlq5l:chore/ignore-jsonc-new

Conversation

@tlq5l

@tlq5l tlq5l commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

When a plan snapshot test fails, vt_snapshot_test writes the new output next to the snapshot as <name>.jsonc.new. .gitignore already ignores *.snap.new and *.md.new but not this one, so a failed run can leave a file that gets committed by accident. This adds *.jsonc.new next to the other two patterns.

tlq5l and others added 2 commits October 20, 2026 08:42
Plan snapshot tests write failed output next to the snapshot as
`<name>.jsonc.new`, but `.gitignore` only listed `*.snap.new` and
`*.md.new`, so those files could be committed by accident.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@wan9chi
wan9chi merged commit 9b7dd80 into voidzero-dev:main Oct 23, 2026
20 checks passed
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.

2 participants