Tests unter git rebase --exec schreiben nicht ins Repo #51

Open
torben wants to merge 2 commits from 50-git-test-isolation into main
pull from: 50-git-test-isolation
2 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 115d3fb734 Run /build per-commit checks without inherited GIT_DIR
CI / checks (pull_request) Successful in 1m6s
git rebase --exec exports GIT_DIR, so tests calling git wrote into the
repo. Wrap the check command with env -u.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-05 07:15:13 +01:00
torbenandClaude Sonnet 5.5 4bcb1d6596 Isolate git environment for all tests
Move the _isolated_git fixture to tests/conftest.py so git rebase --exec
cannot leak GIT_DIR into any test; add a test outside tests/evals.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-05 07:15:13 +01:00