This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/main by this push:
new 0e549fa4e5 chore(frontend): ignore generated Vitest JUnit reports
(#8491)
0e549fa4e5 is described below
commit 0e549fa4e5cc611cf532d9aa8b81de08a3c5fce5
Author: sshiv012 <[email protected]>
AuthorDate: Fri Sep 11 00:28:52 2026 +0000
chore(frontend): ignore generated Vitest JUnit reports (#8491)
### What changes were proposed in this PR?
`vitest.config.ts` and `vitest.browser.config.ts` both configure a junit
reporter, so every test run writes `frontend/junit.xml` (and
`frontend/junit-browser.xml` in browser mode). Neither is in
`frontend/.gitignore`, so both are left untracked and can be committed
by accident.
Ignores both next to the existing `/coverage` entry. Paths are anchored,
so a `junit.xml` committed elsewhere under `frontend/` is unaffected. No
behaviour change.
### Any related issues, documentation, discussions?
Closes #8490
### How was this PR tested?
No tests — git configuration only, no code path affected. Verified on
this branch:
```
$ cd frontend && touch junit.xml junit-browser.xml
$ git check-ignore -v junit.xml junit-browser.xml
frontend/.gitignore:14:/junit.xml junit.xml
frontend/.gitignore:15:/junit-browser.xml junit-browser.xml
```
A nested `src/tmpcheck/junit.xml` is correctly *not* ignored, confirming
the anchoring.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EJ1aK5jSwAKqfxkFX4gBD3
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
---
frontend/.gitignore | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/frontend/.gitignore b/frontend/.gitignore
index c3db340e81..038f81fd48 100644
--- a/frontend/.gitignore
+++ b/frontend/.gitignore
@@ -11,6 +11,10 @@
# test coverage
/coverage
+# generated Vitest JUnit reports
+/junit.xml
+/junit-browser.xml
+
# vitest browser-mode snapshot baselines
**/__screenshots__/